StoreSchemaOptions
Table of contents
Public interface
Signature
interface StoreSchemaOptions<R extends UnknownRecord, P> {}
References
Source
packages/store/src/lib/StoreSchema.ts
Properties
migrations
Public propertysignature
Signature
migrations?: MigrationSequence[]
References
onValidationFailure
Public propertysignature
Signature
onValidationFailure?: (data: {
error: unknown
phase: 'createRecord' | 'initialize' | 'tests' | 'updateRecord'
record: R
recordBefore: null | R
store: Store<R>
}) => R
References