mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
24 lines
457 B
TypeScript
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";
|