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