fork refine

This commit is contained in:
Stefan Pejcic
2024-02-05 10:23:04 +01:00
parent 3fffde9a8f
commit 8496a83edb
3634 changed files with 715528 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
export type FieldProps<T> = {
value: T;
};

View File

@@ -0,0 +1,23 @@
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";

View File

@@ -0,0 +1,9 @@
export interface UploadedFile {
uid: string;
name: string;
url: string;
type: string;
size: number;
percent: number;
status: "error" | "success" | "done" | "uploading" | "removed";
}