UNPKG

@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.

35 lines 1.29 kB
import { I_Order } from 'src/modules/order/backend/responses/schemas'; import { RouteComponentProps } from 'react-router-dom'; import { T_FalsyValue } from 'src/common/client/types'; import { DetailedHTMLProps, HTMLAttributes } from 'react'; import { E_InvoiceTemplate, E_OldInvoiceTemplate } from 'src/modules/adminPanel/client'; export interface I_ThermalInvoiceProps { orderData: I_Order; callCenter?: boolean; isViewInvoiceOnly?: boolean; } export interface I_PrintOrderWrapperProps { invoiceTemplate?: E_InvoiceTemplate | E_OldInvoiceTemplate; orderID: string; isPrintOrderIcon?: boolean; isPrintOrderActionItemNotJustIcon?: boolean; isPrintOrderFromAcknowledgmentScreen?: boolean; orderData: I_Order; } export interface I_PrintsWrapperProps { orderId: string; } export interface I_RouteParams { id: string; } export type T_PrintsProps = RouteComponentProps<I_RouteParams>; export interface I_SharedLabelsProps { items: T_FalsyValue<{ label?: string; value: string | number; }[]>; containerProps?: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>; titleProps?: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>; titlePrefix?: string; } //# sourceMappingURL=index.d.ts.map