@infrab4a/connect 4.10.1-beta.3 → 4.10.1-beta.4

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 CHANGED
@@ -75,22 +75,18 @@ class CategoryBase extends BaseModel {
75
75
  return this.images && this.images[exports.Shops.GLAMSHOP]
76
76
  ? this.images[exports.Shops.GLAMSHOP]
77
77
  : {
78
- [exports.Shops.GLAMSHOP]: {
79
- brandBanner: null,
80
- brandBannerMobile: null,
81
- image: null,
82
- },
78
+ brandBanner: null,
79
+ brandBannerMobile: null,
80
+ image: null,
83
81
  };
84
82
  }
85
83
  get mensImages() {
86
84
  return this.images && this.images[exports.Shops.MENSMARKET]
87
85
  ? this.images[exports.Shops.MENSMARKET]
88
86
  : {
89
- [exports.Shops.MENSMARKET]: {
90
- brandBanner: null,
91
- brandBannerMobile: null,
92
- image: null,
93
- },
87
+ brandBanner: null,
88
+ brandBannerMobile: null,
89
+ image: null,
94
90
  };
95
91
  }
96
92
  get glamMetadata() {
package/index.esm.js CHANGED
@@ -69,22 +69,18 @@ class CategoryBase extends BaseModel {
69
69
  return this.images && this.images[Shops.GLAMSHOP]
70
70
  ? this.images[Shops.GLAMSHOP]
71
71
  : {
72
- [Shops.GLAMSHOP]: {
73
- brandBanner: null,
74
- brandBannerMobile: null,
75
- image: null,
76
- },
72
+ brandBanner: null,
73
+ brandBannerMobile: null,
74
+ image: null,
77
75
  };
78
76
  }
79
77
  get mensImages() {
80
78
  return this.images && this.images[Shops.MENSMARKET]
81
79
  ? this.images[Shops.MENSMARKET]
82
80
  : {
83
- [Shops.MENSMARKET]: {
84
- brandBanner: null,
85
- brandBannerMobile: null,
86
- image: null,
87
- },
81
+ brandBanner: null,
82
+ brandBannerMobile: null,
83
+ image: null,
88
84
  };
89
85
  }
90
86
  get glamMetadata() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.10.1-beta.3",
3
+ "version": "4.10.1-beta.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -35,15 +35,11 @@ export declare class CategoryBase<ChildCategory extends ModelBaseStructure<Child
35
35
  image: string;
36
36
  brandBanner: string;
37
37
  brandBannerMobile: string;
38
- } | {
39
- Glamshop: CategoryImages;
40
38
  };
41
39
  get mensImages(): {
42
40
  image: string;
43
41
  brandBanner: string;
44
42
  brandBannerMobile: string;
45
- } | {
46
- mensmarket: CategoryImages;
47
43
  };
48
44
  get glamMetadata(): CategoryMetadata;
49
45
  get mensMetadata(): CategoryMetadata;