@infrab4a/connect 4.0.1-beta.2 → 4.0.1-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.
- package/bundles/infrab4a-connect.umd.js +29 -0
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/shop-settings/models/index.d.ts +1 -0
- package/domain/shop-settings/models/shop-settings.d.ts +9 -0
- package/domain/shop-settings/models/types/index.d.ts +5 -0
- package/domain/shop-settings/models/types/shop-banner.type.d.ts +12 -0
- package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -0
- package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -0
- package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -0
- package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -0
- package/domain/shop-settings/repositories/index.d.ts +1 -0
- package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -0
- package/esm2015/domain/shop-settings/models/index.js +2 -1
- package/esm2015/domain/shop-settings/models/shop-settings.js +7 -0
- package/esm2015/domain/shop-settings/models/types/index.js +6 -1
- package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/shop-section.type.js +2 -0
- package/esm2015/domain/shop-settings/repositories/index.js +2 -1
- package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +2 -0
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +2 -1
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -0
- package/fesm2015/infrab4a-connect.js +16 -1
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +1 -0
- package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1670,6 +1670,21 @@
|
|
|
1670
1670
|
return ShopMenu;
|
|
1671
1671
|
}(BaseModel));
|
|
1672
1672
|
|
|
1673
|
+
var ShopSettings = /** @class */ (function (_super) {
|
|
1674
|
+
__extends(ShopSettings, _super);
|
|
1675
|
+
function ShopSettings() {
|
|
1676
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1677
|
+
}
|
|
1678
|
+
Object.defineProperty(ShopSettings, "identifiersFields", {
|
|
1679
|
+
get: function () {
|
|
1680
|
+
return ['id'];
|
|
1681
|
+
},
|
|
1682
|
+
enumerable: false,
|
|
1683
|
+
configurable: true
|
|
1684
|
+
});
|
|
1685
|
+
return ShopSettings;
|
|
1686
|
+
}(BaseModel));
|
|
1687
|
+
|
|
1673
1688
|
var InvalidArgumentError = /** @class */ (function (_super) {
|
|
1674
1689
|
__extends(InvalidArgumentError, _super);
|
|
1675
1690
|
function InvalidArgumentError(message) {
|
|
@@ -2956,6 +2971,18 @@
|
|
|
2956
2971
|
return ShopMenuFirestoreRepository;
|
|
2957
2972
|
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
2958
2973
|
|
|
2974
|
+
var ShopSettingsFirestoreRepository = /** @class */ (function (_super) {
|
|
2975
|
+
__extends(ShopSettingsFirestoreRepository, _super);
|
|
2976
|
+
function ShopSettingsFirestoreRepository(firestore) {
|
|
2977
|
+
var _this = _super.call(this) || this;
|
|
2978
|
+
_this.firestore = firestore;
|
|
2979
|
+
_this.collectionName = 'shopSettings';
|
|
2980
|
+
_this.model = ShopSettings;
|
|
2981
|
+
return _this;
|
|
2982
|
+
}
|
|
2983
|
+
return ShopSettingsFirestoreRepository;
|
|
2984
|
+
}(withCrudFirestore(withHelpers(withFirestore(Base)))));
|
|
2985
|
+
|
|
2959
2986
|
var AuthenticationFirebaseAuthService = /** @class */ (function () {
|
|
2960
2987
|
function AuthenticationFirebaseAuthService(firebaseAuth) {
|
|
2961
2988
|
this.firebaseAuth = firebaseAuth;
|
|
@@ -5099,6 +5126,8 @@
|
|
|
5099
5126
|
exports.ShippingMethod = ShippingMethod;
|
|
5100
5127
|
exports.ShopMenu = ShopMenu;
|
|
5101
5128
|
exports.ShopMenuFirestoreRepository = ShopMenuFirestoreRepository;
|
|
5129
|
+
exports.ShopSettings = ShopSettings;
|
|
5130
|
+
exports.ShopSettingsFirestoreRepository = ShopSettingsFirestoreRepository;
|
|
5102
5131
|
exports.SignOut = SignOut;
|
|
5103
5132
|
exports.Subscription = Subscription;
|
|
5104
5133
|
exports.SubscriptionEditionFirestoreRepository = SubscriptionEditionFirestoreRepository;
|