TLStoreSchema
The complete schema type for a tldraw store, defining the structure and validation rules for all tldraw records and store properties.
type TLStoreSchema = StoreSchema<TLRecord, TLStoreProps>;Example
import { createTLSchema } from "@tldraw/tlschema";
const schema = createTLSchema();
const storeSchema: TLStoreSchema = schema;Prev
TLStoreNext
TLStoreSnapshot