TLStoreBaseOptions
Table of contents
interface TLStoreBaseOptions {}
Properties
How should this store upload & resolve assets?
assets?: TLAssetStore
The default name for the store.
defaultName?: string
The initial data for the store.
initialData?: SerializedStore<TLRecord>
A snapshot of initial data to migrate and load into the store.
snapshot?: Partial<TLEditorSnapshot> | TLStoreSnapshot
Methods
Called when the store is connected to an Editor.
Parameters
Name | Description |
---|---|
|
|
Returns
(() => void) | void