openpanel/packages/antd/src/interfaces/index.ts
Stefan Pejcic 8595a9f4e5 back
2024-05-08 19:58:53 +02:00

24 lines
457 B
TypeScript

import { IResourceItem } from "@refinedev/core";
export type BaseRecord = {
id?: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any;
};
export interface Option {
label: string;
value: string;
}
export type ITreeMenu = IMenuItem & {
children: ITreeMenu[];
};
export type IMenuItem = IResourceItem & {
key: string;
route: string;
};
export * from "./field";
export * from "./upload";