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.

31 lines 1.89 kB
import { Dispatch, SetStateAction } from 'react'; import { I_DeliveryOrderInfo, I_DistributionCenter, T_FilteredSelectedShipments, I_Shipment } from '../../backend/responses/schemas'; import { E_ShipmentModuleMode } from '../../backend/enums'; import { I_Brand } from 'src/modules/brand/backend/responses/schemas'; import { I_TempCustomer } from 'src/modules/customer/backend/responses/schemas'; import { T_GetShipmentsQueryParams } from '../../backend/parameters'; export type T_ThirdPartyLogisticsShipmentContextType = { rowToEdit: I_Shipment | null; setRowToEdit: Dispatch<SetStateAction<I_Shipment | null>>; mode: E_ShipmentModuleMode | null; setMode: Dispatch<SetStateAction<E_ShipmentModuleMode | null>>; selectedBrand: I_Brand | undefined; setSelectedBrand: Dispatch<SetStateAction<I_Brand | undefined>>; firstSelectedShipment: I_Shipment | null; setFirstSelectedShipment: Dispatch<SetStateAction<I_Shipment | null>>; customer: I_TempCustomer | null; setCustomer: Dispatch<SetStateAction<I_TempCustomer | null>>; countryCode: string | null; setCountryCode: Dispatch<SetStateAction<string | null>>; distributionCenter: I_DistributionCenter | null; setDistributionCenter: Dispatch<SetStateAction<I_DistributionCenter | null>>; selectedShipmentsData: T_FilteredSelectedShipments; setSelectedShipmentsData: Dispatch<SetStateAction<T_FilteredSelectedShipments>>; isSalesOrderIdMatchingForAllShipments: boolean; setIsSalesOrderIdMatchingForAllShipments: Dispatch<SetStateAction<boolean>>; deliveryOrderInfo?: I_DeliveryOrderInfo; setDeliveryOrderInfo: Dispatch<SetStateAction<I_DeliveryOrderInfo | undefined>>; shipmentsQueryParameters?: T_GetShipmentsQueryParams; setShipmentsQueryParameters: Dispatch<SetStateAction<T_GetShipmentsQueryParams | undefined>>; }; //# sourceMappingURL=index.d.ts.map