@infrab4a/connect-nestjs 1.0.0-beta.7 → 1.0.0-beta.8
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 -44
- package/index.esm.js +46 -45
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -182,6 +182,7 @@ exports.NestFirestoreModule = NestFirestoreModule_1 = class NestFirestoreModule
|
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
exports.NestFirestoreModule = NestFirestoreModule_1 = __decorate([
|
|
185
|
+
common.Global(),
|
|
185
186
|
common.Module({
|
|
186
187
|
providers: [
|
|
187
188
|
{
|
|
@@ -425,6 +426,7 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = class NestHasuraGr
|
|
|
425
426
|
}
|
|
426
427
|
};
|
|
427
428
|
exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
429
|
+
common.Global(),
|
|
428
430
|
common.Module({
|
|
429
431
|
providers: [
|
|
430
432
|
{
|
|
@@ -559,7 +561,6 @@ exports.NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
559
561
|
var NestConnectModule_1;
|
|
560
562
|
exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
561
563
|
static initializeApp(options) {
|
|
562
|
-
var _a;
|
|
563
564
|
return {
|
|
564
565
|
module: NestConnectModule_1,
|
|
565
566
|
imports: [
|
|
@@ -568,49 +569,49 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
568
569
|
}),
|
|
569
570
|
...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [exports.NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
570
571
|
],
|
|
571
|
-
exports: [
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
],
|
|
572
|
+
// exports: [
|
|
573
|
+
// ...(isNil(options?.hasura)
|
|
574
|
+
// ? []
|
|
575
|
+
// : [
|
|
576
|
+
// 'CategoryRepository',
|
|
577
|
+
// 'ProductRepository',
|
|
578
|
+
// 'ProductReviewsRepository',
|
|
579
|
+
// 'VariantRepository',
|
|
580
|
+
// 'CategoryFilterRepository',
|
|
581
|
+
// 'FilterOptionRepository',
|
|
582
|
+
// 'FilterRepository',
|
|
583
|
+
// 'CategoryCollectionChildrenRepository',
|
|
584
|
+
// 'WishlistRepository',
|
|
585
|
+
// ]),
|
|
586
|
+
// ...(isNil(options?.firebase?.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
|
+
// ],
|
|
614
615
|
};
|
|
615
616
|
}
|
|
616
617
|
};
|
package/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isEmpty, UserBeautyProfileFirestoreRepository, Buy2WinFirestoreRepository, CategoryFirestoreRepository, CheckoutFirestoreRepository, CheckoutSubscriptionFirestoreRepository, CouponFirestoreRepository, CampaignHashtagFirestoreRepository, CampaignDashboardFirestoreRepository, SubscriptionEditionFirestoreRepository, HomeFirestoreRepository, LeadFirestoreRepository, LegacyOrderFirestoreRepository, ShopMenuFirestoreRepository, OrderFirestoreRepository, PaymentFirestoreRepository, ProductFirestoreRepository, ShopSettingsFirestoreRepository, SubscriptionPaymentFirestoreRepository, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, SubscriptionFirestoreRepository, UserFirestoreRepository, UserAddressFirestoreRepository, UserPaymentMethodFirestoreRepository, SubscriptionMaterializationFirestoreRepository, SubscriptionSummaryFirestoreRepository, ProductVariantFirestoreRepository, CategoryHasuraGraphQLRepository, ProductHasuraGraphQLRepository, CategoryFilterHasuraGraphQLRepository, ProductReviewsHasuraGraphQLRepository, VariantHasuraGraphQLRepository, FilterOptionHasuraGraphQLRepository, FilterHasuraGraphQLRepository, CategoryCollectionChildrenHasuraGraphQLRepository, WishlistHasuraGraphQLRepository, isNil } from '@infrab4a/connect';
|
|
2
|
-
import { Module } from '@nestjs/common';
|
|
2
|
+
import { Global, Module } from '@nestjs/common';
|
|
3
3
|
import { FirebaseConstants, FirebaseModule } from 'nestjs-firebase';
|
|
4
4
|
|
|
5
5
|
class ConnectBaseDocumentSnapshot {
|
|
@@ -178,6 +178,7 @@ let NestFirestoreModule = NestFirestoreModule_1 = class NestFirestoreModule {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
NestFirestoreModule = NestFirestoreModule_1 = __decorate([
|
|
181
|
+
Global(),
|
|
181
182
|
Module({
|
|
182
183
|
providers: [
|
|
183
184
|
{
|
|
@@ -421,6 +422,7 @@ let NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = class NestHasuraGraphQ
|
|
|
421
422
|
}
|
|
422
423
|
};
|
|
423
424
|
NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
425
|
+
Global(),
|
|
424
426
|
Module({
|
|
425
427
|
providers: [
|
|
426
428
|
{
|
|
@@ -555,7 +557,6 @@ NestHasuraGraphQLModule = NestHasuraGraphQLModule_1 = __decorate([
|
|
|
555
557
|
var NestConnectModule_1;
|
|
556
558
|
let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
557
559
|
static initializeApp(options) {
|
|
558
|
-
var _a;
|
|
559
560
|
return {
|
|
560
561
|
module: NestConnectModule_1,
|
|
561
562
|
imports: [
|
|
@@ -564,49 +565,49 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
564
565
|
}),
|
|
565
566
|
...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
566
567
|
],
|
|
567
|
-
exports: [
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
],
|
|
568
|
+
// exports: [
|
|
569
|
+
// ...(isNil(options?.hasura)
|
|
570
|
+
// ? []
|
|
571
|
+
// : [
|
|
572
|
+
// 'CategoryRepository',
|
|
573
|
+
// 'ProductRepository',
|
|
574
|
+
// 'ProductReviewsRepository',
|
|
575
|
+
// 'VariantRepository',
|
|
576
|
+
// 'CategoryFilterRepository',
|
|
577
|
+
// 'FilterOptionRepository',
|
|
578
|
+
// 'FilterRepository',
|
|
579
|
+
// 'CategoryCollectionChildrenRepository',
|
|
580
|
+
// 'WishlistRepository',
|
|
581
|
+
// ]),
|
|
582
|
+
// ...(isNil(options?.firebase?.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
|
+
// ],
|
|
610
611
|
};
|
|
611
612
|
}
|
|
612
613
|
};
|