-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Product and ProductManufacturer types (#208)
- Loading branch information
1 parent
81f4533
commit 53f81c3
Showing
3 changed files
with
136 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@shopware-pwa/types": patch | ||
--- | ||
|
||
Fix Product and ProductManufacturer types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
packages/types/shopware-6-client/models/content/product/ProductManufacturer.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
import { Product } from "./Product"; | ||
import { ProductManufacturerTranslation } from "./ProductManufacturerTranslation"; | ||
import { CustomFields } from "../../common/CustomField"; | ||
|
||
import { Media } from "../../content/media/Media"; | ||
/** | ||
* @public | ||
*/ | ||
export type ProductManufacturer = { | ||
createdAt: Date; | ||
customFields: CustomFields; | ||
description: string | null; | ||
id: string; | ||
link: string | null; | ||
media: Media; | ||
mediaId: string | null; | ||
name: string | null; | ||
link: string | null; | ||
description: string | null; | ||
translations: ProductManufacturerTranslation | null; | ||
products: Product[]; | ||
customFields: CustomFields; | ||
translations: ProductManufacturerTranslation | null; | ||
translated: ProductManufacturerTranslation | null; | ||
updatedAt: Date; | ||
versionId: string; | ||
}; |
53f81c3
There was a problem hiding this comment.
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:
shopware-frontends-docs – ./
shopware-frontends-docs-git-main-shopware-frontends.vercel.app
shopware-frontends-docs.vercel.app
frontends.shopware.com
shopware-frontends-docs-shopware-frontends.vercel.app
53f81c3
There was a problem hiding this comment.
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.vercel.app
frontends-demo-git-main-shopware-frontends.vercel.app