@infrab4a/connect-nestjs 1.0.0-beta.5 → 1.0.0-beta.6
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 +45 -2
- package/index.esm.js +45 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -559,6 +559,7 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
559
559
|
var NestConnectModule_1;
|
|
560
560
|
exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
561
561
|
static initializeApp(options) {
|
|
562
|
+
var _a;
|
|
562
563
|
return {
|
|
563
564
|
module: NestConnectModule_1,
|
|
564
565
|
imports: [
|
|
@@ -567,8 +568,50 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
567
568
|
}),
|
|
568
569
|
...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [exports.NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
569
570
|
],
|
|
570
|
-
|
|
571
|
-
|
|
571
|
+
exports: [
|
|
572
|
+
...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura)
|
|
573
|
+
? []
|
|
574
|
+
: [
|
|
575
|
+
HASURA_OPTIONS,
|
|
576
|
+
'CategoryRepository',
|
|
577
|
+
'ProductRepository',
|
|
578
|
+
'ProductReviewsRepository',
|
|
579
|
+
'VariantRepository',
|
|
580
|
+
'CategoryFilterRepository',
|
|
581
|
+
'FilterOptionRepository',
|
|
582
|
+
'FilterRepository',
|
|
583
|
+
'CategoryCollectionChildrenRepository',
|
|
584
|
+
'WishlistRepository',
|
|
585
|
+
]),
|
|
586
|
+
...(connect.isNil((_a = options === null || options === void 0 ? void 0 : options.firebase) === null || _a === void 0 ? void 0 : _a.googleApplicationCredential)
|
|
587
|
+
? []
|
|
588
|
+
: [
|
|
589
|
+
'BeautyProfileRepository',
|
|
590
|
+
'Buy2WinRepository',
|
|
591
|
+
'CheckoutRepository',
|
|
592
|
+
'CheckoutSubscriptionRepository',
|
|
593
|
+
'CouponRepository',
|
|
594
|
+
'CampaignHashtagRepository',
|
|
595
|
+
'CampaignDashboardRepository',
|
|
596
|
+
'EditionRepository',
|
|
597
|
+
'HomeRepository',
|
|
598
|
+
'LeadRepository',
|
|
599
|
+
'LegacyOrderRepository',
|
|
600
|
+
'ShopMenuRepository',
|
|
601
|
+
'OrderRepository',
|
|
602
|
+
'PaymentRepository',
|
|
603
|
+
'ShopSettingsRepository',
|
|
604
|
+
'SubscriptionPaymentRepository',
|
|
605
|
+
'SubscriptionPlanRepository',
|
|
606
|
+
'SubscriptionProductRepository',
|
|
607
|
+
'SubscriptionRepository',
|
|
608
|
+
'UserRepository',
|
|
609
|
+
'UserAddressRepository',
|
|
610
|
+
'UserPaymentMethodRepository',
|
|
611
|
+
'SubscriptionMaterializationRepository',
|
|
612
|
+
'SubscriptionSummaryRepository',
|
|
613
|
+
]),
|
|
614
|
+
],
|
|
572
615
|
};
|
|
573
616
|
}
|
|
574
617
|
};
|
package/index.esm.js
CHANGED
|
@@ -555,6 +555,7 @@ NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
555
555
|
var NestConnectModule_1;
|
|
556
556
|
let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
557
557
|
static initializeApp(options) {
|
|
558
|
+
var _a;
|
|
558
559
|
return {
|
|
559
560
|
module: NestConnectModule_1,
|
|
560
561
|
imports: [
|
|
@@ -563,8 +564,50 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
563
564
|
}),
|
|
564
565
|
...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
565
566
|
],
|
|
566
|
-
|
|
567
|
-
|
|
567
|
+
exports: [
|
|
568
|
+
...(isNil(options === null || options === void 0 ? void 0 : options.hasura)
|
|
569
|
+
? []
|
|
570
|
+
: [
|
|
571
|
+
HASURA_OPTIONS,
|
|
572
|
+
'CategoryRepository',
|
|
573
|
+
'ProductRepository',
|
|
574
|
+
'ProductReviewsRepository',
|
|
575
|
+
'VariantRepository',
|
|
576
|
+
'CategoryFilterRepository',
|
|
577
|
+
'FilterOptionRepository',
|
|
578
|
+
'FilterRepository',
|
|
579
|
+
'CategoryCollectionChildrenRepository',
|
|
580
|
+
'WishlistRepository',
|
|
581
|
+
]),
|
|
582
|
+
...(isNil((_a = options === null || options === void 0 ? void 0 : options.firebase) === null || _a === void 0 ? void 0 : _a.googleApplicationCredential)
|
|
583
|
+
? []
|
|
584
|
+
: [
|
|
585
|
+
'BeautyProfileRepository',
|
|
586
|
+
'Buy2WinRepository',
|
|
587
|
+
'CheckoutRepository',
|
|
588
|
+
'CheckoutSubscriptionRepository',
|
|
589
|
+
'CouponRepository',
|
|
590
|
+
'CampaignHashtagRepository',
|
|
591
|
+
'CampaignDashboardRepository',
|
|
592
|
+
'EditionRepository',
|
|
593
|
+
'HomeRepository',
|
|
594
|
+
'LeadRepository',
|
|
595
|
+
'LegacyOrderRepository',
|
|
596
|
+
'ShopMenuRepository',
|
|
597
|
+
'OrderRepository',
|
|
598
|
+
'PaymentRepository',
|
|
599
|
+
'ShopSettingsRepository',
|
|
600
|
+
'SubscriptionPaymentRepository',
|
|
601
|
+
'SubscriptionPlanRepository',
|
|
602
|
+
'SubscriptionProductRepository',
|
|
603
|
+
'SubscriptionRepository',
|
|
604
|
+
'UserRepository',
|
|
605
|
+
'UserAddressRepository',
|
|
606
|
+
'UserPaymentMethodRepository',
|
|
607
|
+
'SubscriptionMaterializationRepository',
|
|
608
|
+
'SubscriptionSummaryRepository',
|
|
609
|
+
]),
|
|
610
|
+
],
|
|
568
611
|
};
|
|
569
612
|
}
|
|
570
613
|
};
|