Skip to content

Commit

Permalink
refactor: mark fields removed from 6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick committed Feb 3, 2023
1 parent 491ce4a commit 2f64a71
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/real-lemons-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/types": minor
---

Marked deprecated fields, which will be removed from Shopware API 6.5
2 changes: 1 addition & 1 deletion examples/express-checkout/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const productName = computed(() =>
const paypalMethod = computed(() => {
return paymentMethods.value?.find(
(method) => (method as any).shortName === "pay_pal_payment_handler"
(method) => method.shortName === "pay_pal_payment_handler"
);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export type Media = {
fileExtension: string | null;
fileSize: number | null;
title: string | null;
/**
* @deprecated removed from 6.5.0
*/
metaDataRaw: string | null;
metaData: [] | null;
mediaType: MediaType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ export type SeoUrl = {
isCanonical: boolean;
isModified: boolean;
isDeleted: boolean;
/**
* @deprecated removed from 6.5.0
*/
isValid: null | boolean;
language: null | boolean;
url: null | string;
customFields: null | any;
/**
* @deprecated removed from 6.5.0
*/
error: null | any;
_uniqueIdentifier: string;
versionId: null | string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export type Currency = {
salesChannelDefaultAssignments: SalesChannel[] | null;
salesChannelDomains: SalesChannelDomain[] | null;
customFields: CustomField[];
/**
* @deprecated removed from 6.5.0
*/
shippingMethodPrices: ShippingMethodPrice[] | null;
promotionDiscountPrices: PromotionDiscountPrice[];
isSystemDefault: boolean | null;
Expand Down

0 comments on commit 2f64a71

Please sign in to comment.