@infrab4a/connect-nestjs 1.0.0-beta.3 → 1.0.0-beta.5
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/index.cjs.js +51 -1
- package/index.esm.js +51 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -383,6 +383,35 @@ exports.NestFirestoreModule = NestFirestoreModule_1 = __decorate([
|
|
|
383
383
|
inject: ['FirestoreOptions', connect.ProductFirestoreRepository],
|
|
384
384
|
},
|
|
385
385
|
],
|
|
386
|
+
exports: [
|
|
387
|
+
'BeautyProfileRepository',
|
|
388
|
+
'Buy2WinRepository',
|
|
389
|
+
connect.CategoryFirestoreRepository,
|
|
390
|
+
'CheckoutRepository',
|
|
391
|
+
'CheckoutSubscriptionRepository',
|
|
392
|
+
'CouponRepository',
|
|
393
|
+
'CampaignHashtagRepository',
|
|
394
|
+
'CampaignDashboardRepository',
|
|
395
|
+
'EditionRepository',
|
|
396
|
+
'HomeRepository',
|
|
397
|
+
'LeadRepository',
|
|
398
|
+
'LegacyOrderRepository',
|
|
399
|
+
'ShopMenuRepository',
|
|
400
|
+
'OrderRepository',
|
|
401
|
+
'PaymentRepository',
|
|
402
|
+
connect.ProductFirestoreRepository,
|
|
403
|
+
'ShopSettingsRepository',
|
|
404
|
+
'SubscriptionPaymentRepository',
|
|
405
|
+
'SubscriptionPlanRepository',
|
|
406
|
+
'SubscriptionProductRepository',
|
|
407
|
+
'SubscriptionRepository',
|
|
408
|
+
'UserRepository',
|
|
409
|
+
'UserAddressRepository',
|
|
410
|
+
'UserPaymentMethodRepository',
|
|
411
|
+
'SubscriptionMaterializationRepository',
|
|
412
|
+
'SubscriptionSummaryRepository',
|
|
413
|
+
connect.ProductVariantFirestoreRepository,
|
|
414
|
+
],
|
|
386
415
|
})
|
|
387
416
|
], exports.NestFirestoreModule);
|
|
388
417
|
|
|
@@ -504,6 +533,26 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
504
533
|
useExisting: connect.WishlistHasuraGraphQLRepository,
|
|
505
534
|
},
|
|
506
535
|
],
|
|
536
|
+
exports: [
|
|
537
|
+
'CategoryRepository',
|
|
538
|
+
connect.CategoryHasuraGraphQLRepository,
|
|
539
|
+
'ProductRepository',
|
|
540
|
+
connect.ProductHasuraGraphQLRepository,
|
|
541
|
+
'ProductReviewsRepository',
|
|
542
|
+
connect.ProductReviewsHasuraGraphQLRepository,
|
|
543
|
+
'VariantRepository',
|
|
544
|
+
connect.VariantHasuraGraphQLRepository,
|
|
545
|
+
'CategoryFilterRepository',
|
|
546
|
+
connect.CategoryFilterHasuraGraphQLRepository,
|
|
547
|
+
'FilterOptionRepository',
|
|
548
|
+
connect.FilterOptionHasuraGraphQLRepository,
|
|
549
|
+
'FilterRepository',
|
|
550
|
+
connect.FilterHasuraGraphQLRepository,
|
|
551
|
+
'CategoryCollectionChildrenRepository',
|
|
552
|
+
connect.CategoryCollectionChildrenHasuraGraphQLRepository,
|
|
553
|
+
'WishlistRepository',
|
|
554
|
+
connect.WishlistHasuraGraphQLRepository,
|
|
555
|
+
],
|
|
507
556
|
})
|
|
508
557
|
], exports.NestHasuraGraphQLModule);
|
|
509
558
|
|
|
@@ -516,6 +565,7 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
516
565
|
nestjsFirebase.FirebaseModule.forRoot({
|
|
517
566
|
googleApplicationCredential: options.firebase.googleApplicationCredential,
|
|
518
567
|
}),
|
|
568
|
+
...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [exports.NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
519
569
|
],
|
|
520
570
|
providers: [...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [{ provide: HASURA_OPTIONS, useValue: options.hasura }])],
|
|
521
571
|
exports: [...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
|
|
@@ -524,7 +574,7 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
524
574
|
};
|
|
525
575
|
exports.NestConnectModule = NestConnectModule_1 = __decorate([
|
|
526
576
|
common.Module({
|
|
527
|
-
imports: [exports.NestFirestoreModule
|
|
577
|
+
imports: [exports.NestFirestoreModule],
|
|
528
578
|
})
|
|
529
579
|
], exports.NestConnectModule);
|
|
530
580
|
|
package/index.esm.js
CHANGED
|
@@ -379,6 +379,35 @@ NestFirestoreModule = NestFirestoreModule_1 = __decorate([
|
|
|
379
379
|
inject: ['FirestoreOptions', ProductFirestoreRepository],
|
|
380
380
|
},
|
|
381
381
|
],
|
|
382
|
+
exports: [
|
|
383
|
+
'BeautyProfileRepository',
|
|
384
|
+
'Buy2WinRepository',
|
|
385
|
+
CategoryFirestoreRepository,
|
|
386
|
+
'CheckoutRepository',
|
|
387
|
+
'CheckoutSubscriptionRepository',
|
|
388
|
+
'CouponRepository',
|
|
389
|
+
'CampaignHashtagRepository',
|
|
390
|
+
'CampaignDashboardRepository',
|
|
391
|
+
'EditionRepository',
|
|
392
|
+
'HomeRepository',
|
|
393
|
+
'LeadRepository',
|
|
394
|
+
'LegacyOrderRepository',
|
|
395
|
+
'ShopMenuRepository',
|
|
396
|
+
'OrderRepository',
|
|
397
|
+
'PaymentRepository',
|
|
398
|
+
ProductFirestoreRepository,
|
|
399
|
+
'ShopSettingsRepository',
|
|
400
|
+
'SubscriptionPaymentRepository',
|
|
401
|
+
'SubscriptionPlanRepository',
|
|
402
|
+
'SubscriptionProductRepository',
|
|
403
|
+
'SubscriptionRepository',
|
|
404
|
+
'UserRepository',
|
|
405
|
+
'UserAddressRepository',
|
|
406
|
+
'UserPaymentMethodRepository',
|
|
407
|
+
'SubscriptionMaterializationRepository',
|
|
408
|
+
'SubscriptionSummaryRepository',
|
|
409
|
+
ProductVariantFirestoreRepository,
|
|
410
|
+
],
|
|
382
411
|
})
|
|
383
412
|
], NestFirestoreModule);
|
|
384
413
|
|
|
@@ -500,6 +529,26 @@ NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
500
529
|
useExisting: WishlistHasuraGraphQLRepository,
|
|
501
530
|
},
|
|
502
531
|
],
|
|
532
|
+
exports: [
|
|
533
|
+
'CategoryRepository',
|
|
534
|
+
CategoryHasuraGraphQLRepository,
|
|
535
|
+
'ProductRepository',
|
|
536
|
+
ProductHasuraGraphQLRepository,
|
|
537
|
+
'ProductReviewsRepository',
|
|
538
|
+
ProductReviewsHasuraGraphQLRepository,
|
|
539
|
+
'VariantRepository',
|
|
540
|
+
VariantHasuraGraphQLRepository,
|
|
541
|
+
'CategoryFilterRepository',
|
|
542
|
+
CategoryFilterHasuraGraphQLRepository,
|
|
543
|
+
'FilterOptionRepository',
|
|
544
|
+
FilterOptionHasuraGraphQLRepository,
|
|
545
|
+
'FilterRepository',
|
|
546
|
+
FilterHasuraGraphQLRepository,
|
|
547
|
+
'CategoryCollectionChildrenRepository',
|
|
548
|
+
CategoryCollectionChildrenHasuraGraphQLRepository,
|
|
549
|
+
'WishlistRepository',
|
|
550
|
+
WishlistHasuraGraphQLRepository,
|
|
551
|
+
],
|
|
503
552
|
})
|
|
504
553
|
], NestHasuraGraphQLModule);
|
|
505
554
|
|
|
@@ -512,6 +561,7 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
512
561
|
FirebaseModule.forRoot({
|
|
513
562
|
googleApplicationCredential: options.firebase.googleApplicationCredential,
|
|
514
563
|
}),
|
|
564
|
+
...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
515
565
|
],
|
|
516
566
|
providers: [...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [{ provide: HASURA_OPTIONS, useValue: options.hasura }])],
|
|
517
567
|
exports: [...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [HASURA_OPTIONS])],
|
|
@@ -520,7 +570,7 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
520
570
|
};
|
|
521
571
|
NestConnectModule = NestConnectModule_1 = __decorate([
|
|
522
572
|
Module({
|
|
523
|
-
imports: [NestFirestoreModule
|
|
573
|
+
imports: [NestFirestoreModule],
|
|
524
574
|
})
|
|
525
575
|
], NestConnectModule);
|
|
526
576
|
|