createTLSchema
Create a TLSchema with custom shapes. Custom shapes cannot override default shapes.
function createTLSchema({
shapes,
bindings,
migrations,
}?: {
bindings?: Record<string, SchemaPropsInfo>
migrations?: readonly MigrationSequence[]
shapes?: Record<string, SchemaPropsInfo>
}): TLSchema
Parameters
Name | Description |
---|---|
|
|
Returns
TLSchema