feat: working PoC for reusing relationship filters in validate
This commit is contained in:
@@ -218,6 +218,16 @@ export type RelationshipField = FieldBase & {
|
||||
filterOptions?: Where | ((options: filterOptionsProps) => Where);
|
||||
}
|
||||
|
||||
export type ValueWithRelation = {
|
||||
relationTo: string
|
||||
value: string | number
|
||||
}
|
||||
|
||||
export type RelationshipValue = (string | number)
|
||||
| (string | number)[]
|
||||
| ValueWithRelation
|
||||
| ValueWithRelation[]
|
||||
|
||||
type RichTextPlugin = (editor: Editor) => Editor;
|
||||
|
||||
export type RichTextCustomElement = {
|
||||
|
||||
Reference in New Issue
Block a user