TLStoreOptions
Public typealias
Signature
type TLStoreOptions = {
defaultName?: string
id?: string
initialData?: SerializedStore<TLRecord>
} & (
| {
migrations?: readonly MigrationSequence[]
shapeUtils?: readonly TLAnyShapeUtilConstructor[]
}
| {
schema?: StoreSchema<TLRecord, TLStoreProps>
}
)
References
SerializedStore, TLRecord, MigrationSequence, TLAnyShapeUtilConstructor, StoreSchema, TLStoreProps
Source