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