@infrab4a/connect-angular 3.3.0-beta.5 → 3.3.1-beta.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.
|
@@ -1480,6 +1480,13 @@
|
|
|
1480
1480
|
},
|
|
1481
1481
|
deps: [i1$1.AngularFirestore],
|
|
1482
1482
|
},
|
|
1483
|
+
{
|
|
1484
|
+
provide: 'ShopSettingsRepository',
|
|
1485
|
+
useFactory: function (firestore) {
|
|
1486
|
+
return new i2.ShopSettingsFirestoreRepository(firestore.firestore);
|
|
1487
|
+
},
|
|
1488
|
+
deps: [i1$1.AngularFirestore],
|
|
1489
|
+
},
|
|
1483
1490
|
{
|
|
1484
1491
|
provide: 'SubscriptionPaymentRepository',
|
|
1485
1492
|
useFactory: function (firestore, subscriptionRepository) {
|
|
@@ -1538,10 +1545,7 @@
|
|
|
1538
1545
|
},
|
|
1539
1546
|
{
|
|
1540
1547
|
provide: i0.APP_INITIALIZER,
|
|
1541
|
-
useFactory: function (firestore) { return function () {
|
|
1542
|
-
console.log('testeeee');
|
|
1543
|
-
firestore.firestore.settings({ ignoreUndefinedProperties: true });
|
|
1544
|
-
}; },
|
|
1548
|
+
useFactory: function (firestore) { return function () { return firestore.firestore.settings({ ignoreUndefinedProperties: true }); }; },
|
|
1545
1549
|
deps: [i1$1.AngularFirestore],
|
|
1546
1550
|
multi: true,
|
|
1547
1551
|
},
|
|
@@ -1649,6 +1653,13 @@
|
|
|
1649
1653
|
},
|
|
1650
1654
|
deps: [i1$1.AngularFirestore],
|
|
1651
1655
|
},
|
|
1656
|
+
{
|
|
1657
|
+
provide: 'ShopSettingsRepository',
|
|
1658
|
+
useFactory: function (firestore) {
|
|
1659
|
+
return new i2.ShopSettingsFirestoreRepository(firestore.firestore);
|
|
1660
|
+
},
|
|
1661
|
+
deps: [i1$1.AngularFirestore],
|
|
1662
|
+
},
|
|
1652
1663
|
{
|
|
1653
1664
|
provide: 'SubscriptionPaymentRepository',
|
|
1654
1665
|
useFactory: function (firestore, subscriptionRepository) {
|
|
@@ -1707,10 +1718,7 @@
|
|
|
1707
1718
|
},
|
|
1708
1719
|
{
|
|
1709
1720
|
provide: i0.APP_INITIALIZER,
|
|
1710
|
-
useFactory: function (firestore) { return function () {
|
|
1711
|
-
console.log('testeeee');
|
|
1712
|
-
firestore.firestore.settings({ ignoreUndefinedProperties: true });
|
|
1713
|
-
}; },
|
|
1721
|
+
useFactory: function (firestore) { return function () { return firestore.firestore.settings({ ignoreUndefinedProperties: true }); }; },
|
|
1714
1722
|
deps: [i1$1.AngularFirestore],
|
|
1715
1723
|
multi: true,
|
|
1716
1724
|
},
|