@infrab4a/connect-angular 0.3.0 → 0.4.1

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.
@@ -24,328 +24,356 @@
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
 
27
- var AngularFirebaseAuthModule = /** @class */ (function () {
28
- function AngularFirebaseAuthModule() {
29
- }
30
- AngularFirebaseAuthModule.initializeApp = function (options, nameOrConfig) {
31
- return {
32
- ngModule: AngularFirebaseAuthModule,
33
- providers: [
34
- { provide: fire.FIREBASE_OPTIONS, useValue: options },
35
- { provide: fire.FIREBASE_APP_NAME, useValue: nameOrConfig },
36
- ],
37
- };
38
- };
39
- return AngularFirebaseAuthModule;
40
- }());
41
- AngularFirebaseAuthModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
42
- AngularFirebaseAuthModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, imports: [fire.AngularFireModule] });
43
- AngularFirebaseAuthModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, providers: [
44
- {
45
- provide: 'Authentication',
46
- useFactory: function (authenticationService, userRepository) {
47
- return new connect.Authentication(authenticationService, userRepository);
48
- },
49
- deps: ['AuthenticationService', 'UserRepository'],
50
- },
51
- {
52
- provide: 'AuthenticationService',
53
- useFactory: function (angularFireAuth) {
54
- return new connect.AuthenticationFirebaseAuthService(angularFireAuth);
55
- },
56
- deps: [auth.AngularFireAuth],
57
- },
58
- {
59
- provide: 'SignOut',
60
- useFactory: function (authenticationService) {
61
- return new connect.SignOut(authenticationService);
62
- },
63
- deps: ['AuthenticationService'],
64
- },
65
- ], imports: [[fire.AngularFireModule]] });
66
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, decorators: [{
67
- type: i0.NgModule,
68
- args: [{
69
- imports: [fire.AngularFireModule],
70
- providers: [
71
- {
72
- provide: 'Authentication',
73
- useFactory: function (authenticationService, userRepository) {
74
- return new connect.Authentication(authenticationService, userRepository);
75
- },
76
- deps: ['AuthenticationService', 'UserRepository'],
77
- },
78
- {
79
- provide: 'AuthenticationService',
80
- useFactory: function (angularFireAuth) {
81
- return new connect.AuthenticationFirebaseAuthService(angularFireAuth);
82
- },
83
- deps: [auth.AngularFireAuth],
84
- },
85
- {
86
- provide: 'SignOut',
87
- useFactory: function (authenticationService) {
88
- return new connect.SignOut(authenticationService);
89
- },
90
- deps: ['AuthenticationService'],
91
- },
92
- ],
93
- }]
27
+ var AngularFirebaseAuthModule = /** @class */ (function () {
28
+ function AngularFirebaseAuthModule() {
29
+ }
30
+ AngularFirebaseAuthModule.initializeApp = function (options, nameOrConfig) {
31
+ return {
32
+ ngModule: AngularFirebaseAuthModule,
33
+ providers: [
34
+ { provide: fire.FIREBASE_OPTIONS, useValue: options },
35
+ { provide: fire.FIREBASE_APP_NAME, useValue: nameOrConfig },
36
+ ],
37
+ };
38
+ };
39
+ return AngularFirebaseAuthModule;
40
+ }());
41
+ AngularFirebaseAuthModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
42
+ AngularFirebaseAuthModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, imports: [fire.AngularFireModule] });
43
+ AngularFirebaseAuthModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, providers: [
44
+ {
45
+ provide: 'Authentication',
46
+ useFactory: function (authenticationService, userRepository) {
47
+ return new connect.Authentication(authenticationService, userRepository);
48
+ },
49
+ deps: ['AuthenticationService', 'UserRepository'],
50
+ },
51
+ {
52
+ provide: 'AuthenticationService',
53
+ useFactory: function (angularFireAuth) {
54
+ return new connect.AuthenticationFirebaseAuthService(angularFireAuth);
55
+ },
56
+ deps: [auth.AngularFireAuth],
57
+ },
58
+ {
59
+ provide: 'SignOut',
60
+ useFactory: function (authenticationService) {
61
+ return new connect.SignOut(authenticationService);
62
+ },
63
+ deps: ['AuthenticationService'],
64
+ },
65
+ ], imports: [[fire.AngularFireModule]] });
66
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirebaseAuthModule, decorators: [{
67
+ type: i0.NgModule,
68
+ args: [{
69
+ imports: [fire.AngularFireModule],
70
+ providers: [
71
+ {
72
+ provide: 'Authentication',
73
+ useFactory: function (authenticationService, userRepository) {
74
+ return new connect.Authentication(authenticationService, userRepository);
75
+ },
76
+ deps: ['AuthenticationService', 'UserRepository'],
77
+ },
78
+ {
79
+ provide: 'AuthenticationService',
80
+ useFactory: function (angularFireAuth) {
81
+ return new connect.AuthenticationFirebaseAuthService(angularFireAuth);
82
+ },
83
+ deps: [auth.AngularFireAuth],
84
+ },
85
+ {
86
+ provide: 'SignOut',
87
+ useFactory: function (authenticationService) {
88
+ return new connect.SignOut(authenticationService);
89
+ },
90
+ deps: ['AuthenticationService'],
91
+ },
92
+ ],
93
+ }]
94
94
  }] });
95
95
 
96
- var AngularFirestoreModule = /** @class */ (function () {
97
- function AngularFirestoreModule() {
98
- }
99
- AngularFirestoreModule.initializeApp = function (options, nameOrConfig) {
100
- return {
101
- ngModule: AngularFirestoreModule,
102
- providers: [
103
- { provide: fire.FIREBASE_OPTIONS, useValue: options },
104
- { provide: fire.FIREBASE_APP_NAME, useValue: nameOrConfig },
105
- ],
106
- };
107
- };
108
- return AngularFirestoreModule;
109
- }());
110
- AngularFirestoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
111
- AngularFirestoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, imports: [fire.AngularFireModule] });
112
- AngularFirestoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, providers: [
113
- {
114
- provide: 'BeautyProfileRepository',
115
- useFactory: function (firestore, userRepository) {
116
- return new connect.UserBeautyProfileFirestoreRepository(firestore.firestore, userRepository);
117
- },
118
- deps: [firestore.AngularFirestore, 'UserRepository'],
119
- },
120
- {
121
- provide: 'Buy2WinRepository',
122
- useFactory: function (firestore) {
123
- return new connect.Buy2WinFirestoreRepository(firestore.firestore);
124
- },
125
- deps: [firestore.AngularFirestore],
126
- },
127
- {
128
- provide: 'CategoryRepository',
129
- useFactory: function (firestore) {
130
- return new connect.CategoryFirestoreRepository(firestore.firestore);
131
- },
132
- deps: [firestore.AngularFirestore],
133
- },
134
- {
135
- provide: 'CheckoutRepository',
136
- useFactory: function (firestore) {
137
- return new connect.CheckoutFirestoreRepository(firestore.firestore);
138
- },
139
- deps: [firestore.AngularFirestore],
140
- },
141
- {
142
- provide: 'CheckoutSubscriptionRepository',
143
- useFactory: function (firestore) {
144
- return new connect.CheckoutSubscriptionFirestoreRepository(firestore.firestore);
145
- },
146
- deps: [firestore.AngularFirestore],
147
- },
148
- {
149
- provide: 'CouponRepository',
150
- useFactory: function (firestore) {
151
- return new connect.CouponFirestoreRepository(firestore.firestore);
152
- },
153
- deps: [firestore.AngularFirestore],
154
- },
155
- {
156
- provide: 'EditionRepository',
157
- useFactory: function (firestore, subscriptionRepository) {
158
- return new connect.SubscriptionEditionFirestoreRepository(firestore.firestore, subscriptionRepository);
159
- },
160
- deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
161
- },
162
- {
163
- provide: 'OrderRepository',
164
- useFactory: function (firestore) {
165
- return new connect.OrderFirestoreRepository(firestore.firestore);
166
- },
167
- deps: [firestore.AngularFirestore],
168
- },
169
- {
170
- provide: 'PaymentRepository',
171
- useFactory: function (firestore) {
172
- return new connect.PaymentFirestoreRepository(firestore.firestore);
173
- },
174
- deps: [firestore.AngularFirestore],
175
- },
176
- {
177
- provide: 'ProductRepository',
178
- useFactory: function (firestore) {
179
- return new connect.ProductFirestoreRepository(firestore.firestore);
180
- },
181
- deps: [firestore.AngularFirestore],
182
- },
183
- {
184
- provide: 'SubscriptionPaymentRepository',
185
- useFactory: function (firestore, subscriptionRepository) {
186
- return new connect.SubscriptionPaymentFirestoreRepository(firestore.firestore, subscriptionRepository);
187
- },
188
- deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
189
- },
190
- {
191
- provide: 'SubscriptionPlanRepository',
192
- useFactory: function (firestore) {
193
- return new connect.SubscriptionPlanFirestoreRepository(firestore.firestore);
194
- },
195
- deps: [firestore.AngularFirestore],
196
- },
197
- {
198
- provide: 'SubscriptionRepository',
199
- useFactory: function (firestore) {
200
- return new connect.SubscriptionFirestoreRepository(firestore.firestore);
201
- },
202
- deps: [firestore.AngularFirestore],
203
- },
204
- {
205
- provide: 'UserRepository',
206
- useFactory: function (firestore) {
207
- return new connect.UserFirestoreRepository(firestore.firestore);
208
- },
209
- deps: [firestore.AngularFirestore],
210
- },
211
- {
212
- provide: 'UserAddressRepository',
213
- useFactory: function (firestore, userRepository) {
214
- return new connect.UserAddressFirestoreRepository(firestore.firestore, userRepository);
215
- },
216
- deps: [firestore.AngularFirestore, 'UserRepository'],
217
- },
218
- {
219
- provide: 'VariantRepository',
220
- useFactory: function (firestore, productRepository) {
221
- return new connect.ProductVariantFirestoreRepository(firestore.firestore, productRepository);
222
- },
223
- deps: [firestore.AngularFirestore, 'ProductRepository'],
224
- },
225
- ], imports: [[fire.AngularFireModule]] });
226
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, decorators: [{
227
- type: i0.NgModule,
228
- args: [{
229
- imports: [fire.AngularFireModule],
230
- providers: [
231
- {
232
- provide: 'BeautyProfileRepository',
233
- useFactory: function (firestore, userRepository) {
234
- return new connect.UserBeautyProfileFirestoreRepository(firestore.firestore, userRepository);
235
- },
236
- deps: [firestore.AngularFirestore, 'UserRepository'],
237
- },
238
- {
239
- provide: 'Buy2WinRepository',
240
- useFactory: function (firestore) {
241
- return new connect.Buy2WinFirestoreRepository(firestore.firestore);
242
- },
243
- deps: [firestore.AngularFirestore],
244
- },
245
- {
246
- provide: 'CategoryRepository',
247
- useFactory: function (firestore) {
248
- return new connect.CategoryFirestoreRepository(firestore.firestore);
249
- },
250
- deps: [firestore.AngularFirestore],
251
- },
252
- {
253
- provide: 'CheckoutRepository',
254
- useFactory: function (firestore) {
255
- return new connect.CheckoutFirestoreRepository(firestore.firestore);
256
- },
257
- deps: [firestore.AngularFirestore],
258
- },
259
- {
260
- provide: 'CheckoutSubscriptionRepository',
261
- useFactory: function (firestore) {
262
- return new connect.CheckoutSubscriptionFirestoreRepository(firestore.firestore);
263
- },
264
- deps: [firestore.AngularFirestore],
265
- },
266
- {
267
- provide: 'CouponRepository',
268
- useFactory: function (firestore) {
269
- return new connect.CouponFirestoreRepository(firestore.firestore);
270
- },
271
- deps: [firestore.AngularFirestore],
272
- },
273
- {
274
- provide: 'EditionRepository',
275
- useFactory: function (firestore, subscriptionRepository) {
276
- return new connect.SubscriptionEditionFirestoreRepository(firestore.firestore, subscriptionRepository);
277
- },
278
- deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
279
- },
280
- {
281
- provide: 'OrderRepository',
282
- useFactory: function (firestore) {
283
- return new connect.OrderFirestoreRepository(firestore.firestore);
284
- },
285
- deps: [firestore.AngularFirestore],
286
- },
287
- {
288
- provide: 'PaymentRepository',
289
- useFactory: function (firestore) {
290
- return new connect.PaymentFirestoreRepository(firestore.firestore);
291
- },
292
- deps: [firestore.AngularFirestore],
293
- },
294
- {
295
- provide: 'ProductRepository',
296
- useFactory: function (firestore) {
297
- return new connect.ProductFirestoreRepository(firestore.firestore);
298
- },
299
- deps: [firestore.AngularFirestore],
300
- },
301
- {
302
- provide: 'SubscriptionPaymentRepository',
303
- useFactory: function (firestore, subscriptionRepository) {
304
- return new connect.SubscriptionPaymentFirestoreRepository(firestore.firestore, subscriptionRepository);
305
- },
306
- deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
307
- },
308
- {
309
- provide: 'SubscriptionPlanRepository',
310
- useFactory: function (firestore) {
311
- return new connect.SubscriptionPlanFirestoreRepository(firestore.firestore);
312
- },
313
- deps: [firestore.AngularFirestore],
314
- },
315
- {
316
- provide: 'SubscriptionRepository',
317
- useFactory: function (firestore) {
318
- return new connect.SubscriptionFirestoreRepository(firestore.firestore);
319
- },
320
- deps: [firestore.AngularFirestore],
321
- },
322
- {
323
- provide: 'UserRepository',
324
- useFactory: function (firestore) {
325
- return new connect.UserFirestoreRepository(firestore.firestore);
326
- },
327
- deps: [firestore.AngularFirestore],
328
- },
329
- {
330
- provide: 'UserAddressRepository',
331
- useFactory: function (firestore, userRepository) {
332
- return new connect.UserAddressFirestoreRepository(firestore.firestore, userRepository);
333
- },
334
- deps: [firestore.AngularFirestore, 'UserRepository'],
335
- },
336
- {
337
- provide: 'VariantRepository',
338
- useFactory: function (firestore, productRepository) {
339
- return new connect.ProductVariantFirestoreRepository(firestore.firestore, productRepository);
340
- },
341
- deps: [firestore.AngularFirestore, 'ProductRepository'],
342
- },
343
- ],
344
- }]
96
+ var AngularFirestoreModule = /** @class */ (function () {
97
+ function AngularFirestoreModule() {
98
+ }
99
+ AngularFirestoreModule.initializeApp = function (options, nameOrConfig) {
100
+ return {
101
+ ngModule: AngularFirestoreModule,
102
+ providers: [
103
+ { provide: fire.FIREBASE_OPTIONS, useValue: options },
104
+ { provide: fire.FIREBASE_APP_NAME, useValue: nameOrConfig },
105
+ ],
106
+ };
107
+ };
108
+ return AngularFirestoreModule;
109
+ }());
110
+ AngularFirestoreModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
111
+ AngularFirestoreModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, imports: [fire.AngularFireModule] });
112
+ AngularFirestoreModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, providers: [
113
+ {
114
+ provide: 'BeautyProfileRepository',
115
+ useFactory: function (firestore, userRepository) {
116
+ return new connect.UserBeautyProfileFirestoreRepository(firestore.firestore, userRepository);
117
+ },
118
+ deps: [firestore.AngularFirestore, 'UserRepository'],
119
+ },
120
+ {
121
+ provide: 'Buy2WinRepository',
122
+ useFactory: function (firestore) {
123
+ return new connect.Buy2WinFirestoreRepository(firestore.firestore);
124
+ },
125
+ deps: [firestore.AngularFirestore],
126
+ },
127
+ {
128
+ provide: 'CategoryRepository',
129
+ useFactory: function (firestore) {
130
+ return new connect.CategoryFirestoreRepository(firestore.firestore);
131
+ },
132
+ deps: [firestore.AngularFirestore],
133
+ },
134
+ {
135
+ provide: 'CheckoutRepository',
136
+ useFactory: function (firestore) {
137
+ return new connect.CheckoutFirestoreRepository(firestore.firestore);
138
+ },
139
+ deps: [firestore.AngularFirestore],
140
+ },
141
+ {
142
+ provide: 'CheckoutSubscriptionRepository',
143
+ useFactory: function (firestore) {
144
+ return new connect.CheckoutSubscriptionFirestoreRepository(firestore.firestore);
145
+ },
146
+ deps: [firestore.AngularFirestore],
147
+ },
148
+ {
149
+ provide: 'CouponRepository',
150
+ useFactory: function (firestore) {
151
+ return new connect.CouponFirestoreRepository(firestore.firestore);
152
+ },
153
+ deps: [firestore.AngularFirestore],
154
+ },
155
+ {
156
+ provide: 'EditionRepository',
157
+ useFactory: function (firestore, subscriptionRepository) {
158
+ return new connect.SubscriptionEditionFirestoreRepository(firestore.firestore, subscriptionRepository);
159
+ },
160
+ deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
161
+ },
162
+ {
163
+ provide: 'HomeRepository',
164
+ useFactory: function (firestore) {
165
+ return new connect.HomeFirestoreRepository(firestore.firestore);
166
+ },
167
+ deps: [firestore.AngularFirestore],
168
+ },
169
+ {
170
+ provide: 'ShopMenuRepository',
171
+ useFactory: function (firestore) {
172
+ return new connect.ShopMenuFirestoreRepository(firestore.firestore);
173
+ },
174
+ deps: [firestore.AngularFirestore],
175
+ },
176
+ {
177
+ provide: 'OrderRepository',
178
+ useFactory: function (firestore) {
179
+ return new connect.OrderFirestoreRepository(firestore.firestore);
180
+ },
181
+ deps: [firestore.AngularFirestore],
182
+ },
183
+ {
184
+ provide: 'PaymentRepository',
185
+ useFactory: function (firestore) {
186
+ return new connect.PaymentFirestoreRepository(firestore.firestore);
187
+ },
188
+ deps: [firestore.AngularFirestore],
189
+ },
190
+ {
191
+ provide: 'ProductRepository',
192
+ useFactory: function (firestore) {
193
+ return new connect.ProductFirestoreRepository(firestore.firestore);
194
+ },
195
+ deps: [firestore.AngularFirestore],
196
+ },
197
+ {
198
+ provide: 'SubscriptionPaymentRepository',
199
+ useFactory: function (firestore, subscriptionRepository) {
200
+ return new connect.SubscriptionPaymentFirestoreRepository(firestore.firestore, subscriptionRepository);
201
+ },
202
+ deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
203
+ },
204
+ {
205
+ provide: 'SubscriptionPlanRepository',
206
+ useFactory: function (firestore) {
207
+ return new connect.SubscriptionPlanFirestoreRepository(firestore.firestore);
208
+ },
209
+ deps: [firestore.AngularFirestore],
210
+ },
211
+ {
212
+ provide: 'SubscriptionRepository',
213
+ useFactory: function (firestore) {
214
+ return new connect.SubscriptionFirestoreRepository(firestore.firestore);
215
+ },
216
+ deps: [firestore.AngularFirestore],
217
+ },
218
+ {
219
+ provide: 'UserRepository',
220
+ useFactory: function (firestore) {
221
+ return new connect.UserFirestoreRepository(firestore.firestore);
222
+ },
223
+ deps: [firestore.AngularFirestore],
224
+ },
225
+ {
226
+ provide: 'UserAddressRepository',
227
+ useFactory: function (firestore, userRepository) {
228
+ return new connect.UserAddressFirestoreRepository(firestore.firestore, userRepository);
229
+ },
230
+ deps: [firestore.AngularFirestore, 'UserRepository'],
231
+ },
232
+ {
233
+ provide: 'VariantRepository',
234
+ useFactory: function (firestore, productRepository) {
235
+ return new connect.ProductVariantFirestoreRepository(firestore.firestore, productRepository);
236
+ },
237
+ deps: [firestore.AngularFirestore, 'ProductRepository'],
238
+ },
239
+ ], imports: [[fire.AngularFireModule]] });
240
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.7", ngImport: i0__namespace, type: AngularFirestoreModule, decorators: [{
241
+ type: i0.NgModule,
242
+ args: [{
243
+ imports: [fire.AngularFireModule],
244
+ providers: [
245
+ {
246
+ provide: 'BeautyProfileRepository',
247
+ useFactory: function (firestore, userRepository) {
248
+ return new connect.UserBeautyProfileFirestoreRepository(firestore.firestore, userRepository);
249
+ },
250
+ deps: [firestore.AngularFirestore, 'UserRepository'],
251
+ },
252
+ {
253
+ provide: 'Buy2WinRepository',
254
+ useFactory: function (firestore) {
255
+ return new connect.Buy2WinFirestoreRepository(firestore.firestore);
256
+ },
257
+ deps: [firestore.AngularFirestore],
258
+ },
259
+ {
260
+ provide: 'CategoryRepository',
261
+ useFactory: function (firestore) {
262
+ return new connect.CategoryFirestoreRepository(firestore.firestore);
263
+ },
264
+ deps: [firestore.AngularFirestore],
265
+ },
266
+ {
267
+ provide: 'CheckoutRepository',
268
+ useFactory: function (firestore) {
269
+ return new connect.CheckoutFirestoreRepository(firestore.firestore);
270
+ },
271
+ deps: [firestore.AngularFirestore],
272
+ },
273
+ {
274
+ provide: 'CheckoutSubscriptionRepository',
275
+ useFactory: function (firestore) {
276
+ return new connect.CheckoutSubscriptionFirestoreRepository(firestore.firestore);
277
+ },
278
+ deps: [firestore.AngularFirestore],
279
+ },
280
+ {
281
+ provide: 'CouponRepository',
282
+ useFactory: function (firestore) {
283
+ return new connect.CouponFirestoreRepository(firestore.firestore);
284
+ },
285
+ deps: [firestore.AngularFirestore],
286
+ },
287
+ {
288
+ provide: 'EditionRepository',
289
+ useFactory: function (firestore, subscriptionRepository) {
290
+ return new connect.SubscriptionEditionFirestoreRepository(firestore.firestore, subscriptionRepository);
291
+ },
292
+ deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
293
+ },
294
+ {
295
+ provide: 'HomeRepository',
296
+ useFactory: function (firestore) {
297
+ return new connect.HomeFirestoreRepository(firestore.firestore);
298
+ },
299
+ deps: [firestore.AngularFirestore],
300
+ },
301
+ {
302
+ provide: 'ShopMenuRepository',
303
+ useFactory: function (firestore) {
304
+ return new connect.ShopMenuFirestoreRepository(firestore.firestore);
305
+ },
306
+ deps: [firestore.AngularFirestore],
307
+ },
308
+ {
309
+ provide: 'OrderRepository',
310
+ useFactory: function (firestore) {
311
+ return new connect.OrderFirestoreRepository(firestore.firestore);
312
+ },
313
+ deps: [firestore.AngularFirestore],
314
+ },
315
+ {
316
+ provide: 'PaymentRepository',
317
+ useFactory: function (firestore) {
318
+ return new connect.PaymentFirestoreRepository(firestore.firestore);
319
+ },
320
+ deps: [firestore.AngularFirestore],
321
+ },
322
+ {
323
+ provide: 'ProductRepository',
324
+ useFactory: function (firestore) {
325
+ return new connect.ProductFirestoreRepository(firestore.firestore);
326
+ },
327
+ deps: [firestore.AngularFirestore],
328
+ },
329
+ {
330
+ provide: 'SubscriptionPaymentRepository',
331
+ useFactory: function (firestore, subscriptionRepository) {
332
+ return new connect.SubscriptionPaymentFirestoreRepository(firestore.firestore, subscriptionRepository);
333
+ },
334
+ deps: [firestore.AngularFirestore, 'SubscriptionRepository'],
335
+ },
336
+ {
337
+ provide: 'SubscriptionPlanRepository',
338
+ useFactory: function (firestore) {
339
+ return new connect.SubscriptionPlanFirestoreRepository(firestore.firestore);
340
+ },
341
+ deps: [firestore.AngularFirestore],
342
+ },
343
+ {
344
+ provide: 'SubscriptionRepository',
345
+ useFactory: function (firestore) {
346
+ return new connect.SubscriptionFirestoreRepository(firestore.firestore);
347
+ },
348
+ deps: [firestore.AngularFirestore],
349
+ },
350
+ {
351
+ provide: 'UserRepository',
352
+ useFactory: function (firestore) {
353
+ return new connect.UserFirestoreRepository(firestore.firestore);
354
+ },
355
+ deps: [firestore.AngularFirestore],
356
+ },
357
+ {
358
+ provide: 'UserAddressRepository',
359
+ useFactory: function (firestore, userRepository) {
360
+ return new connect.UserAddressFirestoreRepository(firestore.firestore, userRepository);
361
+ },
362
+ deps: [firestore.AngularFirestore, 'UserRepository'],
363
+ },
364
+ {
365
+ provide: 'VariantRepository',
366
+ useFactory: function (firestore, productRepository) {
367
+ return new connect.ProductVariantFirestoreRepository(firestore.firestore, productRepository);
368
+ },
369
+ deps: [firestore.AngularFirestore, 'ProductRepository'],
370
+ },
371
+ ],
372
+ }]
345
373
  }] });
346
374
 
347
- /**
348
- * Generated bundle index. Do not edit.
375
+ /**
376
+ * Generated bundle index. Do not edit.
349
377
  */
350
378
 
351
379
  exports.AngularFirebaseAuthModule = AngularFirebaseAuthModule;