@darraghor/nest-backend-libs 2.6.0 → 2.8.0

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 (177) hide show
  1. package/dist/authz/AccessToken.js +1 -2
  2. package/dist/authz/AuthConfigurationService.js +13 -15
  3. package/dist/authz/AuthConfigurationService.js.map +1 -1
  4. package/dist/authz/AuthConfigurationVariables.js +2 -4
  5. package/dist/authz/AuthConfigurationVariables.js.map +1 -1
  6. package/dist/authz/ClaimsAuthorisationGuard.js +9 -13
  7. package/dist/authz/ClaimsAuthorisationGuard.js.map +1 -1
  8. package/dist/authz/DefaultAuthGuard.js +5 -8
  9. package/dist/authz/DefaultAuthGuard.js.map +1 -1
  10. package/dist/authz/MandatoryUserClaims.decorator.js +2 -6
  11. package/dist/authz/MandatoryUserClaims.decorator.js.map +1 -1
  12. package/dist/authz/RequestWithUser.js +1 -2
  13. package/dist/authz/authz.module.js +17 -23
  14. package/dist/authz/authz.module.js.map +1 -1
  15. package/dist/authz/authzstrategy.js +18 -22
  16. package/dist/authz/authzstrategy.js.map +1 -1
  17. package/dist/authzclient/AuthClientConfigurationService.js +11 -13
  18. package/dist/authzclient/AuthClientConfigurationService.js.map +1 -1
  19. package/dist/authzclient/AuthClientConfigurationVariables.js +2 -4
  20. package/dist/authzclient/AuthClientConfigurationVariables.js.map +1 -1
  21. package/dist/authzclient/AuthzClientProvider.js +5 -8
  22. package/dist/authzclient/AuthzClientProvider.js.map +1 -1
  23. package/dist/authzclient/UserProfile.dto.js +21 -5
  24. package/dist/authzclient/UserProfile.dto.js.map +1 -1
  25. package/dist/authzclient/authz-client.module.js +13 -19
  26. package/dist/authzclient/authz-client.module.js.map +1 -1
  27. package/dist/authzclient/authz.service.js +10 -14
  28. package/dist/authzclient/authz.service.js.map +1 -1
  29. package/dist/cli/cli.js +7 -12
  30. package/dist/cli/cli.js.map +1 -1
  31. package/dist/cli/commands/WriteApiClientCommand.js +8 -17
  32. package/dist/cli/commands/WriteApiClientCommand.js.map +1 -1
  33. package/dist/cli/commands/WriteTypeOrmConfigCommand.js +13 -22
  34. package/dist/cli/commands/WriteTypeOrmConfigCommand.js.map +1 -1
  35. package/dist/configuration/ValidatedConfigurationService.js +5 -8
  36. package/dist/configuration/ValidatedConfigurationService.js.map +1 -1
  37. package/dist/core-config/CoreConfig.module.js +9 -15
  38. package/dist/core-config/CoreConfig.module.js.map +1 -1
  39. package/dist/core-config/CoreConfigurationService.js +23 -25
  40. package/dist/core-config/CoreConfigurationService.js.map +1 -1
  41. package/dist/core-config/CoreConfigurationVariables.js +2 -4
  42. package/dist/core-config/CoreConfigurationVariables.js.map +1 -1
  43. package/dist/database-postgres/PostgresDatabase.module.js +11 -14
  44. package/dist/database-postgres/PostgresDatabase.module.js.map +1 -1
  45. package/dist/database-postgres/PostgresDatabaseConfigurationService.js +5 -8
  46. package/dist/database-postgres/PostgresDatabaseConfigurationService.js.map +1 -1
  47. package/dist/database-postgres/PostgresTypeOrmConfigurationProvider.js +5 -12
  48. package/dist/database-postgres/PostgresTypeOrmConfigurationProvider.js.map +1 -1
  49. package/dist/database-sqlite/SqliteDatabase.module.js +11 -14
  50. package/dist/database-sqlite/SqliteDatabase.module.js.map +1 -1
  51. package/dist/database-sqlite/SqliteDatabaseConfigurationService.js +5 -8
  52. package/dist/database-sqlite/SqliteDatabaseConfigurationService.js.map +1 -1
  53. package/dist/database-sqlite/SqliteTypeOrmConfigurationProvider.js +5 -12
  54. package/dist/database-sqlite/SqliteTypeOrmConfigurationProvider.js.map +1 -1
  55. package/dist/index.js +30 -64
  56. package/dist/index.js.map +1 -1
  57. package/dist/invitations/InvitationConfigurationService.js +11 -13
  58. package/dist/invitations/InvitationConfigurationService.js.map +1 -1
  59. package/dist/invitations/InvitationConfigurationVariables.js +2 -4
  60. package/dist/invitations/InvitationConfigurationVariables.js.map +1 -1
  61. package/dist/invitations/dto/create-invitation.dto.js +8 -9
  62. package/dist/invitations/dto/create-invitation.dto.js.map +1 -1
  63. package/dist/invitations/entities/invitation.entity.js +41 -33
  64. package/dist/invitations/entities/invitation.entity.js.map +1 -1
  65. package/dist/invitations/invitation.controller.js +22 -24
  66. package/dist/invitations/invitation.controller.js.map +1 -1
  67. package/dist/invitations/invitation.module.js +21 -27
  68. package/dist/invitations/invitation.module.js.map +1 -1
  69. package/dist/invitations/invitation.service.js +22 -21
  70. package/dist/invitations/invitation.service.js.map +1 -1
  71. package/dist/logger/CoreLoggerService.js +9 -9
  72. package/dist/logger/CoreLoggerService.js.map +1 -1
  73. package/dist/logger/LoggingConfigurationService.js +13 -15
  74. package/dist/logger/LoggingConfigurationService.js.map +1 -1
  75. package/dist/logger/LoggingConfigurationVariables.js +2 -4
  76. package/dist/logger/LoggingConfigurationVariables.js.map +1 -1
  77. package/dist/logger/LoggingInterceptor.js +8 -13
  78. package/dist/logger/LoggingInterceptor.js.map +1 -1
  79. package/dist/logger/logger.module.js +14 -20
  80. package/dist/logger/logger.module.js.map +1 -1
  81. package/dist/organisation/dto/RolesEnum.js +2 -5
  82. package/dist/organisation/dto/RolesEnum.js.map +1 -1
  83. package/dist/organisation/dto/create-organisation.dto.js +10 -11
  84. package/dist/organisation/dto/create-organisation.dto.js.map +1 -1
  85. package/dist/organisation/dto/update-organisation.dto.js +3 -7
  86. package/dist/organisation/dto/update-organisation.dto.js.map +1 -1
  87. package/dist/organisation/entities/member-role.entity.js +27 -23
  88. package/dist/organisation/entities/member-role.entity.js.map +1 -1
  89. package/dist/organisation/entities/organisation-membership.entity.js +47 -40
  90. package/dist/organisation/entities/organisation-membership.entity.js.map +1 -1
  91. package/dist/organisation/entities/organisation.entity.js +34 -29
  92. package/dist/organisation/entities/organisation.entity.js.map +1 -1
  93. package/dist/organisation/organisation.controller.js +30 -32
  94. package/dist/organisation/organisation.controller.js.map +1 -1
  95. package/dist/organisation/organisation.module.js +12 -15
  96. package/dist/organisation/organisation.module.js.map +1 -1
  97. package/dist/organisation/organisation.service.js +21 -23
  98. package/dist/organisation/organisation.service.js.map +1 -1
  99. package/dist/person/dto/create-person.dto.js +1 -5
  100. package/dist/person/dto/create-person.dto.js.map +1 -1
  101. package/dist/person/dto/update-person.dto.js +3 -7
  102. package/dist/person/dto/update-person.dto.js.map +1 -1
  103. package/dist/person/entities/person.entity.js +56 -44
  104. package/dist/person/entities/person.entity.js.map +1 -1
  105. package/dist/person/person.controller.js +26 -28
  106. package/dist/person/person.controller.js.map +1 -1
  107. package/dist/person/person.module.js +15 -18
  108. package/dist/person/person.module.js.map +1 -1
  109. package/dist/person/person.service.js +25 -28
  110. package/dist/person/person.service.js.map +1 -1
  111. package/dist/root-app/SwaggerGen.js +17 -21
  112. package/dist/root-app/SwaggerGen.js.map +1 -1
  113. package/dist/root-app/app.controller.js +19 -23
  114. package/dist/root-app/app.controller.js.map +1 -1
  115. package/dist/root-app/app.service.js +3 -6
  116. package/dist/root-app/app.service.js.map +1 -1
  117. package/dist/root-app/core-app.module.js +26 -32
  118. package/dist/root-app/core-app.module.js.map +1 -1
  119. package/dist/root-app/notfound.interceptor.js +7 -9
  120. package/dist/root-app/notfound.interceptor.js.map +1 -1
  121. package/dist/runningCommandLine/CliCommandService.js +9 -14
  122. package/dist/runningCommandLine/CliCommandService.js.map +1 -1
  123. package/dist/runningCommandLine/RunningCommandLine.module.js +9 -12
  124. package/dist/runningCommandLine/RunningCommandLine.module.js.map +1 -1
  125. package/dist/smtp-email-client/EmailClientProvider.js +5 -8
  126. package/dist/smtp-email-client/EmailClientProvider.js.map +1 -1
  127. package/dist/smtp-email-client/EmailConfigurationService.js +25 -27
  128. package/dist/smtp-email-client/EmailConfigurationService.js.map +1 -1
  129. package/dist/smtp-email-client/EmailConfigurationVariables.js +2 -4
  130. package/dist/smtp-email-client/EmailConfigurationVariables.js.map +1 -1
  131. package/dist/smtp-email-client/email-client.service.js +20 -21
  132. package/dist/smtp-email-client/email-client.service.js.map +1 -1
  133. package/dist/smtp-email-client/email.controller.js +13 -15
  134. package/dist/smtp-email-client/email.controller.js.map +1 -1
  135. package/dist/smtp-email-client/email.entity.js +44 -35
  136. package/dist/smtp-email-client/email.entity.js.map +1 -1
  137. package/dist/smtp-email-client/smtp-email-client.module.js +26 -32
  138. package/dist/smtp-email-client/smtp-email-client.module.js.map +1 -1
  139. package/dist/smtp-email-client/smtp-email-handler.js +19 -21
  140. package/dist/smtp-email-client/smtp-email-handler.js.map +1 -1
  141. package/dist/stripe-client/StripeClientConfigurationService.js +15 -17
  142. package/dist/stripe-client/StripeClientConfigurationService.js.map +1 -1
  143. package/dist/stripe-client/StripeClientProvider.js +5 -11
  144. package/dist/stripe-client/StripeClientProvider.js.map +1 -1
  145. package/dist/stripe-client/StripeConfigurationVariables.js +2 -4
  146. package/dist/stripe-client/StripeConfigurationVariables.js.map +1 -1
  147. package/dist/stripe-client/models/StripeCheckoutSessionParams.js +27 -24
  148. package/dist/stripe-client/models/StripeCheckoutSessionParams.js.map +1 -1
  149. package/dist/stripe-client/services/stripe-checkout.service.js +13 -16
  150. package/dist/stripe-client/services/stripe-checkout.service.js.map +1 -1
  151. package/dist/stripe-client/services/stripe-event-handler.js +13 -18
  152. package/dist/stripe-client/services/stripe-event-handler.js.map +1 -1
  153. package/dist/stripe-client/services/stripe-webhook-handler.service.js +17 -19
  154. package/dist/stripe-client/services/stripe-webhook-handler.service.js.map +1 -1
  155. package/dist/stripe-client/stripe-account.module.js +22 -28
  156. package/dist/stripe-client/stripe-account.module.js.map +1 -1
  157. package/dist/stripe-client/stripe-controller.js +29 -30
  158. package/dist/stripe-client/stripe-controller.js.map +1 -1
  159. package/dist/testing/preRun.js +1 -3
  160. package/dist/testing/preRun.js.map +1 -1
  161. package/dist/twitter-client/TwitterClientConfigurationService.js +17 -19
  162. package/dist/twitter-client/TwitterClientConfigurationService.js.map +1 -1
  163. package/dist/twitter-client/TwitterClientProvider.js +5 -8
  164. package/dist/twitter-client/TwitterClientProvider.js.map +1 -1
  165. package/dist/twitter-client/TwitterConfigurationVariables.js +2 -4
  166. package/dist/twitter-client/TwitterConfigurationVariables.js.map +1 -1
  167. package/dist/twitter-client/services/twitter-client.service.js +10 -14
  168. package/dist/twitter-client/services/twitter-client.service.js.map +1 -1
  169. package/dist/twitter-client/twitter-account.module.js +15 -21
  170. package/dist/twitter-client/twitter-account.module.js.map +1 -1
  171. package/package.json +3 -2
  172. package/dist/database-postgres/write-typeorm-config.d.ts +0 -2
  173. package/dist/database-postgres/write-typeorm-config.js +0 -14
  174. package/dist/database-postgres/write-typeorm-config.js.map +0 -1
  175. package/dist/database-sqlite/write-typeorm-config.d.ts +0 -1
  176. package/dist/database-sqlite/write-typeorm-config.js +0 -13
  177. package/dist/database-sqlite/write-typeorm-config.js.map +0 -1
@@ -1,12 +1,6 @@
1
- "use strict";
2
1
  /* eslint-disable unicorn/prefer-module */
3
- var __importDefault = (this && this.__importDefault) || function (mod) {
4
- return (mod && mod.__esModule) ? mod : { "default": mod };
5
- };
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SqliteTypeOrmConfigurationProvider = void 0;
8
- const path_1 = __importDefault(require("path"));
9
- class SqliteTypeOrmConfigurationProvider {
2
+ import path from "path";
3
+ export class SqliteTypeOrmConfigurationProvider {
10
4
  /**
11
5
  * This method uses process.env directly because it is also used in a node script that doesn't have access
12
6
  * to NestJS injection.
@@ -14,12 +8,12 @@ class SqliteTypeOrmConfigurationProvider {
14
8
  */
15
9
  static getTypeOrmConfig() {
16
10
  console.log("DIRNAME", __dirname);
17
- const nodeModuleCorePath = path_1.default.join(__dirname, process.env.CORE_MODULE_ENTITY_PATH || "..", "**", "*.entity.{ts,js}");
11
+ const nodeModuleCorePath = path.join(__dirname, process.env.CORE_MODULE_ENTITY_PATH || "..", "**", "*.entity.{ts,js}");
18
12
  console.log("Using core entity path:", nodeModuleCorePath);
19
- const appModulePath = path_1.default.join(__dirname, process.env.APP_MODULE_ENTITY_PATH ||
13
+ const appModulePath = path.join(__dirname, process.env.APP_MODULE_ENTITY_PATH ||
20
14
  "../../../../../apps/backend/dist", "**", "*.entity.{ts,js}");
21
15
  console.log("Using application entity path:", appModulePath);
22
- const migrationsPath = path_1.default.join(__dirname, process.env.MIGRATIONS_PATH || "../../../../../apps/backend/dist", "**", "migrations", "*.{ts,js}");
16
+ const migrationsPath = path.join(__dirname, process.env.MIGRATIONS_PATH || "../../../../../apps/backend/dist", "**", "migrations", "*.{ts,js}");
23
17
  console.log("Using migration path:", migrationsPath);
24
18
  return {
25
19
  type: "sqlite",
@@ -36,5 +30,4 @@ class SqliteTypeOrmConfigurationProvider {
36
30
  };
37
31
  }
38
32
  }
39
- exports.SqliteTypeOrmConfigurationProvider = SqliteTypeOrmConfigurationProvider;
40
33
  //# sourceMappingURL=SqliteTypeOrmConfigurationProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SqliteTypeOrmConfigurationProvider.js","sourceRoot":"","sources":["../../src/database-sqlite/SqliteTypeOrmConfigurationProvider.ts"],"names":[],"mappings":";AAAA,0CAA0C;;;;;;AAG1C,gDAAwB;AAGxB,MAAa,kCAAkC;IAC3C;;;;OAIG;IACI,MAAM,CAAC,gBAAgB;QAC1B,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAClC,MAAM,kBAAkB,GAAG,cAAI,CAAC,IAAI,CAChC,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,IAAI,EAC3C,IAAI,EACJ,kBAAkB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;QAE3D,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAC3B,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,sBAAsB;YAC9B,kCAAkC,EACtC,IAAI,EACJ,kBAAkB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,aAAa,CAAC,CAAC;QAE7D,MAAM,cAAc,GAAG,cAAI,CAAC,IAAI,CAC5B,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,kCAAkC,EACjE,IAAI,EACJ,YAAY,EACZ,WAAW,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,cAAc,CAAC,CAAC;QAErD,OAAO;YACH,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,wBAAwB;YAC9C,OAAO,EAAE,KAAK;YACd,mBAAmB,EAAE,YAAY;YACjC,aAAa,EAAE,KAAK;YACpB,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE,CAAC,kBAAkB,EAAE,aAAa,CAAC;YAC7C,UAAU,EAAE,CAAC,cAAc,CAAC;YAC5B,GAAG,EAAE;gBACD,aAAa,EAAE,gBAAgB;aAClC;SACiB,CAAC;IAC3B,CAAC;CACJ;AAhDD,gFAgDC"}
1
+ {"version":3,"file":"SqliteTypeOrmConfigurationProvider.js","sourceRoot":"","sources":["../../src/database-sqlite/SqliteTypeOrmConfigurationProvider.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAG1C,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,MAAM,OAAO,kCAAkC;IAC3C;;;;OAIG;IACI,MAAM,CAAC,gBAAgB;QAC1B,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QAClC,MAAM,kBAAkB,GAAG,IAAI,CAAC,IAAI,CAChC,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,uBAAuB,IAAI,IAAI,EAC3C,IAAI,EACJ,kBAAkB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;QAE3D,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAC3B,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,sBAAsB;YAC9B,kCAAkC,EACtC,IAAI,EACJ,kBAAkB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,aAAa,CAAC,CAAC;QAE7D,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAC5B,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,kCAAkC,EACjE,IAAI,EACJ,YAAY,EACZ,WAAW,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,cAAc,CAAC,CAAC;QAErD,OAAO;YACH,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,wBAAwB;YAC9C,OAAO,EAAE,KAAK;YACd,mBAAmB,EAAE,YAAY;YACjC,aAAa,EAAE,KAAK;YACpB,WAAW,EAAE,KAAK;YAClB,QAAQ,EAAE,CAAC,kBAAkB,EAAE,aAAa,CAAC;YAC7C,UAAU,EAAE,CAAC,cAAc,CAAC;YAC5B,GAAG,EAAE;gBACD,aAAa,EAAE,gBAAgB;aAClC;SACiB,CAAC;IAC3B,CAAC;CACJ"}
package/dist/index.js CHANGED
@@ -1,66 +1,32 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.StripeEventHandler = exports.StripeAccountModule = exports.InvitationModule = exports.MandatoryUserClaims = exports.ClaimsAuthorisationGuard = exports.CliCommandService = exports.RunningCommandLineModule = exports.EUploadMimeType = exports.TwitterAccountModule = exports.TwitterClientService = exports.SqliteDatabaseConfigurationService = exports.SqliteDatabaseModule = exports.PersonService = exports.OrganisationModule = exports.PersonModule = exports.ValidatedConfigurationService = exports.SmtpEmailClient = exports.TypeOrmConfigurationProvider = exports.Person = exports.AuthzModule = exports.JwtStrategy = exports.DatabaseModule = exports.DefaultAuthGuard = exports.SwaggerGen = exports.CoreConfigModule = exports.CoreModule = exports.SmtpEmailClientModule = exports.CoreConfigurationService = exports.CoreLoggerService = void 0;
7
1
  /* eslint-disable unicorn/prefer-export-from */
8
- const RunningCommandLine_module_1 = require("./runningCommandLine/RunningCommandLine.module");
9
- Object.defineProperty(exports, "RunningCommandLineModule", { enumerable: true, get: function () { return RunningCommandLine_module_1.RunningCommandLineModule; } });
10
- const twitter_account_module_1 = require("./twitter-client/twitter-account.module");
11
- Object.defineProperty(exports, "TwitterAccountModule", { enumerable: true, get: function () { return twitter_account_module_1.TwitterAccountModule; } });
12
- const smtp_email_client_module_1 = require("./smtp-email-client/smtp-email-client.module");
13
- Object.defineProperty(exports, "SmtpEmailClientModule", { enumerable: true, get: function () { return smtp_email_client_module_1.SmtpEmailClientModule; } });
14
- const twitter_api_v2_1 = require("twitter-api-v2");
15
- Object.defineProperty(exports, "EUploadMimeType", { enumerable: true, get: function () { return twitter_api_v2_1.EUploadMimeType; } });
16
- const authz_module_1 = require("./authz/authz.module");
17
- Object.defineProperty(exports, "AuthzModule", { enumerable: true, get: function () { return authz_module_1.AuthzModule; } });
18
- const authzstrategy_1 = require("./authz/authzstrategy");
19
- Object.defineProperty(exports, "JwtStrategy", { enumerable: true, get: function () { return authzstrategy_1.JwtStrategy; } });
20
- const DefaultAuthGuard_1 = require("./authz/DefaultAuthGuard");
21
- Object.defineProperty(exports, "DefaultAuthGuard", { enumerable: true, get: function () { return DefaultAuthGuard_1.DefaultAuthGuard; } });
22
- const ValidatedConfigurationService_1 = require("./configuration/ValidatedConfigurationService");
23
- Object.defineProperty(exports, "ValidatedConfigurationService", { enumerable: true, get: function () { return ValidatedConfigurationService_1.ValidatedConfigurationService; } });
24
- const CoreConfigurationService_1 = require("./core-config/CoreConfigurationService");
25
- Object.defineProperty(exports, "CoreConfigurationService", { enumerable: true, get: function () { return CoreConfigurationService_1.CoreConfigurationService; } });
26
- const PostgresDatabase_module_1 = require("./database-postgres/PostgresDatabase.module");
27
- Object.defineProperty(exports, "DatabaseModule", { enumerable: true, get: function () { return PostgresDatabase_module_1.PostgresDatabaseModule; } });
28
- const PostgresTypeOrmConfigurationProvider_1 = require("./database-postgres/PostgresTypeOrmConfigurationProvider");
29
- Object.defineProperty(exports, "TypeOrmConfigurationProvider", { enumerable: true, get: function () { return PostgresTypeOrmConfigurationProvider_1.PostgresTypeOrmConfigurationProvider; } });
30
- const SqliteDatabase_module_1 = require("./database-sqlite/SqliteDatabase.module");
31
- Object.defineProperty(exports, "SqliteDatabaseModule", { enumerable: true, get: function () { return SqliteDatabase_module_1.SqliteDatabaseModule; } });
32
- const SqliteDatabaseConfigurationService_1 = require("./database-sqlite/SqliteDatabaseConfigurationService");
33
- Object.defineProperty(exports, "SqliteDatabaseConfigurationService", { enumerable: true, get: function () { return SqliteDatabaseConfigurationService_1.SqliteDatabaseConfigurationService; } });
34
- const email_client_service_1 = require("./smtp-email-client/email-client.service");
35
- Object.defineProperty(exports, "SmtpEmailClient", { enumerable: true, get: function () { return email_client_service_1.SmtpEmailClient; } });
36
- const CoreLoggerService_1 = __importDefault(require("./logger/CoreLoggerService"));
37
- exports.CoreLoggerService = CoreLoggerService_1.default;
38
- const organisation_module_1 = require("./organisation/organisation.module");
39
- Object.defineProperty(exports, "OrganisationModule", { enumerable: true, get: function () { return organisation_module_1.OrganisationModule; } });
40
- const person_entity_1 = require("./person/entities/person.entity");
41
- Object.defineProperty(exports, "Person", { enumerable: true, get: function () { return person_entity_1.Person; } });
42
- const person_module_1 = require("./person/person.module");
43
- Object.defineProperty(exports, "PersonModule", { enumerable: true, get: function () { return person_module_1.PersonModule; } });
44
- const person_service_1 = require("./person/person.service");
45
- Object.defineProperty(exports, "PersonService", { enumerable: true, get: function () { return person_service_1.PersonService; } });
46
- const core_app_module_1 = require("./root-app/core-app.module");
47
- Object.defineProperty(exports, "CoreModule", { enumerable: true, get: function () { return core_app_module_1.CoreModule; } });
48
- const SwaggerGen_1 = require("./root-app/SwaggerGen");
49
- Object.defineProperty(exports, "SwaggerGen", { enumerable: true, get: function () { return SwaggerGen_1.SwaggerGen; } });
50
- const twitter_client_service_1 = require("./twitter-client/services/twitter-client.service");
51
- Object.defineProperty(exports, "TwitterClientService", { enumerable: true, get: function () { return twitter_client_service_1.TwitterClientService; } });
52
- const CoreConfig_module_1 = require("./core-config/CoreConfig.module");
53
- Object.defineProperty(exports, "CoreConfigModule", { enumerable: true, get: function () { return CoreConfig_module_1.CoreConfigModule; } });
54
- const CliCommandService_1 = require("./runningCommandLine/CliCommandService");
55
- Object.defineProperty(exports, "CliCommandService", { enumerable: true, get: function () { return CliCommandService_1.CliCommandService; } });
56
- const ClaimsAuthorisationGuard_1 = require("./authz/ClaimsAuthorisationGuard");
57
- Object.defineProperty(exports, "ClaimsAuthorisationGuard", { enumerable: true, get: function () { return ClaimsAuthorisationGuard_1.ClaimsAuthorisationGuard; } });
58
- const MandatoryUserClaims_decorator_1 = require("./authz/MandatoryUserClaims.decorator");
59
- Object.defineProperty(exports, "MandatoryUserClaims", { enumerable: true, get: function () { return MandatoryUserClaims_decorator_1.MandatoryUserClaims; } });
60
- const invitation_module_1 = require("./invitations/invitation.module");
61
- Object.defineProperty(exports, "InvitationModule", { enumerable: true, get: function () { return invitation_module_1.InvitationModule; } });
62
- const stripe_account_module_1 = require("./stripe-client/stripe-account.module");
63
- Object.defineProperty(exports, "StripeAccountModule", { enumerable: true, get: function () { return stripe_account_module_1.StripeAccountModule; } });
64
- const stripe_event_handler_1 = require("./stripe-client/services/stripe-event-handler");
65
- Object.defineProperty(exports, "StripeEventHandler", { enumerable: true, get: function () { return stripe_event_handler_1.StripeEventHandler; } });
2
+ import { RunningCommandLineModule } from "./runningCommandLine/RunningCommandLine.module";
3
+ import { TwitterAccountModule } from "./twitter-client/twitter-account.module";
4
+ import { SmtpEmailClientModule } from "./smtp-email-client/smtp-email-client.module";
5
+ import { EUploadMimeType } from "twitter-api-v2";
6
+ import { AuthzModule } from "./authz/authz.module";
7
+ import { JwtStrategy } from "./authz/authzstrategy";
8
+ import { DefaultAuthGuard } from "./authz/DefaultAuthGuard";
9
+ import { ValidatedConfigurationService } from "./configuration/ValidatedConfigurationService";
10
+ import { CoreConfigurationService } from "./core-config/CoreConfigurationService";
11
+ import { PostgresDatabaseModule } from "./database-postgres/PostgresDatabase.module";
12
+ import { PostgresTypeOrmConfigurationProvider } from "./database-postgres/PostgresTypeOrmConfigurationProvider";
13
+ import { SqliteDatabaseModule } from "./database-sqlite/SqliteDatabase.module";
14
+ import { SqliteDatabaseConfigurationService } from "./database-sqlite/SqliteDatabaseConfigurationService";
15
+ import { SmtpEmailClient } from "./smtp-email-client/email-client.service";
16
+ import CoreLoggerService from "./logger/CoreLoggerService";
17
+ import { OrganisationModule } from "./organisation/organisation.module";
18
+ import { Person } from "./person/entities/person.entity";
19
+ import { PersonModule } from "./person/person.module";
20
+ import { PersonService } from "./person/person.service";
21
+ import { CoreModule } from "./root-app/core-app.module";
22
+ import { SwaggerGen } from "./root-app/SwaggerGen";
23
+ import { TwitterClientService } from "./twitter-client/services/twitter-client.service";
24
+ import { CoreConfigModule } from "./core-config/CoreConfig.module";
25
+ import { CliCommandService } from "./runningCommandLine/CliCommandService";
26
+ import { ClaimsAuthorisationGuard } from "./authz/ClaimsAuthorisationGuard";
27
+ import { MandatoryUserClaims } from "./authz/MandatoryUserClaims.decorator";
28
+ import { InvitationModule } from "./invitations/invitation.module";
29
+ import { StripeAccountModule } from "./stripe-client/stripe-account.module";
30
+ import { StripeEventHandler } from "./stripe-client/services/stripe-event-handler";
31
+ export { CoreLoggerService, CoreConfigurationService, SmtpEmailClientModule, CoreModule, CoreConfigModule, SwaggerGen, DefaultAuthGuard, PostgresDatabaseModule as DatabaseModule, JwtStrategy, AuthzModule, Person, PostgresTypeOrmConfigurationProvider as TypeOrmConfigurationProvider, SmtpEmailClient, ValidatedConfigurationService, PersonModule, OrganisationModule, PersonService, SqliteDatabaseModule, SqliteDatabaseConfigurationService, TwitterClientService, TwitterAccountModule, EUploadMimeType, RunningCommandLineModule, CliCommandService, ClaimsAuthorisationGuard, MandatoryUserClaims, InvitationModule, StripeAccountModule, StripeEventHandler, };
66
32
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@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AM,iCAAiC,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,oBAAoB,EAAC,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAC,iBAAiB,EAAC,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAC,wBAAwB,EAAC,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAC,kBAAkB,EAAC,MAAM,+CAA+C,CAAC;AAEjF,OAAO,EACH,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,sBAAsB,IAAI,cAAc,EACxC,WAAW,EACX,WAAW,EACX,MAAM,EACN,oCAAoC,IAAI,4BAA4B,EACpE,eAAe,EACf,6BAA6B,EAE7B,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,kCAAkC,EAClC,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,GACrB,CAAC"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -8,14 +7,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
7
  var __metadata = (this && this.__metadata) || function (k, v) {
9
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
9
  };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InvitationsConfigurationService = void 0;
13
10
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
14
- const common_1 = require("@nestjs/common");
15
- const config_1 = require("@nestjs/config");
16
- const class_validator_1 = require("class-validator");
17
- const ValidatedConfigurationService_1 = require("../configuration/ValidatedConfigurationService");
18
- let InvitationsConfigurationService = class InvitationsConfigurationService extends ValidatedConfigurationService_1.ValidatedConfigurationService {
11
+ import { Injectable } from "@nestjs/common";
12
+ import { ConfigService } from "@nestjs/config";
13
+ import { IsDefined, IsString } from "class-validator";
14
+ import { ValidatedConfigurationService } from "../configuration/ValidatedConfigurationService";
15
+ let InvitationsConfigurationService = class InvitationsConfigurationService extends ValidatedConfigurationService {
16
+ configService;
19
17
  constructor(configService) {
20
18
  super();
21
19
  this.configService = configService;
@@ -25,14 +23,14 @@ let InvitationsConfigurationService = class InvitationsConfigurationService exte
25
23
  }
26
24
  };
27
25
  __decorate([
28
- (0, class_validator_1.IsDefined)(),
29
- (0, class_validator_1.IsString)(),
26
+ IsDefined(),
27
+ IsString(),
30
28
  __metadata("design:type", String),
31
29
  __metadata("design:paramtypes", [])
32
30
  ], InvitationsConfigurationService.prototype, "baseUrl", null);
33
31
  InvitationsConfigurationService = __decorate([
34
- (0, common_1.Injectable)(),
35
- __metadata("design:paramtypes", [config_1.ConfigService])
32
+ Injectable(),
33
+ __metadata("design:paramtypes", [ConfigService])
36
34
  ], InvitationsConfigurationService);
37
- exports.InvitationsConfigurationService = InvitationsConfigurationService;
35
+ export { InvitationsConfigurationService };
38
36
  //# sourceMappingURL=InvitationConfigurationService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationConfigurationService.js","sourceRoot":"","sources":["../../src/invitations/InvitationConfigurationService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6DAA6D;AAC7D,2CAA0C;AAC1C,2CAA6C;AAC7C,qDAAoD;AACpD,kGAA6F;AAGtF,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,6DAA6B;IAC9E,YAAoB,aAA4B;QAC5C,KAAK,EAAE,CAAC;QADQ,kBAAa,GAAb,aAAa,CAAe;IAEhD,CAAC;IAED,IAEI,OAAO;QACP,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAS,qBAAqB,CAAE,CAAC;IAClE,CAAC;CACJ,CAAA;AALG;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAQ,GAAE;;;8DAGV;AATQ,+BAA+B;IAD3C,IAAA,mBAAU,GAAE;qCAE0B,sBAAa;GADvC,+BAA+B,CAU3C;AAVY,0EAA+B"}
1
+ {"version":3,"file":"InvitationConfigurationService.js","sourceRoot":"","sources":["../../src/invitations/InvitationConfigurationService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6DAA6D;AAC7D,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,6BAA6B,EAAC,MAAM,gDAAgD,CAAC;AAGtF,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,6BAA6B;IAC1D;IAApB,YAAoB,aAA4B;QAC5C,KAAK,EAAE,CAAC;QADQ,kBAAa,GAAb,aAAa,CAAe;IAEhD,CAAC;IAED,IAEI,OAAO;QACP,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAS,qBAAqB,CAAE,CAAC;IAClE,CAAC;CACJ,CAAA;AALG;IAAC,SAAS,EAAE;IACX,QAAQ,EAAE;;;8DAGV;AATQ,+BAA+B;IAD3C,UAAU,EAAE;qCAE0B,aAAa;GADvC,+BAA+B,CAU3C;SAVY,+BAA+B"}
@@ -1,7 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const config_1 = require("@nestjs/config");
4
- exports.default = (0, config_1.registerAs)("invitations", () => ({
1
+ import { registerAs } from "@nestjs/config";
2
+ export default registerAs("invitations", () => ({
5
3
  baseUrl: process.env.INVITATION_URLS_BASE_URL,
6
4
  }));
7
5
  //# sourceMappingURL=InvitationConfigurationVariables.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationConfigurationVariables.js","sourceRoot":"","sources":["../../src/invitations/InvitationConfigurationVariables.ts"],"names":[],"mappings":";;AAAA,2CAA0C;AAE1C,kBAAe,IAAA,mBAAU,EAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,wBAAwB;CAChD,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"InvitationConfigurationVariables.js","sourceRoot":"","sources":["../../src/invitations/InvitationConfigurationVariables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,eAAe,UAAU,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,wBAAwB;CAChD,CAAC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -8,22 +7,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
7
  var __metadata = (this && this.__metadata) || function (k, v) {
9
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
9
  };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreateInvitationDto = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
- class CreateInvitationDto {
10
+ import { ApiProperty } from "@nestjs/swagger";
11
+ export class CreateInvitationDto {
12
+ givenName;
13
+ emailAddress;
14
+ organisationId;
15
15
  }
16
16
  __decorate([
17
- (0, swagger_1.ApiProperty)(),
17
+ ApiProperty(),
18
18
  __metadata("design:type", String)
19
19
  ], CreateInvitationDto.prototype, "givenName", void 0);
20
20
  __decorate([
21
- (0, swagger_1.ApiProperty)(),
21
+ ApiProperty(),
22
22
  __metadata("design:type", String)
23
23
  ], CreateInvitationDto.prototype, "emailAddress", void 0);
24
24
  __decorate([
25
- (0, swagger_1.ApiProperty)(),
25
+ ApiProperty(),
26
26
  __metadata("design:type", Number)
27
27
  ], CreateInvitationDto.prototype, "organisationId", void 0);
28
- exports.CreateInvitationDto = CreateInvitationDto;
29
28
  //# sourceMappingURL=create-invitation.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-invitation.dto.js","sourceRoot":"","sources":["../../../src/invitations/dto/create-invitation.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4C;AAE5C,MAAa,mBAAmB;CAS/B;AARG;IAAC,IAAA,qBAAW,GAAE;;sDACK;AAEnB;IAAC,IAAA,qBAAW,GAAE;;yDACQ;AAEtB;IAAC,IAAA,qBAAW,GAAE;;2DACU;AAR5B,kDASC"}
1
+ {"version":3,"file":"create-invitation.dto.js","sourceRoot":"","sources":["../../../src/invitations/dto/create-invitation.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAE5C,MAAM,OAAO,mBAAmB;IAE5B,SAAS,CAAU;IAGnB,YAAY,CAAU;IAGtB,cAAc,CAAU;CAC3B;AARG;IAAC,WAAW,EAAE;;sDACK;AAEnB;IAAC,WAAW,EAAE;;yDACQ;AAEtB;IAAC,WAAW,EAAE;;2DACU"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -8,78 +7,87 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
7
  var __metadata = (this && this.__metadata) || function (k, v) {
9
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
9
  };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.Invitation = void 0;
13
- const swagger_1 = require("@nestjs/swagger");
14
- const typeorm_1 = require("typeorm");
15
- const organisation_entity_1 = require("../../organisation/entities/organisation.entity");
10
+ import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
11
+ import { Column, CreateDateColumn, DeleteDateColumn, Entity, Generated, ManyToOne, PrimaryGeneratedColumn, UpdateDateColumn, } from "typeorm";
12
+ import { Organisation } from "../../organisation/entities/organisation.entity";
16
13
  let Invitation = class Invitation {
14
+ id;
15
+ uuid;
16
+ givenName;
17
+ emailAddress;
18
+ notificationSent;
19
+ expiresOn;
20
+ acceptedOn;
21
+ organisation;
22
+ createdDate;
23
+ updateDate;
24
+ deletedDate;
17
25
  };
18
26
  __decorate([
19
- (0, typeorm_1.PrimaryGeneratedColumn)(),
20
- (0, swagger_1.ApiProperty)(),
27
+ PrimaryGeneratedColumn(),
28
+ ApiProperty(),
21
29
  __metadata("design:type", Number)
22
30
  ], Invitation.prototype, "id", void 0);
23
31
  __decorate([
24
- (0, typeorm_1.Column)("uuid", {
32
+ Column("uuid", {
25
33
  name: "uuid",
26
34
  default: () => "uuid_generate_v4()",
27
35
  }),
28
- (0, typeorm_1.Generated)("uuid"),
29
- (0, swagger_1.ApiProperty)(),
36
+ Generated("uuid"),
37
+ ApiProperty(),
30
38
  __metadata("design:type", String)
31
39
  ], Invitation.prototype, "uuid", void 0);
32
40
  __decorate([
33
- (0, typeorm_1.Column)(),
34
- (0, swagger_1.ApiProperty)(),
41
+ Column(),
42
+ ApiProperty(),
35
43
  __metadata("design:type", String)
36
44
  ], Invitation.prototype, "givenName", void 0);
37
45
  __decorate([
38
- (0, typeorm_1.Column)(),
39
- (0, swagger_1.ApiProperty)(),
46
+ Column(),
47
+ ApiProperty(),
40
48
  __metadata("design:type", String)
41
49
  ], Invitation.prototype, "emailAddress", void 0);
42
50
  __decorate([
43
- (0, typeorm_1.Column)(),
44
- (0, swagger_1.ApiProperty)(),
51
+ Column(),
52
+ ApiProperty(),
45
53
  __metadata("design:type", Date)
46
54
  ], Invitation.prototype, "notificationSent", void 0);
47
55
  __decorate([
48
- (0, typeorm_1.Column)(),
49
- (0, swagger_1.ApiProperty)(),
56
+ Column(),
57
+ ApiProperty(),
50
58
  __metadata("design:type", Date)
51
59
  ], Invitation.prototype, "expiresOn", void 0);
52
60
  __decorate([
53
- (0, typeorm_1.Column)(),
54
- (0, swagger_1.ApiPropertyOptional)(),
61
+ Column(),
62
+ ApiPropertyOptional(),
55
63
  __metadata("design:type", Date)
56
64
  ], Invitation.prototype, "acceptedOn", void 0);
57
65
  __decorate([
58
- (0, typeorm_1.Column)(),
59
- (0, swagger_1.ApiProperty)(),
60
- (0, typeorm_1.ManyToOne)(() => organisation_entity_1.Organisation, (org) => org.invitations, {
66
+ Column(),
67
+ ApiProperty(),
68
+ ManyToOne(() => Organisation, (org) => org.invitations, {
61
69
  eager: true,
62
70
  cascade: ["insert", "update"],
63
71
  }),
64
- __metadata("design:type", organisation_entity_1.Organisation)
72
+ __metadata("design:type", Organisation)
65
73
  ], Invitation.prototype, "organisation", void 0);
66
74
  __decorate([
67
- (0, typeorm_1.CreateDateColumn)(),
68
- (0, swagger_1.ApiProperty)(),
75
+ CreateDateColumn(),
76
+ ApiProperty(),
69
77
  __metadata("design:type", Date)
70
78
  ], Invitation.prototype, "createdDate", void 0);
71
79
  __decorate([
72
- (0, typeorm_1.UpdateDateColumn)(),
73
- (0, swagger_1.ApiProperty)(),
80
+ UpdateDateColumn(),
81
+ ApiProperty(),
74
82
  __metadata("design:type", Date)
75
83
  ], Invitation.prototype, "updateDate", void 0);
76
84
  __decorate([
77
- (0, typeorm_1.DeleteDateColumn)(),
78
- (0, swagger_1.ApiPropertyOptional)(),
85
+ DeleteDateColumn(),
86
+ ApiPropertyOptional(),
79
87
  __metadata("design:type", Date)
80
88
  ], Invitation.prototype, "deletedDate", void 0);
81
89
  Invitation = __decorate([
82
- (0, typeorm_1.Entity)()
90
+ Entity()
83
91
  ], Invitation);
84
- exports.Invitation = Invitation;
92
+ export { Invitation };
85
93
  //# sourceMappingURL=invitation.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.entity.js","sourceRoot":"","sources":["../../../src/invitations/entities/invitation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAiE;AAEjE,qCASiB;AACjB,yFAA6E;AAGtE,IAAM,UAAU,GAAhB,MAAM,UAAU;CAoDtB,CAAA;AAnDG;IAAC,IAAA,gCAAsB,GAAE;IACxB,IAAA,qBAAW,GAAE;;sCACF;AAEZ;IAAC,IAAA,gBAAM,EAAC,MAAM,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB;KACtC,CAAC;IACD,IAAA,mBAAS,EAAC,MAAM,CAAC;IACjB,IAAA,qBAAW,GAAE;;wCACO;AAErB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;6CACK;AAEnB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;gDACQ;AAEtB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACK,IAAI;oDAAC;AAExB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACF,IAAI;6CAAC;AAEjB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,6BAAmB,GAAE;8BACT,IAAI;8CAAC;AAElB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;IACb,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kCAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE;QACrD,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;KAChC,CAAC;8BACa,kCAAY;gDAAC;AAE5B;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,qBAAW,GAAE;8BACA,IAAI;+CAAC;AAEnB;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,qBAAW,GAAE;8BACD,IAAI;8CAAC;AAElB;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,6BAAmB,GAAE;8BACR,IAAI;+CAAC;AAnDV,UAAU;IADtB,IAAA,gBAAM,GAAE;GACI,UAAU,CAoDtB;AApDY,gCAAU"}
1
+ {"version":3,"file":"invitation.entity.js","sourceRoot":"","sources":["../../../src/invitations/entities/invitation.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,WAAW,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAEjE,OAAO,EACH,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,SAAS,EACT,sBAAsB,EACtB,gBAAgB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAC,YAAY,EAAC,MAAM,iDAAiD,CAAC;AAGtE,IAAM,UAAU,GAAhB,MAAM,UAAU;IAGnB,EAAE,CAAU;IAQL,IAAI,CAAU;IAIrB,SAAS,CAAU;IAInB,YAAY,CAAU;IAItB,gBAAgB,CAAQ;IAIxB,SAAS,CAAQ;IAIjB,UAAU,CAAQ;IAQlB,YAAY,CAAgB;IAI5B,WAAW,CAAQ;IAInB,UAAU,CAAQ;IAIlB,WAAW,CAAQ;CACtB,CAAA;AAnDG;IAAC,sBAAsB,EAAE;IACxB,WAAW,EAAE;;sCACF;AAEZ;IAAC,MAAM,CAAC,MAAM,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB;KACtC,CAAC;IACD,SAAS,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE;;wCACO;AAErB;IAAC,MAAM,EAAE;IACR,WAAW,EAAE;;6CACK;AAEnB;IAAC,MAAM,EAAE;IACR,WAAW,EAAE;;gDACQ;AAEtB;IAAC,MAAM,EAAE;IACR,WAAW,EAAE;8BACK,IAAI;oDAAC;AAExB;IAAC,MAAM,EAAE;IACR,WAAW,EAAE;8BACF,IAAI;6CAAC;AAEjB;IAAC,MAAM,EAAE;IACR,mBAAmB,EAAE;8BACT,IAAI;8CAAC;AAElB;IAAC,MAAM,EAAE;IACR,WAAW,EAAE;IACb,SAAS,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE;QACrD,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;KAChC,CAAC;8BACa,YAAY;gDAAC;AAE5B;IAAC,gBAAgB,EAAE;IAClB,WAAW,EAAE;8BACA,IAAI;+CAAC;AAEnB;IAAC,gBAAgB,EAAE;IAClB,WAAW,EAAE;8BACD,IAAI;8CAAC;AAElB;IAAC,gBAAgB,EAAE;IAClB,mBAAmB,EAAE;8BACR,IAAI;+CAAC;AAnDV,UAAU;IADtB,MAAM,EAAE;GACI,UAAU,CAoDtB;SApDY,UAAU"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -11,15 +10,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
10
  var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.InvitationController = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const swagger_1 = require("@nestjs/swagger");
18
- const passport_1 = require("@nestjs/passport");
19
- const invitation_entity_1 = require("./entities/invitation.entity");
20
- const invitation_service_1 = require("./invitation.service");
21
- const create_invitation_dto_1 = require("./dto/create-invitation.dto");
13
+ import { Controller, Request, Body, Param, Delete, UseGuards, Post, } from "@nestjs/common";
14
+ import { ApiBearerAuth, ApiOkResponse, ApiTags } from "@nestjs/swagger";
15
+ import { AuthGuard } from "@nestjs/passport";
16
+ import { Invitation } from "./entities/invitation.entity";
17
+ import { InvitationService } from "./invitation.service";
18
+ import { CreateInvitationDto } from "./dto/create-invitation.dto";
22
19
  let InvitationController = class InvitationController {
20
+ invitationService;
23
21
  constructor(invitationService) {
24
22
  this.invitationService = invitationService;
25
23
  }
@@ -32,29 +30,29 @@ let InvitationController = class InvitationController {
32
30
  }
33
31
  };
34
32
  __decorate([
35
- (0, common_1.Post)(),
36
- (0, swagger_1.ApiOkResponse)({ type: invitation_entity_1.Invitation }),
37
- __param(0, (0, common_1.Body)()),
38
- __param(1, (0, common_1.Request)()),
33
+ Post(),
34
+ ApiOkResponse({ type: Invitation }),
35
+ __param(0, Body()),
36
+ __param(1, Request()),
39
37
  __metadata("design:type", Function),
40
- __metadata("design:paramtypes", [create_invitation_dto_1.CreateInvitationDto, Object]),
38
+ __metadata("design:paramtypes", [CreateInvitationDto, Object]),
41
39
  __metadata("design:returntype", Promise)
42
40
  ], InvitationController.prototype, "create", null);
43
41
  __decorate([
44
- (0, common_1.Delete)(":uuid"),
45
- (0, swagger_1.ApiOkResponse)({ type: invitation_entity_1.Invitation }),
46
- __param(0, (0, common_1.Param)("uuid")),
47
- __param(1, (0, common_1.Request)()),
42
+ Delete(":uuid"),
43
+ ApiOkResponse({ type: Invitation }),
44
+ __param(0, Param("uuid")),
45
+ __param(1, Request()),
48
46
  __metadata("design:type", Function),
49
47
  __metadata("design:paramtypes", [String, Object]),
50
48
  __metadata("design:returntype", Promise)
51
49
  ], InvitationController.prototype, "remove", null);
52
50
  InvitationController = __decorate([
53
- (0, common_1.UseGuards)((0, passport_1.AuthGuard)("jwt")),
54
- (0, swagger_1.ApiBearerAuth)(),
55
- (0, common_1.Controller)("invitations"),
56
- (0, swagger_1.ApiTags)("organisations"),
57
- __metadata("design:paramtypes", [invitation_service_1.InvitationService])
51
+ UseGuards(AuthGuard("jwt")),
52
+ ApiBearerAuth(),
53
+ Controller("invitations"),
54
+ ApiTags("organisations"),
55
+ __metadata("design:paramtypes", [InvitationService])
58
56
  ], InvitationController);
59
- exports.InvitationController = InvitationController;
57
+ export { InvitationController };
60
58
  //# sourceMappingURL=invitation.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.controller.js","sourceRoot":"","sources":["../../src/invitations/invitation.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAQwB;AAExB,6CAAsE;AAEtE,+CAA2C;AAE3C,oEAAwD;AACxD,6DAAuD;AACvD,uEAAgE;AAMzD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,YAA6B,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IAAG,CAAC;IAI/D,AAAN,KAAK,CAAC,MAAM,CACA,SAA8B,EAC3B,OAAwB;QAEnC,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CACO,IAAY,EAChB,OAAwB;QAEnC,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,MAAM,CACpD,IAAI,EACJ,OAAO,CAAC,IAAI,CAAC,EAAE,CAClB,CAAC;QAEF,OAAO,YAAY,CAAC,WAAW,KAAK,SAAS,CAAC;IAClD,CAAC;CACJ,CAAA;AApBS;IAFL,IAAA,aAAI,GAAE;IACN,IAAA,uBAAa,EAAC,EAAC,IAAI,EAAE,8BAAU,EAAC,CAAC;IAE7B,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,gBAAO,GAAE,CAAA;;qCADS,2CAAmB;;kDAIzC;AAIK;IAFL,IAAA,eAAM,EAAC,OAAO,CAAC;IACf,IAAA,uBAAa,EAAC,EAAC,IAAI,EAAE,8BAAU,EAAC,CAAC;IAE7B,WAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IACb,WAAA,IAAA,gBAAO,GAAE,CAAA;;;;kDAQb;AAxBQ,oBAAoB;IAJhC,IAAA,kBAAS,EAAC,IAAA,oBAAS,EAAC,KAAK,CAAC,CAAC;IAC3B,IAAA,uBAAa,GAAE;IACf,IAAA,mBAAU,EAAC,aAAa,CAAC;IACzB,IAAA,iBAAO,EAAC,eAAe,CAAC;qCAE2B,sCAAiB;GADxD,oBAAoB,CAyBhC;AAzBY,oDAAoB"}
1
+ {"version":3,"file":"invitation.controller.js","sourceRoot":"","sources":["../../src/invitations/invitation.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACH,UAAU,EACV,OAAO,EACP,IAAI,EACJ,KAAK,EACL,MAAM,EACN,SAAS,EACT,IAAI,GACP,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,OAAO,EAAC,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE3C,OAAO,EAAC,UAAU,EAAC,MAAM,8BAA8B,CAAC;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|| function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
6
  };
8
- var __importDefault = (this && this.__importDefault) || function (mod) {
9
- return (mod && mod.__esModule) ? mod : { "default": mod };
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InvitationModule = void 0;
13
- const common_1 = require("@nestjs/common");
14
- const logger_module_1 = require("../logger/logger.module");
15
- const typeorm_1 = require("@nestjs/typeorm");
16
- const invitation_entity_1 = require("./entities/invitation.entity");
17
- const invitation_controller_1 = require("./invitation.controller");
18
- const invitation_service_1 = require("./invitation.service");
19
- const smtp_email_client_module_1 = require("../smtp-email-client/smtp-email-client.module");
20
- const organisation_module_1 = require("../organisation/organisation.module");
21
- const config_1 = require("@nestjs/config");
22
- const InvitationConfigurationVariables_1 = __importDefault(require("./InvitationConfigurationVariables"));
23
- const InvitationConfigurationService_1 = require("./InvitationConfigurationService");
7
+ import { Module } from "@nestjs/common";
8
+ import { LoggerModule } from "../logger/logger.module";
9
+ import { TypeOrmModule } from "@nestjs/typeorm";
10
+ import { Invitation } from "./entities/invitation.entity";
11
+ import { InvitationController } from "./invitation.controller";
12
+ import { InvitationService } from "./invitation.service";
13
+ import { SmtpEmailClientModule } from "../smtp-email-client/smtp-email-client.module";
14
+ import { OrganisationModule } from "../organisation/organisation.module";
15
+ import { ConfigModule } from "@nestjs/config";
16
+ import configVariables from "./InvitationConfigurationVariables";
17
+ import { InvitationsConfigurationService } from "./InvitationConfigurationService";
24
18
  let InvitationModule = class InvitationModule {
25
19
  };
26
20
  InvitationModule = __decorate([
27
- (0, common_1.Module)({
21
+ Module({
28
22
  imports: [
29
- config_1.ConfigModule.forFeature(InvitationConfigurationVariables_1.default),
30
- logger_module_1.LoggerModule,
31
- typeorm_1.TypeOrmModule.forFeature([invitation_entity_1.Invitation]),
32
- smtp_email_client_module_1.SmtpEmailClientModule,
33
- organisation_module_1.OrganisationModule,
23
+ ConfigModule.forFeature(configVariables),
24
+ LoggerModule,
25
+ TypeOrmModule.forFeature([Invitation]),
26
+ SmtpEmailClientModule,
27
+ OrganisationModule,
34
28
  ],
35
- controllers: [invitation_controller_1.InvitationController],
36
- providers: [invitation_service_1.InvitationService, InvitationConfigurationService_1.InvitationsConfigurationService],
37
- exports: [invitation_service_1.InvitationService],
29
+ controllers: [InvitationController],
30
+ providers: [InvitationService, InvitationsConfigurationService],
31
+ exports: [InvitationService],
38
32
  })
39
33
  ], InvitationModule);
40
- exports.InvitationModule = InvitationModule;
34
+ export { InvitationModule };
41
35
  //# sourceMappingURL=invitation.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invitation.module.js","sourceRoot":"","sources":["../../src/invitations/invitation.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAsC;AACtC,2DAAqD;AACrD,6CAA8C;AAC9C,oEAAwD;AACxD,mEAA6D;AAC7D,6DAAuD;AACvD,4FAAoF;AACpF,6EAAuE;AACvE,2CAA4C;AAC5C,0GAAiE;AACjE,qFAAiF;AAc1E,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,gBAAgB;IAZ5B,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE;YACL,qBAAY,CAAC,UAAU,CAAC,0CAAe,CAAC;YACxC,4BAAY;YACZ,uBAAa,CAAC,UAAU,CAAC,CAAC,8BAAU,CAAC,CAAC;YACtC,gDAAqB;YACrB,wCAAkB;SACrB;QACD,WAAW,EAAE,CAAC,4CAAoB,CAAC;QACnC,SAAS,EAAE,CAAC,sCAAiB,EAAE,gEAA+B,CAAC;QAC/D,OAAO,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