type StoreBeforeChangeHandler<R extends UnknownRecord> = (
  prev: R,
  next: R,
  source: 'remote' | 'user'
) => R
StoreAfterDeleteHandlerStoreBeforeCreateHandler