StoreSchemaOptions

See source code
Table of contents
interface StoreSchemaOptions<R extends UnknownRecord, P> {}

Properties

migrations

optional
migrations?: MigrationSequence[]

Methods

onValidationFailure

optional

Parameters

NameDescription

data

{
  error: unknown
  phase:
    | 'createRecord'
    | 'initialize'
    | 'tests'
    | 'updateRecord'
  record: R
  recordBefore: null | R
  store: Store<R>
}

Returns

R

Prev
StoreListenerFilters
Next
StoreSnapshot