Exporting foreign key json type
This commit is contained in:
@@ -8,14 +8,14 @@ import { useList, useOne } from "@refinedev/core";
|
||||
import { ResourceContext } from "../../contexts/ResourceContext";
|
||||
import { CrudForm } from "../crud-form";
|
||||
|
||||
type ForeignKeyReference = {
|
||||
export type ForeignKeyReference = {
|
||||
resource: string,
|
||||
label: string,
|
||||
displayedFields: [string],
|
||||
label?: string,
|
||||
displayedFields?: [string],
|
||||
schema: string
|
||||
}
|
||||
|
||||
type ForeignKeySchema = RJSFSchema & {
|
||||
export type ForeignKeySchema = RJSFSchema & {
|
||||
foreignKey?: {
|
||||
reference: ForeignKeyReference
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user