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
UnknownRecord, Migrations, StoreValidator, Scope, RecordType, Omit