@infrab4a/connect 3.14.3-beta.2 → 3.14.3-beta.3

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.
@@ -1823,6 +1823,21 @@
1823
1823
  return Filter;
1824
1824
  }(BaseModel));
1825
1825
 
1826
+ var Product = /** @class */ (function (_super) {
1827
+ __extends(Product, _super);
1828
+ function Product() {
1829
+ return _super !== null && _super.apply(this, arguments) || this;
1830
+ }
1831
+ Object.defineProperty(Product, "identifiersFields", {
1832
+ get: function () {
1833
+ return ['id'];
1834
+ },
1835
+ enumerable: false,
1836
+ configurable: true
1837
+ });
1838
+ return Product;
1839
+ }(ProductBase));
1840
+
1826
1841
  var KitProduct = /** @class */ (function (_super) {
1827
1842
  __extends(KitProduct, _super);
1828
1843
  function KitProduct() {
@@ -1846,12 +1861,12 @@
1846
1861
  __metadata("design:type", Product)
1847
1862
  ], KitProduct.prototype, "product", void 0);
1848
1863
 
1849
- var Product = /** @class */ (function (_super) {
1850
- __extends(Product, _super);
1851
- function Product() {
1864
+ var ProductBase = /** @class */ (function (_super) {
1865
+ __extends(ProductBase, _super);
1866
+ function ProductBase() {
1852
1867
  return _super !== null && _super.apply(this, arguments) || this;
1853
1868
  }
1854
- Object.defineProperty(Product.prototype, "evaluation", {
1869
+ Object.defineProperty(ProductBase.prototype, "evaluation", {
1855
1870
  get: function () {
1856
1871
  return {
1857
1872
  reviews: this.reviews,
@@ -1873,23 +1888,38 @@
1873
1888
  enumerable: false,
1874
1889
  configurable: true
1875
1890
  });
1876
- Object.defineProperty(Product, "identifiersFields", {
1891
+ Object.defineProperty(ProductBase, "identifiersFields", {
1877
1892
  get: function () {
1878
1893
  return ['id'];
1879
1894
  },
1880
1895
  enumerable: false,
1881
1896
  configurable: true
1882
1897
  });
1883
- return Product;
1898
+ return ProductBase;
1884
1899
  }(BaseModel));
1885
1900
  __decorate([
1886
1901
  classTransformer.Type(function () { return Category; }),
1887
1902
  __metadata("design:type", Category)
1888
- ], Product.prototype, "category", void 0);
1903
+ ], ProductBase.prototype, "category", void 0);
1889
1904
  __decorate([
1890
1905
  classTransformer.Type(function () { return KitProduct; }),
1891
1906
  __metadata("design:type", Array)
1892
- ], Product.prototype, "kitProducts", void 0);
1907
+ ], ProductBase.prototype, "kitProducts", void 0);
1908
+
1909
+ var ProductForCategory = /** @class */ (function (_super) {
1910
+ __extends(ProductForCategory, _super);
1911
+ function ProductForCategory() {
1912
+ return _super !== null && _super.apply(this, arguments) || this;
1913
+ }
1914
+ Object.defineProperty(ProductForCategory, "identifiersFields", {
1915
+ get: function () {
1916
+ return ['id'];
1917
+ },
1918
+ enumerable: false,
1919
+ configurable: true
1920
+ });
1921
+ return ProductForCategory;
1922
+ }(ProductBase));
1893
1923
 
1894
1924
  var Category = /** @class */ (function (_super) {
1895
1925
  __extends(Category, _super);
@@ -1914,7 +1944,7 @@
1914
1944
  __metadata("design:type", Array)
1915
1945
  ], Category.prototype, "filters", void 0);
1916
1946
  __decorate([
1917
- classTransformer.Type(function () { return Product; }),
1947
+ classTransformer.Type(function () { return ProductForCategory; }),
1918
1948
  __metadata("design:type", Array)
1919
1949
  ], Category.prototype, "childrenProducts", void 0);
1920
1950