@infrab4a/connect 5.3.10-beta.0 → 5.3.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +18 -0
- package/index.esm.js +18 -0
- package/package.json +1 -1
- package/src/domain/catalog/models/category-brand.d.ts +2 -0
package/index.cjs.js
CHANGED
|
@@ -758,6 +758,24 @@ tslib.__decorate([
|
|
|
758
758
|
registerClass('Category', Category);
|
|
759
759
|
|
|
760
760
|
class BrandCategory extends BaseModel {
|
|
761
|
+
get glamImages() {
|
|
762
|
+
return this.images?.[exports.Shops.GLAMSHOP]
|
|
763
|
+
? this.images[exports.Shops.GLAMSHOP]
|
|
764
|
+
: {
|
|
765
|
+
brandBanner: null,
|
|
766
|
+
brandBannerMobile: null,
|
|
767
|
+
image: null,
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
get mensImages() {
|
|
771
|
+
return this.images?.[exports.Shops.MENSMARKET]
|
|
772
|
+
? this.images[exports.Shops.MENSMARKET]
|
|
773
|
+
: {
|
|
774
|
+
brandBanner: null,
|
|
775
|
+
brandBannerMobile: null,
|
|
776
|
+
image: null,
|
|
777
|
+
};
|
|
778
|
+
}
|
|
761
779
|
static get identifiersFields() {
|
|
762
780
|
return ['id'];
|
|
763
781
|
}
|
package/index.esm.js
CHANGED
|
@@ -734,6 +734,24 @@ __decorate([
|
|
|
734
734
|
registerClass('Category', Category);
|
|
735
735
|
|
|
736
736
|
class BrandCategory extends BaseModel {
|
|
737
|
+
get glamImages() {
|
|
738
|
+
return this.images?.[Shops.GLAMSHOP]
|
|
739
|
+
? this.images[Shops.GLAMSHOP]
|
|
740
|
+
: {
|
|
741
|
+
brandBanner: null,
|
|
742
|
+
brandBannerMobile: null,
|
|
743
|
+
image: null,
|
|
744
|
+
};
|
|
745
|
+
}
|
|
746
|
+
get mensImages() {
|
|
747
|
+
return this.images?.[Shops.MENSMARKET]
|
|
748
|
+
? this.images[Shops.MENSMARKET]
|
|
749
|
+
: {
|
|
750
|
+
brandBanner: null,
|
|
751
|
+
brandBannerMobile: null,
|
|
752
|
+
image: null,
|
|
753
|
+
};
|
|
754
|
+
}
|
|
737
755
|
static get identifiersFields() {
|
|
738
756
|
return ['id'];
|
|
739
757
|
}
|
package/package.json
CHANGED