@punks/backend-entity-manager 0.0.397 → 0.0.399

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.
Files changed (28) hide show
  1. package/dist/cjs/index.js +60 -0
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/platforms/nest/decorators/pipelines.d.ts +1 -0
  4. package/dist/cjs/types/platforms/nest/extensions/authentication/module.d.ts +4 -0
  5. package/dist/cjs/types/platforms/nest/extensions/jobs/module.d.ts +4 -0
  6. package/dist/cjs/types/platforms/nest/plugins/buckets/aws-s3/module.d.ts +4 -0
  7. package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/module.d.ts +4 -0
  8. package/dist/cjs/types/platforms/nest/plugins/email/aws-ses/module.d.ts +4 -0
  9. package/dist/cjs/types/platforms/nest/plugins/email/sendgrid/module.d.ts +4 -0
  10. package/dist/cjs/types/platforms/nest/plugins/jobs/aws-batch/module.d.ts +4 -0
  11. package/dist/cjs/types/platforms/nest/plugins/media/aws-s3/module.d.ts +4 -0
  12. package/dist/cjs/types/platforms/nest/plugins/media/sanity/module.d.ts +4 -0
  13. package/dist/cjs/types/platforms/nest/plugins/secrets/aws-secrets-manager/module.d.ts +4 -0
  14. package/dist/esm/index.js +60 -0
  15. package/dist/esm/index.js.map +1 -1
  16. package/dist/esm/types/platforms/nest/decorators/pipelines.d.ts +1 -0
  17. package/dist/esm/types/platforms/nest/extensions/authentication/module.d.ts +4 -0
  18. package/dist/esm/types/platforms/nest/extensions/jobs/module.d.ts +4 -0
  19. package/dist/esm/types/platforms/nest/plugins/buckets/aws-s3/module.d.ts +4 -0
  20. package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/module.d.ts +4 -0
  21. package/dist/esm/types/platforms/nest/plugins/email/aws-ses/module.d.ts +4 -0
  22. package/dist/esm/types/platforms/nest/plugins/email/sendgrid/module.d.ts +4 -0
  23. package/dist/esm/types/platforms/nest/plugins/jobs/aws-batch/module.d.ts +4 -0
  24. package/dist/esm/types/platforms/nest/plugins/media/aws-s3/module.d.ts +4 -0
  25. package/dist/esm/types/platforms/nest/plugins/media/sanity/module.d.ts +4 -0
  26. package/dist/esm/types/platforms/nest/plugins/secrets/aws-secrets-manager/module.d.ts +4 -0
  27. package/dist/index.d.ts +41 -0
  28. package/package.json +1 -1
package/dist/cjs/index.js CHANGED
@@ -3004,6 +3004,9 @@ const ModuleData$a = {
3004
3004
  exports: [],
3005
3005
  };
3006
3006
  exports.AwsDynamoDbModule = AwsDynamoDbModule_1 = class AwsDynamoDbModule {
3007
+ /**
3008
+ * @deprecated use initialize instead
3009
+ */
3007
3010
  static forRoot(input) {
3008
3011
  awsDynamoDbSettings.initialize(input);
3009
3012
  return {
@@ -3011,6 +3014,9 @@ exports.AwsDynamoDbModule = AwsDynamoDbModule_1 = class AwsDynamoDbModule {
3011
3014
  ...ModuleData$a,
3012
3015
  };
3013
3016
  }
3017
+ static initialize(input) {
3018
+ awsDynamoDbSettings.initialize(input);
3019
+ }
3014
3020
  };
3015
3021
  exports.AwsDynamoDbModule = AwsDynamoDbModule_1 = __decorate([
3016
3022
  common.Module({
@@ -24614,6 +24620,9 @@ const ModuleData$8 = {
24614
24620
  exports: [...Services$2],
24615
24621
  };
24616
24622
  exports.AuthenticationModule = AuthenticationModule_1 = class AuthenticationModule {
24623
+ /**
24624
+ * @deprecated use initialize instead
24625
+ */
24617
24626
  static forRoot(input) {
24618
24627
  authSettings.initialize(input);
24619
24628
  return {
@@ -24621,6 +24630,9 @@ exports.AuthenticationModule = AuthenticationModule_1 = class AuthenticationModu
24621
24630
  ...ModuleData$8,
24622
24631
  };
24623
24632
  }
24633
+ static initialize(input) {
24634
+ authSettings.initialize(input);
24635
+ }
24624
24636
  configure(consumer) {
24625
24637
  consumer
24626
24638
  .apply(appSessionMiddleware)
@@ -34853,6 +34865,9 @@ exports.JobsModule = JobsModule_1 = class JobsModule {
34853
34865
  this.jobsScheduler.register();
34854
34866
  await this.jobsProviderFactory.initialize();
34855
34867
  }
34868
+ /**
34869
+ * @deprecated use initialize instead
34870
+ */
34856
34871
  static forRoot(input) {
34857
34872
  jobsSettings.initialize(input);
34858
34873
  return {
@@ -34860,6 +34875,9 @@ exports.JobsModule = JobsModule_1 = class JobsModule {
34860
34875
  ...ModuleData$7,
34861
34876
  };
34862
34877
  }
34878
+ static initialize(input) {
34879
+ jobsSettings.initialize(input);
34880
+ }
34863
34881
  };
34864
34882
  exports.JobsModule = JobsModule_1 = __decorate([
34865
34883
  common.Module({
@@ -35651,6 +35669,9 @@ const ModuleData$6 = {
35651
35669
  exports: [exports.AwsS3BucketProvider, AwsS3FileProvider],
35652
35670
  };
35653
35671
  exports.AwsBucketModule = AwsBucketModule_1 = class AwsBucketModule {
35672
+ /**
35673
+ * @deprecated use initialize instead
35674
+ */
35654
35675
  static forRoot(input) {
35655
35676
  awsBucketSettings.initialize(input);
35656
35677
  return {
@@ -35658,6 +35679,9 @@ exports.AwsBucketModule = AwsBucketModule_1 = class AwsBucketModule {
35658
35679
  ...ModuleData$6,
35659
35680
  };
35660
35681
  }
35682
+ static initialize(input) {
35683
+ awsBucketSettings.initialize(input);
35684
+ }
35661
35685
  };
35662
35686
  exports.AwsBucketModule = AwsBucketModule_1 = __decorate([
35663
35687
  common.Module({
@@ -40920,6 +40944,9 @@ const ModuleData$5 = {
40920
40944
  providers: [AwsSesEmailProvider],
40921
40945
  };
40922
40946
  exports.AwsEmailModule = AwsEmailModule_1 = class AwsEmailModule {
40947
+ /**
40948
+ * @deprecated use initialize instead
40949
+ */
40923
40950
  static forRoot(input) {
40924
40951
  awsSesSettings.initialize(input);
40925
40952
  return {
@@ -40927,6 +40954,9 @@ exports.AwsEmailModule = AwsEmailModule_1 = class AwsEmailModule {
40927
40954
  ...ModuleData$5,
40928
40955
  };
40929
40956
  }
40957
+ static initialize(input) {
40958
+ awsSesSettings.initialize(input);
40959
+ }
40930
40960
  };
40931
40961
  exports.AwsEmailModule = AwsEmailModule_1 = __decorate([
40932
40962
  common.Module({
@@ -41101,6 +41131,9 @@ const ModuleData$4 = {
41101
41131
  providers: [SendgridEmailProvider],
41102
41132
  };
41103
41133
  exports.SendgridEmailModule = SendgridEmailModule_1 = class SendgridEmailModule {
41134
+ /**
41135
+ * @deprecated use initialize instead
41136
+ */
41104
41137
  static forRoot(input) {
41105
41138
  sendgridSettings.initialize(input);
41106
41139
  return {
@@ -41108,6 +41141,9 @@ exports.SendgridEmailModule = SendgridEmailModule_1 = class SendgridEmailModule
41108
41141
  ...ModuleData$4,
41109
41142
  };
41110
41143
  }
41144
+ static initialize(input) {
41145
+ sendgridSettings.initialize(input);
41146
+ }
41111
41147
  };
41112
41148
  exports.SendgridEmailModule = SendgridEmailModule_1 = __decorate([
41113
41149
  common.Module({
@@ -41459,6 +41495,9 @@ const ModuleData$3 = {
41459
41495
  exports: [AwsJobsProvider],
41460
41496
  };
41461
41497
  exports.AwsJobsModule = AwsJobsModule_1 = class AwsJobsModule {
41498
+ /**
41499
+ * @deprecated use initialize instead
41500
+ */
41462
41501
  static forRoot(input) {
41463
41502
  awsBatchSettings.initialize(input);
41464
41503
  return {
@@ -41466,6 +41505,9 @@ exports.AwsJobsModule = AwsJobsModule_1 = class AwsJobsModule {
41466
41505
  ...ModuleData$3,
41467
41506
  };
41468
41507
  }
41508
+ static initialize(input) {
41509
+ awsBatchSettings.initialize(input);
41510
+ }
41469
41511
  };
41470
41512
  exports.AwsJobsModule = AwsJobsModule_1 = __decorate([
41471
41513
  common.Module({
@@ -41577,6 +41619,9 @@ const ModuleData$2 = {
41577
41619
  providers: [exports.AwsS3MediaProvider],
41578
41620
  };
41579
41621
  exports.AwsS3MediaModule = AwsS3MediaModule_1 = class AwsS3MediaModule {
41622
+ /**
41623
+ * @deprecated use initialize instead
41624
+ */
41580
41625
  static forRoot(input) {
41581
41626
  awsMediaSettings.initialize(input);
41582
41627
  return {
@@ -41584,6 +41629,9 @@ exports.AwsS3MediaModule = AwsS3MediaModule_1 = class AwsS3MediaModule {
41584
41629
  ...ModuleData$2,
41585
41630
  };
41586
41631
  }
41632
+ static initialize(input) {
41633
+ awsMediaSettings.initialize(input);
41634
+ }
41587
41635
  };
41588
41636
  exports.AwsS3MediaModule = AwsS3MediaModule_1 = __decorate([
41589
41637
  common.Module({
@@ -44545,6 +44593,9 @@ const ModuleData$1 = {
44545
44593
  providers: [exports.SanityMediaProvider],
44546
44594
  };
44547
44595
  exports.SanityMediaModule = SanityMediaModule_1 = class SanityMediaModule {
44596
+ /**
44597
+ * @deprecated use initialize instead
44598
+ */
44548
44599
  static forRoot(input) {
44549
44600
  sanityMediaSettings.initialize(input);
44550
44601
  return {
@@ -44552,6 +44603,9 @@ exports.SanityMediaModule = SanityMediaModule_1 = class SanityMediaModule {
44552
44603
  ...ModuleData$1,
44553
44604
  };
44554
44605
  }
44606
+ static initialize(input) {
44607
+ sanityMediaSettings.initialize(input);
44608
+ }
44555
44609
  };
44556
44610
  exports.SanityMediaModule = SanityMediaModule_1 = __decorate([
44557
44611
  common.Module({
@@ -44780,6 +44834,9 @@ const ModuleData = {
44780
44834
  providers: [exports.AwsSecretsProvider],
44781
44835
  };
44782
44836
  exports.AwsSecretsModule = AwsSecretsModule_1 = class AwsSecretsModule {
44837
+ /**
44838
+ * @deprecated use initialize instead
44839
+ */
44783
44840
  static forRoot(input) {
44784
44841
  awsSecretsSettings.initialize(input);
44785
44842
  return {
@@ -44787,6 +44844,9 @@ exports.AwsSecretsModule = AwsSecretsModule_1 = class AwsSecretsModule {
44787
44844
  ...ModuleData,
44788
44845
  };
44789
44846
  }
44847
+ static initialize(input) {
44848
+ awsSecretsSettings.initialize(input);
44849
+ }
44790
44850
  };
44791
44851
  exports.AwsSecretsModule = AwsSecretsModule_1 = __decorate([
44792
44852
  common.Module({