@infrab4a/connect-angular 4.0.0-beta.12 → 4.0.0-beta.13

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.
@@ -9,7 +9,7 @@ import { Where, Shops, CheckoutTypes, CouponTypes, Exclusivities, isNil, NotFoun
9
9
  import cookie from 'js-cookie';
10
10
  import { CustomError } from 'ts-custom-error';
11
11
  import * as i1$1 from '@angular/fire/firestore';
12
- import { docSnapshots, doc, Firestore, provideFirestore, getFirestore } from '@angular/fire/firestore';
12
+ import { docSnapshots, doc, Firestore } from '@angular/fire/firestore';
13
13
  import * as i1$2 from '@angular/common/http';
14
14
  import * as i1$3 from '@angular/fire/app';
15
15
  import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
@@ -1003,7 +1003,7 @@ class AngularFirestoreModule {
1003
1003
  }
1004
1004
  }
1005
1005
  AngularFirestoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1006
- AngularFirestoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$3.FirebaseAppModule, i1$1.FirestoreModule] });
1006
+ AngularFirestoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, imports: [AngularElasticSeachModule, i1$3.FirebaseAppModule] });
1007
1007
  AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, providers: [
1008
1008
  {
1009
1009
  provide: 'FirestoreOptions',
@@ -1074,21 +1074,21 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
1074
1074
  useFactory: (options) => {
1075
1075
  return new CampaignHashtagFirestoreRepository(options);
1076
1076
  },
1077
- deps: [Firestore],
1077
+ deps: ['FirestoreOptions'],
1078
1078
  },
1079
1079
  {
1080
1080
  provide: 'CampaignDashboardRepository',
1081
1081
  useFactory: (options) => {
1082
1082
  return new CampaignDashboardFirestoreRepository(options);
1083
1083
  },
1084
- deps: [Firestore],
1084
+ deps: ['FirestoreOptions'],
1085
1085
  },
1086
1086
  {
1087
1087
  provide: 'EditionRepository',
1088
1088
  useFactory: (options, subscriptionRepository) => {
1089
1089
  return new SubscriptionEditionFirestoreRepository(options, subscriptionRepository);
1090
1090
  },
1091
- deps: [Firestore, 'SubscriptionRepository'],
1091
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
1092
1092
  },
1093
1093
  {
1094
1094
  provide: 'HomeRepository',
@@ -1144,14 +1144,14 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
1144
1144
  useFactory: (options) => {
1145
1145
  return new ShopSettingsFirestoreRepository(options);
1146
1146
  },
1147
- deps: [Firestore],
1147
+ deps: ['FirestoreOptions'],
1148
1148
  },
1149
1149
  {
1150
1150
  provide: 'SubscriptionPaymentRepository',
1151
1151
  useFactory: (options, subscriptionRepository) => {
1152
1152
  return new SubscriptionPaymentFirestoreRepository(options, subscriptionRepository);
1153
1153
  },
1154
- deps: [Firestore, 'SubscriptionRepository'],
1154
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
1155
1155
  },
1156
1156
  {
1157
1157
  provide: 'SubscriptionPlanRepository',
@@ -1186,21 +1186,21 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
1186
1186
  useFactory: (options, userRepository) => {
1187
1187
  return new UserAddressFirestoreRepository(options, userRepository);
1188
1188
  },
1189
- deps: [Firestore, 'UserRepository'],
1189
+ deps: ['FirestoreOptions', 'UserRepository'],
1190
1190
  },
1191
1191
  {
1192
1192
  provide: 'UserPaymentMethodRepository',
1193
1193
  useFactory: (options, userRepository) => {
1194
1194
  return new UserPaymentMethodFirestoreRepository(options, userRepository);
1195
1195
  },
1196
- deps: [Firestore, 'UserRepository'],
1196
+ deps: ['FirestoreOptions', 'UserRepository'],
1197
1197
  },
1198
1198
  {
1199
1199
  provide: ProductVariantFirestoreRepository,
1200
1200
  useFactory: (options, productRepository) => {
1201
1201
  return new ProductVariantFirestoreRepository(options, productRepository);
1202
1202
  },
1203
- deps: [Firestore, ProductFirestoreRepository],
1203
+ deps: ['FirestoreOptions', ProductFirestoreRepository],
1204
1204
  },
1205
1205
  ], imports: [AngularElasticSeachModule,
1206
1206
  provideFirebaseApp((injector) => {
@@ -1208,8 +1208,7 @@ AngularFirestoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
1208
1208
  return appName
1209
1209
  ? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
1210
1210
  : initializeApp(injector.get(FIREBASE_OPTIONS));
1211
- }),
1212
- provideFirestore(() => getFirestore())] });
1211
+ })] });
1213
1212
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AngularFirestoreModule, decorators: [{
1214
1213
  type: NgModule,
1215
1214
  args: [{
@@ -1221,7 +1220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
1221
1220
  ? initializeApp(injector.get(FIREBASE_OPTIONS), appName)
1222
1221
  : initializeApp(injector.get(FIREBASE_OPTIONS));
1223
1222
  }),
1224
- provideFirestore(() => getFirestore()),
1223
+ //provideFirestore(() => getFirestore()),
1225
1224
  ],
1226
1225
  providers: [
1227
1226
  {
@@ -1293,21 +1292,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
1293
1292
  useFactory: (options) => {
1294
1293
  return new CampaignHashtagFirestoreRepository(options);
1295
1294
  },
1296
- deps: [Firestore],
1295
+ deps: ['FirestoreOptions'],
1297
1296
  },
1298
1297
  {
1299
1298
  provide: 'CampaignDashboardRepository',
1300
1299
  useFactory: (options) => {
1301
1300
  return new CampaignDashboardFirestoreRepository(options);
1302
1301
  },
1303
- deps: [Firestore],
1302
+ deps: ['FirestoreOptions'],
1304
1303
  },
1305
1304
  {
1306
1305
  provide: 'EditionRepository',
1307
1306
  useFactory: (options, subscriptionRepository) => {
1308
1307
  return new SubscriptionEditionFirestoreRepository(options, subscriptionRepository);
1309
1308
  },
1310
- deps: [Firestore, 'SubscriptionRepository'],
1309
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
1311
1310
  },
1312
1311
  {
1313
1312
  provide: 'HomeRepository',
@@ -1363,14 +1362,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
1363
1362
  useFactory: (options) => {
1364
1363
  return new ShopSettingsFirestoreRepository(options);
1365
1364
  },
1366
- deps: [Firestore],
1365
+ deps: ['FirestoreOptions'],
1367
1366
  },
1368
1367
  {
1369
1368
  provide: 'SubscriptionPaymentRepository',
1370
1369
  useFactory: (options, subscriptionRepository) => {
1371
1370
  return new SubscriptionPaymentFirestoreRepository(options, subscriptionRepository);
1372
1371
  },
1373
- deps: [Firestore, 'SubscriptionRepository'],
1372
+ deps: ['FirestoreOptions', 'SubscriptionRepository'],
1374
1373
  },
1375
1374
  {
1376
1375
  provide: 'SubscriptionPlanRepository',
@@ -1405,21 +1404,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
1405
1404
  useFactory: (options, userRepository) => {
1406
1405
  return new UserAddressFirestoreRepository(options, userRepository);
1407
1406
  },
1408
- deps: [Firestore, 'UserRepository'],
1407
+ deps: ['FirestoreOptions', 'UserRepository'],
1409
1408
  },
1410
1409
  {
1411
1410
  provide: 'UserPaymentMethodRepository',
1412
1411
  useFactory: (options, userRepository) => {
1413
1412
  return new UserPaymentMethodFirestoreRepository(options, userRepository);
1414
1413
  },
1415
- deps: [Firestore, 'UserRepository'],
1414
+ deps: ['FirestoreOptions', 'UserRepository'],
1416
1415
  },
1417
1416
  {
1418
1417
  provide: ProductVariantFirestoreRepository,
1419
1418
  useFactory: (options, productRepository) => {
1420
1419
  return new ProductVariantFirestoreRepository(options, productRepository);
1421
1420
  },
1422
- deps: [Firestore, ProductFirestoreRepository],
1421
+ deps: ['FirestoreOptions', ProductFirestoreRepository],
1423
1422
  },
1424
1423
  ],
1425
1424
  }]