Skip to content

Commit

Permalink
fix: add missing types - ShippingMethod (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanilowicz authored May 15, 2023
1 parent e9b3ed1 commit a367dba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-feet-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/types": patch
---

Add missing types for ShippingMethod type
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ export type ShippingMethod = {
id: string;
name: string | null;
active: boolean;
description: string | null;
position?: number;
customFields?: CustomFields;
mediaId: string | null;
deliveryTimeId: string;
taxType: string;
description: string | null;
trackingUrl: string | null;
createdAt: Date;
updatedAt: Date;
translated: ShippingMethodTranslation | null;
deliveryTime: DeliveryTime | null;
availabilityRule: Rule | null;
prices: ShippingMethodPrice[];
media: Media | null;
tags: Tag[] | null;
translations: ShippingMethodTranslation[] | null;
translated: ShippingMethodTranslation | null;
orderDeliveries: OrderDelivery[] | null;
salesChannelDefaultAssignments: SalesChannel[] | null;
salesChannels: SalesChannel[] | null;
customFields: CustomFields;
availabilityRule: Rule | null;
availabilityRuleId: string;
prices: ShippingMethodPrice[];
mediaId: string | null;
media: Media | null;
tags: Tag[] | null;
};

2 comments on commit a367dba

@vercel
Copy link

@vercel vercel bot commented on a367dba May 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

frontends-demo – ./templates/vue-demo-store

frontends-demo-shopware-frontends.vercel.app
frontends-demo-git-main-shopware-frontends.vercel.app
frontends-demo.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a367dba May 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.