@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
24 lines • 701 B
TypeScript
import { I_APIKey } from 'src/modules/adminPanel/client';
import { I_Brand } from 'src/modules/brand/backend/responses/schemas';
export interface I_MenuFormProps {
form: I_MenuForm;
setFormValue: any;
size: 'sm' | 'lg';
isAdminPanelSelection: boolean | undefined;
disabled: boolean;
api: I_APIKey;
isBrandsListHidden: boolean;
}
export interface I_MenuForm {
name: string;
internalName: string;
brand: I_Brand;
pdfURL?: string;
reference?: string;
type?: 'pickup' | 'delivery' | 'eatIn' | 'pickupAndDelivery';
description?: string;
branches: [string];
company: string;
availabilities?: [string];
}
//# sourceMappingURL=index.d.ts.map