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