Interface: ResourcefulModelRelationshipMetaSchema<Model>
Type Parameters
| Type Parameter | Default type |
|---|---|
Model extends LucidModel | LucidModel |
Properties
| Property | Type | Description |
|---|---|---|
canRead | boolean | - |
canWrite | boolean | - |
definition | ResourcefulRelationshipDefinition | - |
filterable | { [key: string]: any; } | Array of field names from the related model that can be used in filter operations |
kind | "relationship" | - |
lucidDefinitions | RelationshipsContract | - |
propertyKey | string | - |
relatedModel | () => Model | - |
validator | AnySchema | - |