update order

This commit is contained in:
2026-01-26 15:37:11 +03:30
parent bae7f470cc
commit d53bb75fae
9 changed files with 200 additions and 232 deletions
@@ -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 }