@infrab4a/connect-nestjs 1.0.0-beta.4 → 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 +94 -2
- package/index.esm.js +94 -2
- 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,12 +533,33 @@ 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
|
|
|
510
559
|
var NestConnectModule_1;
|
|
511
560
|
exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
512
561
|
static initializeApp(options) {
|
|
562
|
+
var _a;
|
|
513
563
|
return {
|
|
514
564
|
module: NestConnectModule_1,
|
|
515
565
|
imports: [
|
|
@@ -518,8 +568,50 @@ exports.NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
518
568
|
}),
|
|
519
569
|
...(connect.isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [exports.NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
520
570
|
],
|
|
521
|
-
|
|
522
|
-
|
|
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
|
+
],
|
|
523
615
|
};
|
|
524
616
|
}
|
|
525
617
|
};
|
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,12 +529,33 @@ 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
|
|
|
506
555
|
var NestConnectModule_1;
|
|
507
556
|
let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
508
557
|
static initializeApp(options) {
|
|
558
|
+
var _a;
|
|
509
559
|
return {
|
|
510
560
|
module: NestConnectModule_1,
|
|
511
561
|
imports: [
|
|
@@ -514,8 +564,50 @@ let NestConnectModule = NestConnectModule_1 = class NestConnectModule {
|
|
|
514
564
|
}),
|
|
515
565
|
...(isNil(options === null || options === void 0 ? void 0 : options.hasura) ? [] : [NestHasuraGraphQLModule.initializeApp(options.hasura)]),
|
|
516
566
|
],
|
|
517
|
-
|
|
518
|
-
|
|
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
|
+
],
|
|
519
611
|
};
|
|
520
612
|
}
|
|
521
613
|
};
|