diff options
Diffstat (limited to 'lib/docuSign/types.ts')
| -rw-r--r-- | lib/docuSign/types.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/docuSign/types.ts b/lib/docuSign/types.ts new file mode 100644 index 00000000..450199ce --- /dev/null +++ b/lib/docuSign/types.ts @@ -0,0 +1,37 @@ +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<T extends string> = { + [K in T]: { + tabLabel: K; + value: string; + }; +}; + +export type POContent = ContentMap<poTabLabes>[poTabLabes][]; |
