Unify order items layout across cart and orders
This commit is contained in:
@@ -965,7 +965,7 @@ export type OrderDetailQueryVariables = Exact<{
|
||||
}>;
|
||||
|
||||
|
||||
export type OrderDetailQuery = { __typename?: 'Query', order?: { __typename?: 'Order', id: string, code: string, kind: OrderKind, status: OrderStatus, customerId: string, deliveryAddress?: string | null, deliveryTerms?: string | null, deliveryFee?: number | null, totalPrice?: number | null, createdAt: any, items: Array<{ __typename?: 'OrderItem', id: string, productName: string, quantity: number, unitPrice?: number | null, lineTotal?: number | null }> } | null };
|
||||
export type OrderDetailQuery = { __typename?: 'Query', order?: { __typename?: 'Order', id: string, code: string, kind: OrderKind, status: OrderStatus, customerId: string, deliveryAddress?: string | null, deliveryTerms?: string | null, deliveryFee?: number | null, totalPrice?: number | null, calculationPayload?: any | null, createdAt: any, items: Array<{ __typename?: 'OrderItem', id: string, productName: string, quantity: number, unitPrice?: number | null, lineTotal?: number | null }> } | null };
|
||||
|
||||
export type SubmitCalculationOrderMutationVariables = Exact<{
|
||||
input: SubmitCalculationOrderInput;
|
||||
@@ -2326,6 +2326,7 @@ export const OrderDetailDocument = gql`
|
||||
deliveryTerms
|
||||
deliveryFee
|
||||
totalPrice
|
||||
calculationPayload
|
||||
createdAt
|
||||
items {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user