Table of contents

Public interface

Signature
interface StoreSchemaOptions<R extends UnknownRecord, P> {}
References

UnknownRecord

Source

packages/store/src/lib/StoreSchema.ts


Properties

migrations

Public propertysignature

Signature
migrations?: MigrationSequence[]
References

MigrationSequence


onValidationFailure

Public propertysignature

Signature
onValidationFailure?: (data: {
  error: unknown
  phase: 'createRecord' | 'initialize' | 'tests' | 'updateRecord'
  record: R
  recordBefore: null | R
  store: Store<R>
}) => R
References

Store


StoreSchemaStoreSideEffects