export interface ContractInfo { tabLabel: string; value: string; } export interface ContractorInfo { email: string; name: string; roleName: string; } export type poTabLabes = | "po_no" | "vendor_name" | "po_date" | "project_name" | "vendor_location" | "shi_email" | "vendor_email" | "po_desc" | "qty" | "unit_price" | "total" | "grand_total_amount" | "tax_rate" | "tax_total" | "payment_amount" | "remark"; type ContentMap = { [K in T]: { tabLabel: K; value: string; }; }; export type POContent = ContentMap[poTabLabes][];