createRecordType
Public Function
Create a record type.
Example
const Book = createRecordType<Book>('book')
Parameters
Name | Description |
---|---|
|
The name of the type to create. |
|
|
Returns
RecordType<R, keyof Omit<R, 'id' | 'typeName'>>
References
BaseRecord, Migrations, StoreValidator, Scope, RecordType, Omit