createTLSchemaFromUtils

See source code

A helper for creating a TLStore schema from either an object with shapeUtils, bindingUtils, and migrations, or a schema.

function createTLSchemaFromUtils(
  opts: TLStoreSchemaOptions
): StoreSchema<TLRecord, TLStoreProps>

Parameters

NameDescription

opts

Options for creating the schema.

Returns

Prev
createSessionStateSnapshotSignal
Next
createTLStore