update order
This commit is contained in:
@@ -29,7 +29,7 @@ export enum OrderStatusEnum {
|
||||
export interface IAddOrderItem {
|
||||
productId: bigint;
|
||||
quantity: number
|
||||
attributesValues: string[]
|
||||
attributes: IAttribute[]
|
||||
description: string
|
||||
attachments: { url: string, type: string }[]
|
||||
unitPrice?: number
|
||||
@@ -49,4 +49,8 @@ export interface ICreateOrder {
|
||||
adminId?: string
|
||||
estimatedDays?: number
|
||||
designerId?: string
|
||||
}
|
||||
}
|
||||
|
||||
export type IUpdateOrder = Partial<Omit<ICreateOrder, 'items'>>
|
||||
|
||||
export interface IAttribute { attributeId: number, value: string | number | boolean }
|
||||
Reference in New Issue
Block a user