feat: implement user profile, order history, and address book with checkout integration
This commit is contained in:
1 parent
bae945b9d4
commit
0c3c450e1f
9 files changed
+1109
-32
No files matched your search
@@ -132,6 +132,7 @@ export interface Order {
|
||||
shippingFee: number
|
||||
status: string
|
||||
paymentSlipUrl?: string | null
|
||||
trackingNo?: string | null
|
||||
customerId?: number | null
|
||||
customer?: any | null
|
||||
items: OrderItem[]
|
||||
@@ -261,3 +262,19 @@ export interface EditorialCarouselSectionPayload {
|
||||
}[]
|
||||
}
|
||||
|
||||
export interface CustomerAddress {
|
||||
id: number
|
||||
customerId: number
|
||||
recipientName: string
|
||||
phone: string
|
||||
addressLine: string
|
||||
subdistrict: string
|
||||
district: string
|
||||
province: string
|
||||
zipcode: string
|
||||
isDefault: boolean
|
||||
createdAt?: string
|
||||
updatedAt?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user