mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
resolve type errors
This commit is contained in:
@@ -136,13 +136,13 @@ export type Order = {
|
||||
fulfillments: Fulfillment[];
|
||||
transactions: Transaction[];
|
||||
lineItems: LineItem[];
|
||||
shippingAddress: Address;
|
||||
billingAddress: Address;
|
||||
shippingAddress?: Address;
|
||||
billingAddress?: Address;
|
||||
/** the price of all line items, excluding taxes and surcharges */
|
||||
subtotal: Money;
|
||||
totalShipping: Money;
|
||||
totalTax: Money;
|
||||
totalPrice: Money;
|
||||
subtotal?: Money;
|
||||
totalShipping?: Money;
|
||||
totalTax?: Money;
|
||||
totalPrice?: Money;
|
||||
shippingMethod?: {
|
||||
name: string;
|
||||
price: Money;
|
||||
@@ -283,14 +283,6 @@ type ShopifyImage = {
|
||||
width: number;
|
||||
};
|
||||
|
||||
type ShopifyFulfillmentEventConnection = {
|
||||
edges: ShopifyFulfillmentEventEdge[];
|
||||
};
|
||||
|
||||
type ShopifyFulfillmentEventEdge = {
|
||||
node: ShopifyFulfillmentEvent;
|
||||
};
|
||||
|
||||
type ShopifyFulfillmentEvent = {
|
||||
status: string;
|
||||
happenedAt: string;
|
||||
|
Reference in New Issue
Block a user