@infrab4a/connect 3.7.0-beta.0 → 3.7.0

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.
Files changed (29) hide show
  1. package/bundles/infrab4a-connect.umd.js +29 -0
  2. package/bundles/infrab4a-connect.umd.js.map +1 -1
  3. package/domain/shop-settings/models/index.d.ts +1 -0
  4. package/domain/shop-settings/models/shop-settings.d.ts +9 -0
  5. package/domain/shop-settings/models/types/index.d.ts +5 -0
  6. package/domain/shop-settings/models/types/shop-banner.type.d.ts +12 -0
  7. package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -0
  8. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -0
  9. package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -0
  10. package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -0
  11. package/domain/shop-settings/repositories/index.d.ts +1 -0
  12. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -0
  13. package/esm2015/domain/shop-settings/models/index.js +2 -1
  14. package/esm2015/domain/shop-settings/models/shop-settings.js +7 -0
  15. package/esm2015/domain/shop-settings/models/types/index.js +6 -1
  16. package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +2 -0
  17. package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +2 -0
  18. package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +2 -0
  19. package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +2 -0
  20. package/esm2015/domain/shop-settings/models/types/shop-section.type.js +2 -0
  21. package/esm2015/domain/shop-settings/repositories/index.js +2 -1
  22. package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +2 -0
  23. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +2 -1
  24. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -0
  25. package/fesm2015/infrab4a-connect.js +16 -1
  26. package/fesm2015/infrab4a-connect.js.map +1 -1
  27. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +1 -0
  28. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -0
  29. package/package.json +2 -2
@@ -1660,6 +1660,21 @@
1660
1660
  return ShopMenu;
1661
1661
  }(BaseModel));
1662
1662
 
1663
+ var ShopSettings = /** @class */ (function (_super) {
1664
+ __extends(ShopSettings, _super);
1665
+ function ShopSettings() {
1666
+ return _super !== null && _super.apply(this, arguments) || this;
1667
+ }
1668
+ Object.defineProperty(ShopSettings, "identifiersFields", {
1669
+ get: function () {
1670
+ return ['id'];
1671
+ },
1672
+ enumerable: false,
1673
+ configurable: true
1674
+ });
1675
+ return ShopSettings;
1676
+ }(BaseModel));
1677
+
1663
1678
  var InvalidArgumentError = /** @class */ (function (_super) {
1664
1679
  __extends(InvalidArgumentError, _super);
1665
1680
  function InvalidArgumentError(message) {
@@ -2952,6 +2967,18 @@
2952
2967
  return ShopMenuFirestoreRepository;
2953
2968
  }(withCrudFirestore(withHelpers(withFirestore(Base)))));
2954
2969
 
2970
+ var ShopSettingsFirestoreRepository = /** @class */ (function (_super) {
2971
+ __extends(ShopSettingsFirestoreRepository, _super);
2972
+ function ShopSettingsFirestoreRepository(firestore) {
2973
+ var _this = _super.call(this) || this;
2974
+ _this.firestore = firestore;
2975
+ _this.collectionName = 'shopSettings';
2976
+ _this.model = ShopSettings;
2977
+ return _this;
2978
+ }
2979
+ return ShopSettingsFirestoreRepository;
2980
+ }(withCrudFirestore(withHelpers(withFirestore(Base)))));
2981
+
2955
2982
  var AuthenticationFirebaseAuthService = /** @class */ (function () {
2956
2983
  function AuthenticationFirebaseAuthService(firebaseAuth) {
2957
2984
  this.firebaseAuth = firebaseAuth;
@@ -5492,6 +5519,8 @@
5492
5519
  exports.ShippingMethod = ShippingMethod;
5493
5520
  exports.ShopMenu = ShopMenu;
5494
5521
  exports.ShopMenuFirestoreRepository = ShopMenuFirestoreRepository;
5522
+ exports.ShopSettings = ShopSettings;
5523
+ exports.ShopSettingsFirestoreRepository = ShopSettingsFirestoreRepository;
5495
5524
  exports.SignOut = SignOut;
5496
5525
  exports.Subscription = Subscription;
5497
5526
  exports.SubscriptionEditionFirestoreRepository = SubscriptionEditionFirestoreRepository;