aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 16:11:08 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-08 16:11:08 +0530
commit8c906c98b2a2994286731357831ca8005ef0d73f (patch)
treefd4f7a283e230d149099fe285ae7a56cda237e64 /src/interfaces.ts
parent0f0e5f7408969fcc4473746919bb0e8aaa89947c (diff)
Added better support for saving client data
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index 3500c2b..b2f354c 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -34,12 +34,22 @@ export interface NewItem {
// category and brand
}
+export interface Address {
+ AddressLine: string
+ City: string
+ State: string
+ PINCode: string
+ Country: string
+}
+
export interface Person {
ID?: number
Name: string
- Address: string
Phone?: string
Email?: string
+ BillAddress: Address
+ ShipAddress?: Address
+ Address?: string // to be removed
}
export interface Invoice {