AbdulElahGwaith's picture
Upload folder using huggingface_hub
c9d0005 verified
Raw
History Blame Contribute Delete
637 Bytes
interface TProperties {
[key: string]: any;
}
interface TLogo {
title?: string;
image?: string;
href?: string;
}
interface TSchema {
"type": "object",
"properties": TProperties
}
interface TToolBtn {
text: string;
order: number;
onClick: (schema: TSchema) => void;
}
export interface TSchemaBuilder {
logo?: TLogo;
importBtn?: boolean;
exportBtn?: boolean;
clearBtn?: boolean | TToolBtn;
saveBtn?: boolean | TToolBtn;
pubBtn?: boolean | TToolBtn;
extraBtns?: TToolBtn[];
defaultValue?: TSchema;
widgets?: any;
settings?: any;
editorWidgets?: any;
onMount?: () => void;
[key: string]: any
}