@nx-ddd/common 17.14.0 → 18.0.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.
package/domain/models.js CHANGED
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransformToDayjs = exports.Entity = exports.getModelName = exports.getProps = exports.getDomainProps = exports.getAnnotations = exports.getLangMap = exports.Domain = void 0;
3
+ exports.Entity = exports.Domain = void 0;
4
+ exports.getLangMap = getLangMap;
5
+ exports.getAnnotations = getAnnotations;
6
+ exports.getDomainProps = getDomainProps;
7
+ exports.getProps = getProps;
8
+ exports.getModelName = getModelName;
9
+ exports.TransformToDayjs = TransformToDayjs;
4
10
  const tslib_1 = require("tslib");
5
11
  require("reflect-metadata");
6
12
  const to_object_1 = require("../utilities/to-object");
@@ -41,7 +47,6 @@ Domain.ANNOTATIONS = Symbol('annotations');
41
47
  function getLangMap(domain, mergeObj = {}) {
42
48
  return (0, lodash_es_1.merge)(_getLangMap(domain), mergeObj);
43
49
  }
44
- exports.getLangMap = getLangMap;
45
50
  function _getLangMap(target) {
46
51
  var _a;
47
52
  return (0, flat_1.flatten)((_a = getAnnotations(target).reduce((acc, annotation) => {
@@ -64,7 +69,6 @@ function getAnnotations(target) {
64
69
  var _a;
65
70
  return (_a = target === null || target === void 0 ? void 0 : target[Domain.ANNOTATIONS]) !== null && _a !== void 0 ? _a : [];
66
71
  }
67
- exports.getAnnotations = getAnnotations;
68
72
  /**
69
73
  * @deprecated
70
74
  * use getProps instead.
@@ -72,7 +76,6 @@ exports.getAnnotations = getAnnotations;
72
76
  function getDomainProps(target, deps = 3, path = '') {
73
77
  return getProps(target, deps, path);
74
78
  }
75
- exports.getDomainProps = getDomainProps;
76
79
  function getProps(target, deps = 3, path = '') {
77
80
  return getAnnotations(target).map((annotation) => {
78
81
  var _a;
@@ -90,14 +93,12 @@ function getProps(target, deps = 3, path = '') {
90
93
  }
91
94
  }).flat();
92
95
  }
93
- exports.getProps = getProps;
94
96
  function getModelName(target) {
95
97
  var _a, _b;
96
98
  return (_b = (_a = getAnnotations(target).find(annotation => {
97
99
  return annotation.type === 'model:lang';
98
100
  })) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : target.name;
99
101
  }
100
- exports.getModelName = getModelName;
101
102
  class Entity {
102
103
  static fromObj(obj) {
103
104
  return Object.assign(new this(), Object.assign({ id: null, createdAt: null, updatedAt: null }, obj));
@@ -116,5 +117,4 @@ function TransformToDayjs() {
116
117
  return value;
117
118
  });
118
119
  }
119
- exports.TransformToDayjs = TransformToDayjs;
120
120
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/common/src/domain/models.ts"],"names":[],"mappings":";;;;AAAA,4BAA0B;AAC1B,sDAAkD;AAClD,0DAAqC;AACrC,+BAA+B;AAC/B,yDAA8C;AAC9C,yCAAkC;AAoDlC,MAAa,MAAM;IAGjB,MAAM,CAAC,IAAI,CAAC,IAAY;QACtB,OAAO,CAAC,MAAW,EAAE,QAAgB,EAAE,EAAE;YACvC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAC,CAAC,CAAC;QACnF,CAAC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,IAAI,CAAI,WAAqB;QAClC,OAAO,CAAC,MAAW,EAAE,QAAgB,EAAE,EAAE;YACvC,IAAI,CAAC,WAAW,EAAE;gBAChB,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAa,EAAE,QAAQ,CAAC,CAAC;gBACzE,WAAW,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;aAC1B;YACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,WAAW,EAAE,EAAC,QAAQ,EAAE,WAAW,EAA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AChD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BackupService = exports.injectBackupConfig = exports.provideBackupConfig = exports.BACKUP_CONFIG = void 0;
3
+ exports.BackupService = exports.BACKUP_CONFIG = void 0;
4
+ exports.provideBackupConfig = provideBackupConfig;
5
+ exports.injectBackupConfig = injectBackupConfig;
4
6
  const tslib_1 = require("tslib");
5
7
  const firestore_1 = tslib_1.__importDefault(require("@google-cloud/firestore"));
6
8
  const core_1 = require("@angular/core");
@@ -10,11 +12,9 @@ exports.BACKUP_CONFIG = new core_1.InjectionToken('[@nx-ddd/common/backup] Backu
10
12
  function provideBackupConfig(config) {
11
13
  return { provide: exports.BACKUP_CONFIG, useValue: config };
12
14
  }
13
- exports.provideBackupConfig = provideBackupConfig;
14
15
  function injectBackupConfig() {
15
16
  return (0, core_1.inject)(exports.BACKUP_CONFIG);
16
17
  }
17
- exports.injectBackupConfig = injectBackupConfig;
18
18
  let BackupService = class BackupService {
19
19
  constructor() {
20
20
  var _a, _b;
@@ -40,8 +40,8 @@ let BackupService = class BackupService {
40
40
  }).then((responses) => responses[0].name);
41
41
  });
42
42
  }
43
- clean(date = (0, dayjs_1.default)().add(-30, 'day')) {
44
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
43
+ clean() {
44
+ return tslib_1.__awaiter(this, arguments, void 0, function* (date = (0, dayjs_1.default)().add(-30, 'day')) {
45
45
  const bucket = firebase_admin_1.default.storage().bucket(`${this.config.projectId}.appspot.com`);
46
46
  const [files] = yield bucket.getFiles({ prefix: '_backups', autoPaginate: true });
47
47
  const promises = files
@@ -1 +1 @@
1
- {"version":3,"file":"backup.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/backup/backup.service.ts"],"names":[],"mappings":";;;;AAAA,gFAAgD;AAChD,wCAAmE;AACnE,0DAA0B;A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,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,aAAa,CAwCzB"}
1
+ {"version":3,"file":"backup.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/backup/backup.service.ts"],"names":[],"mappings":";;;AAcA,kDAEC;AAED,gDAEC;;AApBD,gFAAgD;AAChD,wCAAmE;AACnE,0DAA0B;AAC1B,4EAAmC;AAStB,QAAA,aAAa,GAAG,IAAI,qBAAc,CAAe,uCAAuC,CAAC,CAAC;AAEvG,SAAgB,mBAAmB,CAAC,MAAoB;IACtD,OAAO,EAAC,OAAO,EAAE,qBAAa,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC;AACpD,CAAC;AAED,SAAgB,kBAAkB;IAChC,OAAO,IAAA,aAAM,EAAC,qBAAa,CAAC,CAAC;AAC/B,CAAC;AAIM,IAAM,aAAa,GAAnB,MAAM,aAAa;IAAnB;;QACG,WAAM,GAAG,kBAAkB,EAAE,CAAC;QAC9B,SAAI,GAAG,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,WAAW,EAAC,CAAC,CAAC,EAAC,WAAW,EAAE,MAAA,IAAI,CAAC,MAAM,0CAAE,WAAW,EAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtF,WAAM,GAAG,IAAI,mBAAS,CAAC,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAqCpE,CAAC;IAnCO,MAAM,CAAC,IAAa;;YACxB,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC;gBACjC,IAAI,EAAE,IAAI,CAAC,YAAY;gBACvB,eAAe,EAAE,QAAQ,IAAI,CAAC,UAAU,aAAa,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,IAAA,eAAK,GAAE,CAAC,WAAW,EAAE,EAAE;gBACpF,aAAa,EAAE,EAAE;aAClB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAA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ACD,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACtE,CAAC;IAED,IAAY,UAAU;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChC,CAAC;CACF,CAAA;AAxCY,sCAAa;wBAAb,aAAa;IADzB,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,aAAa,CAwCzB"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.provideFirebaseAdmin = void 0;
3
+ exports.provideFirebaseAdmin = provideFirebaseAdmin;
4
4
  const tslib_1 = require("tslib");
5
5
  const firebase_admin_1 = tslib_1.__importDefault(require("firebase-admin"));
6
6
  const firebase_admin_service_1 = require("./firebase-admin.service");
@@ -10,5 +10,4 @@ function provideFirebaseAdmin() {
10
10
  useValue: firebase_admin_1.default,
11
11
  };
12
12
  }
13
- exports.provideFirebaseAdmin = provideFirebaseAdmin;
14
13
  //# sourceMappingURL=firebase-admin.service.impl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"firebase-admin.service.impl.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/firebase-admin/firebase-admin.service.impl.ts"],"names":[],"mappings":";;;;AAAA,4EAAmC;AACnC,qEAA0D;AAE1D,SAAgB,oBAAoB;IAClC,OAAO;QACL,OAAO,EAAE,uCAAc;QACvB,QAAQ,EAAE,wBAAK;KAChB,CAAC;AACJ,CAAC;AALD,oDAKC"}
1
+ {"version":3,"file":"firebase-admin.service.impl.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/firebase-admin/firebase-admin.service.impl.ts"],"names":[],"mappings":";;AAGA,oDAKC;;AARD,4EAAmC;AACnC,qEAA0D;AAE1D,SAAgB,oBAAoB;IAClC,OAAO;QACL,OAAO,EAAE,uCAAc;QACvB,QAAQ,EAAE,wBAAK;KAChB,CAAC;AACJ,CAAC"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.injectFirebaseAdmin = exports.FIREBASE_ADMIN = void 0;
3
+ exports.FIREBASE_ADMIN = void 0;
4
+ exports.injectFirebaseAdmin = injectFirebaseAdmin;
4
5
  const core_1 = require("@angular/core");
5
6
  exports.FIREBASE_ADMIN = new core_1.InjectionToken('FIREBASE_ADMIN');
6
7
  function injectFirebaseAdmin() {
7
8
  var _a;
8
9
  return (_a = (0, core_1.inject)(exports.FIREBASE_ADMIN, { optional: true })) !== null && _a !== void 0 ? _a : {};
9
10
  }
10
- exports.injectFirebaseAdmin = injectFirebaseAdmin;
11
11
  //# sourceMappingURL=firebase-admin.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"firebase-admin.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/firebase-admin/firebase-admin.service.ts"],"names":[],"mappings":";;;AAAA,wCAAuD;AAS1C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAgB,gBAAgB,CAAC,CAAC;AAElF,SAAgB,mBAAmB;;IACjC,OAAO,MAAA,IAAA,aAAM,EAAC,sBAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,EAAmB,CAAC;AAC3E,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"firebase-admin.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/firebase-admin/firebase-admin.service.ts"],"names":[],"mappings":";;;AAWA,kDAEC;AAbD,wCAAuD;AAS1C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAgB,gBAAgB,CAAC,CAAC;AAElF,SAAgB,mBAAmB;;IACjC,OAAO,MAAA,IAAA,aAAM,EAAC,sBAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,EAAmB,CAAC;AAC3E,CAAC"}
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.provideOpenaiService = exports.provideOpenAiConfig = exports.OPEN_AI_CONFIG = void 0;
3
+ exports.OPEN_AI_CONFIG = void 0;
4
+ exports.provideOpenAiConfig = provideOpenAiConfig;
5
+ exports.provideOpenaiService = provideOpenaiService;
4
6
  const core_1 = require("@angular/core");
5
7
  const open_ai_service_1 = require("./open-ai.service");
6
8
  const open_ai_service_impl_1 = require("./open-ai.service.impl");
@@ -8,12 +10,10 @@ exports.OPEN_AI_CONFIG = new core_1.InjectionToken('OPENAI_CONFIG');
8
10
  function provideOpenAiConfig(useFactory) {
9
11
  return provideOpenaiService(useFactory);
10
12
  }
11
- exports.provideOpenAiConfig = provideOpenAiConfig;
12
13
  function provideOpenaiService(useFactory) {
13
14
  return [
14
15
  { provide: open_ai_service_1.OPEN_AI_SERVICE, useClass: open_ai_service_impl_1.OpenAiServiceImpl, deps: [exports.OPEN_AI_CONFIG] },
15
16
  { provide: exports.OPEN_AI_CONFIG, useFactory },
16
17
  ];
17
18
  }
18
- exports.provideOpenaiService = provideOpenaiService;
19
19
  //# sourceMappingURL=open-ai.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"open-ai.config.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/openai/open-ai.config.ts"],"names":[],"mappings":";;;AAAA,wCAAyD;AACzD,uDAAoD;AACpD,iEAA2D;AAK9C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAe,eAAe,CAAC,CAAC;AAEhF,SAAgB,mBAAmB,CAAC,UAA8B;IAChE,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC;AAFD,kDAEC;AAED,SAAgB,oBAAoB,CAAC,UAA8B;IACjE,OAAO;QACL,EAAE,OAAO,EAAE,iCAAe,EAAE,QAAQ,EAAE,wCAAiB,EAAE,IAAI,EAAE,CAAC,sBAAc,CAAC,EAAE;QACjF,EAAE,OAAO,EAAE,sBAAc,EAAE,UAAU,EAAE;KACxC,CAAC;AACJ,CAAC;AALD,oDAKC"}
1
+ {"version":3,"file":"open-ai.config.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/openai/open-ai.config.ts"],"names":[],"mappings":";;;AASA,kDAEC;AAED,oDAKC;AAlBD,wCAAyD;AACzD,uDAAoD;AACpD,iEAA2D;AAK9C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAe,eAAe,CAAC,CAAC;AAEhF,SAAgB,mBAAmB,CAAC,UAA8B;IAChE,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAC1C,CAAC;AAED,SAAgB,oBAAoB,CAAC,UAA8B;IACjE,OAAO;QACL,EAAE,OAAO,EAAE,iCAAe,EAAE,QAAQ,EAAE,wCAAiB,EAAE,IAAI,EAAE,CAAC,sBAAc,CAAC,EAAE;QACjF,EAAE,OAAO,EAAE,sBAAc,EAAE,UAAU,EAAE;KACxC,CAAC;AACJ,CAAC"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.injectOpenAiService = exports.OPEN_AI_SERVICE = void 0;
3
+ exports.OPEN_AI_SERVICE = void 0;
4
+ exports.injectOpenAiService = injectOpenAiService;
4
5
  const core_1 = require("@angular/core");
5
6
  exports.OPEN_AI_SERVICE = new core_1.InjectionToken('Open Ai Service');
6
7
  function injectOpenAiService() {
7
8
  var _a;
8
9
  return (_a = (0, core_1.inject)(exports.OPEN_AI_SERVICE, { optional: true })) !== null && _a !== void 0 ? _a : {};
9
10
  }
10
- exports.injectOpenAiService = injectOpenAiService;
11
11
  //# sourceMappingURL=open-ai.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"open-ai.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/openai/open-ai.service.ts"],"names":[],"mappings":";;;AAAA,wCAAuD;AAG1C,QAAA,eAAe,GAAG,IAAI,qBAAc,CAAoB,iBAAiB,CAAC,CAAC;AAExF,SAAgB,mBAAmB;;IACjC,OAAO,MAAA,IAAA,aAAM,EAAC,uBAAe,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,mCAAI,EAAuB,CAAC;AAC9E,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"open-ai.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/openai/open-ai.service.ts"],"names":[],"mappings":";;;AAKA,kDAEC;AAPD,wCAAuD;AAG1C,QAAA,eAAe,GAAG,IAAI,qBAAc,CAAoB,iBAAiB,CAAC,CAAC;AAExF,SAAgB,mBAAmB;;IACjC,OAAO,MAAA,IAAA,aAAM,EAAC,uBAAe,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,mCAAI,EAAuB,CAAC;AAC9E,CAAC"}
@@ -1,241 +1,3 @@
1
- /// <reference types="stripe/types/crypto/crypto" />
2
- /// <reference types="stripe/types/shared" />
3
- /// <reference types="stripe/types/Errors" />
4
- /// <reference types="stripe/types/OAuth" />
5
- /// <reference types="stripe/types/Webhooks" />
6
- /// <reference types="stripe/types/EventTypes" />
7
- /// <reference types="stripe/types/UpcomingInvoices" />
8
- /// <reference types="stripe/types/Deprecations" />
9
- /// <reference types="stripe/types/AccountLinksResource" />
10
- /// <reference types="stripe/types/AccountSessionsResource" />
11
- /// <reference types="stripe/types/AccountsResource" />
12
- /// <reference types="stripe/types/ApplePayDomainsResource" />
13
- /// <reference types="stripe/types/ApplicationFeesResource" />
14
- /// <reference types="stripe/types/Apps/SecretsResource" />
15
- /// <reference types="stripe/types/BalanceResource" />
16
- /// <reference types="stripe/types/BalanceTransactionsResource" />
17
- /// <reference types="stripe/types/BillingPortal/ConfigurationsResource" />
18
- /// <reference types="stripe/types/BillingPortal/SessionsResource" />
19
- /// <reference types="stripe/types/ChargesResource" />
20
- /// <reference types="stripe/types/Checkout/SessionsResource" />
21
- /// <reference types="stripe/types/Climate/OrdersResource" />
22
- /// <reference types="stripe/types/Climate/ProductsResource" />
23
- /// <reference types="stripe/types/Climate/SuppliersResource" />
24
- /// <reference types="stripe/types/CountrySpecsResource" />
25
- /// <reference types="stripe/types/CouponsResource" />
26
- /// <reference types="stripe/types/CreditNotesResource" />
27
- /// <reference types="stripe/types/CustomerSessionsResource" />
28
- /// <reference types="stripe/types/CustomersResource" />
29
- /// <reference types="stripe/types/DisputesResource" />
30
- /// <reference types="stripe/types/EphemeralKeysResource" />
31
- /// <reference types="stripe/types/EventsResource" />
32
- /// <reference types="stripe/types/ExchangeRatesResource" />
33
- /// <reference types="stripe/types/FileLinksResource" />
34
- /// <reference types="stripe/types/FilesResource" />
35
- /// <reference types="stripe/types/FinancialConnections/AccountsResource" />
36
- /// <reference types="stripe/types/FinancialConnections/SessionsResource" />
37
- /// <reference types="stripe/types/FinancialConnections/TransactionsResource" />
38
- /// <reference types="stripe/types/Identity/VerificationReportsResource" />
39
- /// <reference types="stripe/types/Identity/VerificationSessionsResource" />
40
- /// <reference types="stripe/types/InvoiceItemsResource" />
41
- /// <reference types="stripe/types/InvoicesResource" />
42
- /// <reference types="stripe/types/Issuing/AuthorizationsResource" />
43
- /// <reference types="stripe/types/Issuing/CardholdersResource" />
44
- /// <reference types="stripe/types/Issuing/CardsResource" />
45
- /// <reference types="stripe/types/Issuing/DisputesResource" />
46
- /// <reference types="stripe/types/Issuing/TokensResource" />
47
- /// <reference types="stripe/types/Issuing/TransactionsResource" />
48
- /// <reference types="stripe/types/MandatesResource" />
49
- /// <reference types="stripe/types/PaymentIntentsResource" />
50
- /// <reference types="stripe/types/PaymentLinksResource" />
51
- /// <reference types="stripe/types/PaymentMethodConfigurationsResource" />
52
- /// <reference types="stripe/types/PaymentMethodDomainsResource" />
53
- /// <reference types="stripe/types/PaymentMethodsResource" />
54
- /// <reference types="stripe/types/PayoutsResource" />
55
- /// <reference types="stripe/types/PlansResource" />
56
- /// <reference types="stripe/types/PricesResource" />
57
- /// <reference types="stripe/types/ProductsResource" />
58
- /// <reference types="stripe/types/PromotionCodesResource" />
59
- /// <reference types="stripe/types/QuotesResource" />
60
- /// <reference types="stripe/types/Radar/EarlyFraudWarningsResource" />
61
- /// <reference types="stripe/types/Radar/ValueListItemsResource" />
62
- /// <reference types="stripe/types/Radar/ValueListsResource" />
63
- /// <reference types="stripe/types/RefundsResource" />
64
- /// <reference types="stripe/types/Reporting/ReportRunsResource" />
65
- /// <reference types="stripe/types/Reporting/ReportTypesResource" />
66
- /// <reference types="stripe/types/ReviewsResource" />
67
- /// <reference types="stripe/types/SetupAttemptsResource" />
68
- /// <reference types="stripe/types/SetupIntentsResource" />
69
- /// <reference types="stripe/types/ShippingRatesResource" />
70
- /// <reference types="stripe/types/Sigma/ScheduledQueryRunsResource" />
71
- /// <reference types="stripe/types/SourcesResource" />
72
- /// <reference types="stripe/types/SubscriptionItemsResource" />
73
- /// <reference types="stripe/types/SubscriptionSchedulesResource" />
74
- /// <reference types="stripe/types/SubscriptionsResource" />
75
- /// <reference types="stripe/types/Tax/CalculationsResource" />
76
- /// <reference types="stripe/types/Tax/RegistrationsResource" />
77
- /// <reference types="stripe/types/Tax/SettingsResource" />
78
- /// <reference types="stripe/types/Tax/TransactionsResource" />
79
- /// <reference types="stripe/types/TaxCodesResource" />
80
- /// <reference types="stripe/types/TaxIdsResource" />
81
- /// <reference types="stripe/types/TaxRatesResource" />
82
- /// <reference types="stripe/types/Terminal/ConfigurationsResource" />
83
- /// <reference types="stripe/types/Terminal/ConnectionTokensResource" />
84
- /// <reference types="stripe/types/Terminal/LocationsResource" />
85
- /// <reference types="stripe/types/Terminal/ReadersResource" />
86
- /// <reference types="stripe/types/TestHelpers/CustomersResource" />
87
- /// <reference types="stripe/types/TestHelpers/Issuing/AuthorizationsResource" />
88
- /// <reference types="stripe/types/TestHelpers/Issuing/CardsResource" />
89
- /// <reference types="stripe/types/TestHelpers/Issuing/TransactionsResource" />
90
- /// <reference types="stripe/types/TestHelpers/RefundsResource" />
91
- /// <reference types="stripe/types/TestHelpers/Terminal/ReadersResource" />
92
- /// <reference types="stripe/types/TestHelpers/TestClocksResource" />
93
- /// <reference types="stripe/types/TestHelpers/Treasury/InboundTransfersResource" />
94
- /// <reference types="stripe/types/TestHelpers/Treasury/OutboundPaymentsResource" />
95
- /// <reference types="stripe/types/TestHelpers/Treasury/OutboundTransfersResource" />
96
- /// <reference types="stripe/types/TestHelpers/Treasury/ReceivedCreditsResource" />
97
- /// <reference types="stripe/types/TestHelpers/Treasury/ReceivedDebitsResource" />
98
- /// <reference types="stripe/types/TokensResource" />
99
- /// <reference types="stripe/types/TopupsResource" />
100
- /// <reference types="stripe/types/TransfersResource" />
101
- /// <reference types="stripe/types/Treasury/CreditReversalsResource" />
102
- /// <reference types="stripe/types/Treasury/DebitReversalsResource" />
103
- /// <reference types="stripe/types/Treasury/FinancialAccountsResource" />
104
- /// <reference types="stripe/types/Treasury/InboundTransfersResource" />
105
- /// <reference types="stripe/types/Treasury/OutboundPaymentsResource" />
106
- /// <reference types="stripe/types/Treasury/OutboundTransfersResource" />
107
- /// <reference types="stripe/types/Treasury/ReceivedCreditsResource" />
108
- /// <reference types="stripe/types/Treasury/ReceivedDebitsResource" />
109
- /// <reference types="stripe/types/Treasury/TransactionEntriesResource" />
110
- /// <reference types="stripe/types/Treasury/TransactionsResource" />
111
- /// <reference types="stripe/types/WebhookEndpointsResource" />
112
- /// <reference types="stripe/types/AccountLinks" />
113
- /// <reference types="stripe/types/AccountSessions" />
114
- /// <reference types="stripe/types/Accounts" />
115
- /// <reference types="stripe/types/ApplePayDomains" />
116
- /// <reference types="stripe/types/ApplicationFees" />
117
- /// <reference types="stripe/types/Applications" />
118
- /// <reference types="stripe/types/Apps/Secrets" />
119
- /// <reference types="stripe/types/Balance" />
120
- /// <reference types="stripe/types/BalanceTransactionSources" />
121
- /// <reference types="stripe/types/BalanceTransactions" />
122
- /// <reference types="stripe/types/BankAccounts" />
123
- /// <reference types="stripe/types/BillingPortal/Configurations" />
124
- /// <reference types="stripe/types/BillingPortal/Sessions" />
125
- /// <reference types="stripe/types/Capabilities" />
126
- /// <reference types="stripe/types/Cards" />
127
- /// <reference types="stripe/types/CashBalances" />
128
- /// <reference types="stripe/types/Charges" />
129
- /// <reference types="stripe/types/Checkout/Sessions" />
130
- /// <reference types="stripe/types/Climate/Orders" />
131
- /// <reference types="stripe/types/Climate/Products" />
132
- /// <reference types="stripe/types/Climate/Suppliers" />
133
- /// <reference types="stripe/types/ConnectCollectionTransfers" />
134
- /// <reference types="stripe/types/CountrySpecs" />
135
- /// <reference types="stripe/types/Coupons" />
136
- /// <reference types="stripe/types/CreditNoteLineItems" />
137
- /// <reference types="stripe/types/CreditNotes" />
138
- /// <reference types="stripe/types/CustomerBalanceTransactions" />
139
- /// <reference types="stripe/types/CustomerCashBalanceTransactions" />
140
- /// <reference types="stripe/types/CustomerSessions" />
141
- /// <reference types="stripe/types/CustomerSources" />
142
- /// <reference types="stripe/types/Customers" />
143
- /// <reference types="stripe/types/Discounts" />
144
- /// <reference types="stripe/types/Disputes" />
145
- /// <reference types="stripe/types/EphemeralKeys" />
146
- /// <reference types="stripe/types/Events" />
147
- /// <reference types="stripe/types/ExchangeRates" />
148
- /// <reference types="stripe/types/ExternalAccounts" />
149
- /// <reference types="stripe/types/FeeRefunds" />
150
- /// <reference types="stripe/types/FileLinks" />
151
- /// <reference types="stripe/types/Files" />
152
- /// <reference types="stripe/types/FinancialConnections/AccountOwners" />
153
- /// <reference types="stripe/types/FinancialConnections/AccountOwnerships" />
154
- /// <reference types="stripe/types/FinancialConnections/Accounts" />
155
- /// <reference types="stripe/types/FinancialConnections/Sessions" />
156
- /// <reference types="stripe/types/FinancialConnections/Transactions" />
157
- /// <reference types="stripe/types/FundingInstructions" />
158
- /// <reference types="stripe/types/Identity/VerificationReports" />
159
- /// <reference types="stripe/types/Identity/VerificationSessions" />
160
- /// <reference types="stripe/types/InvoiceItems" />
161
- /// <reference types="stripe/types/InvoiceLineItems" />
162
- /// <reference types="stripe/types/Invoices" />
163
- /// <reference types="stripe/types/Issuing/Authorizations" />
164
- /// <reference types="stripe/types/Issuing/Cardholders" />
165
- /// <reference types="stripe/types/Issuing/Cards" />
166
- /// <reference types="stripe/types/Issuing/Disputes" />
167
- /// <reference types="stripe/types/Issuing/Tokens" />
168
- /// <reference types="stripe/types/Issuing/Transactions" />
169
- /// <reference types="stripe/types/LineItems" />
170
- /// <reference types="stripe/types/LoginLinks" />
171
- /// <reference types="stripe/types/Mandates" />
172
- /// <reference types="stripe/types/PaymentIntents" />
173
- /// <reference types="stripe/types/PaymentLinks" />
174
- /// <reference types="stripe/types/PaymentMethodConfigurations" />
175
- /// <reference types="stripe/types/PaymentMethodDomains" />
176
- /// <reference types="stripe/types/PaymentMethods" />
177
- /// <reference types="stripe/types/Payouts" />
178
- /// <reference types="stripe/types/Persons" />
179
- /// <reference types="stripe/types/Plans" />
180
- /// <reference types="stripe/types/PlatformTaxFees" />
181
- /// <reference types="stripe/types/Prices" />
182
- /// <reference types="stripe/types/Products" />
183
- /// <reference types="stripe/types/PromotionCodes" />
184
- /// <reference types="stripe/types/Quotes" />
185
- /// <reference types="stripe/types/Radar/EarlyFraudWarnings" />
186
- /// <reference types="stripe/types/Radar/ValueListItems" />
187
- /// <reference types="stripe/types/Radar/ValueLists" />
188
- /// <reference types="stripe/types/Refunds" />
189
- /// <reference types="stripe/types/Reporting/ReportRuns" />
190
- /// <reference types="stripe/types/Reporting/ReportTypes" />
191
- /// <reference types="stripe/types/ReserveTransactions" />
192
- /// <reference types="stripe/types/Reviews" />
193
- /// <reference types="stripe/types/SetupAttempts" />
194
- /// <reference types="stripe/types/SetupIntents" />
195
- /// <reference types="stripe/types/ShippingRates" />
196
- /// <reference types="stripe/types/Sigma/ScheduledQueryRuns" />
197
- /// <reference types="stripe/types/SourceMandateNotifications" />
198
- /// <reference types="stripe/types/SourceTransactions" />
199
- /// <reference types="stripe/types/Sources" />
200
- /// <reference types="stripe/types/SubscriptionItems" />
201
- /// <reference types="stripe/types/SubscriptionSchedules" />
202
- /// <reference types="stripe/types/Subscriptions" />
203
- /// <reference types="stripe/types/Tax/CalculationLineItems" />
204
- /// <reference types="stripe/types/Tax/Calculations" />
205
- /// <reference types="stripe/types/Tax/Registrations" />
206
- /// <reference types="stripe/types/Tax/Settings" />
207
- /// <reference types="stripe/types/Tax/TransactionLineItems" />
208
- /// <reference types="stripe/types/Tax/Transactions" />
209
- /// <reference types="stripe/types/TaxCodes" />
210
- /// <reference types="stripe/types/TaxDeductedAtSources" />
211
- /// <reference types="stripe/types/TaxIds" />
212
- /// <reference types="stripe/types/TaxRates" />
213
- /// <reference types="stripe/types/Terminal/Configurations" />
214
- /// <reference types="stripe/types/Terminal/ConnectionTokens" />
215
- /// <reference types="stripe/types/Terminal/Locations" />
216
- /// <reference types="stripe/types/Terminal/Readers" />
217
- /// <reference types="stripe/types/TestHelpers/TestClocks" />
218
- /// <reference types="stripe/types/Tokens" />
219
- /// <reference types="stripe/types/Topups" />
220
- /// <reference types="stripe/types/TransferReversals" />
221
- /// <reference types="stripe/types/Transfers" />
222
- /// <reference types="stripe/types/Treasury/CreditReversals" />
223
- /// <reference types="stripe/types/Treasury/DebitReversals" />
224
- /// <reference types="stripe/types/Treasury/FinancialAccountFeatures" />
225
- /// <reference types="stripe/types/Treasury/FinancialAccounts" />
226
- /// <reference types="stripe/types/Treasury/InboundTransfers" />
227
- /// <reference types="stripe/types/Treasury/OutboundPayments" />
228
- /// <reference types="stripe/types/Treasury/OutboundTransfers" />
229
- /// <reference types="stripe/types/Treasury/ReceivedCredits" />
230
- /// <reference types="stripe/types/Treasury/ReceivedDebits" />
231
- /// <reference types="stripe/types/Treasury/TransactionEntries" />
232
- /// <reference types="stripe/types/Treasury/Transactions" />
233
- /// <reference types="stripe/types/UsageRecordSummaries" />
234
- /// <reference types="stripe/types/UsageRecords" />
235
- /// <reference types="stripe/types/WebhookEndpoints" />
236
- /// <reference types="stripe" />
237
- /// <reference types="stripe/types/lib" />
238
- /// <reference types="stripe/types/net/net" />
239
1
  import { InjectionToken, Injector } from "@angular/core";
240
2
  import { StripeServiceImpl } from "./stripe.service.impl";
241
3
  export interface StripeConfig {
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.provideStripe = exports.STRIPE_CONFIG = void 0;
3
+ exports.STRIPE_CONFIG = void 0;
4
+ exports.provideStripe = provideStripe;
4
5
  const core_1 = require("@angular/core");
5
6
  const stripe_service_impl_1 = require("./stripe.service.impl");
6
7
  const stripe_service_1 = require("./stripe.service");
@@ -11,5 +12,4 @@ function provideStripe(configFactory) {
11
12
  { provide: exports.STRIPE_CONFIG, useFactory: configFactory, deps: [core_1.Injector] },
12
13
  ];
13
14
  }
14
- exports.provideStripe = provideStripe;
15
15
  //# sourceMappingURL=stripe.config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.config.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/stripe/stripe.config.ts"],"names":[],"mappings":";;;AAAA,wCAAyD;AACzD,+DAA0D;AAC1D,qDAAkD;AAMrC,QAAA,aAAa,GAAG,IAAI,qBAAc,CAAe,eAAe,CAAC,CAAC;AAE/E,SAAgB,aAAa,CAAC,aAAmD;IAC/E,OAAO;QACL,EAAE,OAAO,EAAE,+BAAc,EAAE,QAAQ,EAAE,uCAAiB,EAAE,IAAI,EAAE,CAAC,qBAAa,CAAC,EAAE;QAC/E,EAAE,OAAO,EAAE,qBAAa,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,eAAQ,CAAC,EAAE;KACxE,CAAC;AACJ,CAAC;AALD,sCAKC"}
1
+ {"version":3,"file":"stripe.config.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/stripe/stripe.config.ts"],"names":[],"mappings":";;;AAUA,sCAKC;AAfD,wCAAyD;AACzD,+DAA0D;AAC1D,qDAAkD;AAMrC,QAAA,aAAa,GAAG,IAAI,qBAAc,CAAe,eAAe,CAAC,CAAC;AAE/E,SAAgB,aAAa,CAAC,aAAmD;IAC/E,OAAO;QACL,EAAE,OAAO,EAAE,+BAAc,EAAE,QAAQ,EAAE,uCAAiB,EAAE,IAAI,EAAE,CAAC,qBAAa,CAAC,EAAE;QAC/E,EAAE,OAAO,EAAE,qBAAa,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,eAAQ,CAAC,EAAE;KACxE,CAAC;AACJ,CAAC"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.injectStripe = exports.STRIPE_SERVICE = void 0;
3
+ exports.STRIPE_SERVICE = void 0;
4
+ exports.injectStripe = injectStripe;
4
5
  const core_1 = require("@angular/core");
5
6
  exports.STRIPE_SERVICE = new core_1.InjectionToken('STRIPE_SERVICE');
6
7
  function injectStripe() {
7
8
  var _a;
8
9
  return (_a = (0, core_1.inject)(exports.STRIPE_SERVICE, { optional: true })) !== null && _a !== void 0 ? _a : {};
9
10
  }
10
- exports.injectStripe = injectStripe;
11
11
  //# sourceMappingURL=stripe.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/stripe/stripe.service.ts"],"names":[],"mappings":";;;AAAA,wCAAuD;AAG1C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAS,gBAAgB,CAAC,CAAC;AAE3E,SAAgB,YAAY;;IAC1B,OAAO,MAAA,IAAA,aAAM,EAAC,sBAAc,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,mCAAI,EAAY,CAAC;AAClE,CAAC;AAFD,oCAEC"}
1
+ {"version":3,"file":"stripe.service.js","sourceRoot":"","sources":["../../../../../../../packages/@nx-ddd/common/src/infrastructure/externals/stripe/stripe.service.ts"],"names":[],"mappings":";;;AAKA,oCAEC;AAPD,wCAAuD;AAG1C,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAS,gBAAgB,CAAC,CAAC;AAE3E,SAAgB,YAAY;;IAC1B,OAAO,MAAA,IAAA,aAAM,EAAC,sBAAc,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,mCAAI,EAAY,CAAC;AAClE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CachedQueryFactory = exports.CachedQuery = exports.getLastUpdatedAt = void 0;
3
+ exports.CachedQueryFactory = exports.CachedQuery = void 0;
4
+ exports.getLastUpdatedAt = getLastUpdatedAt;
4
5
  const tslib_1 = require("tslib");
5
6
  const core_1 = require("@angular/core");
6
7
  const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
@@ -13,7 +14,6 @@ function getLastUpdatedAt(items) {
13
14
  return entity.updatedAt.isAfter(acc) ? entity.updatedAt : acc;
14
15
  }, (0, dayjs_1.default)('1997-01-01'));
15
16
  }
16
- exports.getLastUpdatedAt = getLastUpdatedAt;
17
17
  class CachedQuery {
18
18
  constructor(repository, indexedDb, options = {
19
19
  debounceTime: 5000,
@@ -1 +1 @@
1
- {"version":3,"file":"cached-query.js","sourceRoot":"","sources":["../../../../../../packages/@nx-ddd/common/src/infrastructure/queries/cached-query.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,0DAA0B;AAC1B,kDAAyD;AACzD,+BAAyF;AAEzF,SAAgB,gBAAgB,CAAqC,KAAU;IAC7E,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QAClC,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,CAAA;YAAE,OAAO,GAAG,CAAC;QACnC,OAAO,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CA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,kCA0BC;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,MAAM,CACJ,UAA4B,EAC5B,SAA4B;QAE5B,OAAO,IAAI,WAAW,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAChD,CAAC;CACF,CAAA;AAPY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,kBAAkB,CAO9B"}
1
+ {"version":3,"file":"cached-query.js","sourceRoot":"","sources":["../../../../../../packages/@nx-ddd/common/src/infrastructure/queries/cached-query.ts"],"names":[],"mappings":";;;AAKA,4CAKC;;AAVD,wCAA2C;AAC3C,0DAA0B;AAC1B,kDAAyD;AACzD,+BAAyF;AAEzF,SAAgB,gBAAgB,CAAqC,KAAU;IAC7E,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QAClC,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,SAAS,CAAA;YAAE,OAAO,GAAG,CAAC;QACnC,OAAO,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC;IAChE,CAAC,EAAE,IAAA,eAAK,EAAC,YAAY,CAAC,CAAC,CAAC;AAC1B,CAAC;AAeD,MAAa,WAAW;IACtB,YACY,UAA4B,EAC5B,SAA4B,EAC5B,UAGN;QACF,YAAY,EAAE,IAAK;QACnB,SAAS,EAAE,GAAG;KACf;QARS,eAAU,GAAV,UAAU,CAAkB;QAC5B,cAAS,GAAT,SAAS,CAAmB;QAC5B,YAAO,GAAP,OAAO,CAMhB;QAEM,iBAAY,GAAG,IAAI,qCAAsB,CAAC;YACjD,oBAAoB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,IAAA,UAAG,EAAC,gBAAgB,CAAC,CAAC;YACpF,QAAQ,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC;YACxD,gBAAgB,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,EAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAC,CAAC;YACnH,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAA,WAAI,EAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC;YAC7C,SAAS,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;SACxC,CAAC,CAAC;IAPC,CAAC;IASL,IAAI;QACF,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,IAAI,CAClC,IAAA,gBAAS,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAC7C,IAAA,mBAAY,EAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CACxC,CAAC;IACJ,CAAC;CACF;AA1BD,kCA0BC;AAGM,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,MAAM,CACJ,UAA4B,EAC5B,SAA4B;QAE5B,OAAO,IAAI,WAAW,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;IAChD,CAAC;CACF,CAAA;AAPY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,kBAAkB,CAO9B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nx-ddd/common",
3
- "version": "17.14.0",
4
- "main": "./src/index.js",
3
+ "version": "18.0.0",
4
+ "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "homepage": "https://github.com/xx-machina/plaform/tree/main/packages/@nx-ddd/common",
7
7
  "repository": {
@@ -9,18 +9,20 @@
9
9
  "url": "https://github.com/xx-machina/plaform.git"
10
10
  },
11
11
  "peerDependencies": {
12
- "@angular/core": "^17.0.0",
13
- "@angular/fire": "^17.0.0",
12
+ "@angular/core": "^18.0.0",
13
+ "@angular/fire": "18.0.1",
14
+ "@google-cloud/firestore": "7.9.0",
14
15
  "class-transformer": "^0.5.1",
15
- "class-validator-jsonschema": "^5.0.0",
16
- "dayjs": "1.11.10",
16
+ "dayjs": "1.11.12",
17
+ "firebase-admin": "^11.0.0",
17
18
  "flat": "^6.0.0",
18
19
  "lodash-es": "^4.17.15",
19
20
  "openai": "^4.37.0",
21
+ "reflect-metadata": "^0.1.13",
20
22
  "rxjs": "^7.8.0",
21
23
  "stripe": "^14.15.0",
22
24
  "tslib": "^2.3.0"
23
25
  },
24
26
  "dependencies": {},
25
27
  "type": "commonjs"
26
- }
28
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"generate-id.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/common/src/utilities/generate-id.ts"],"names":[],"mappings":";;;AAOA,MAAM,cAAc,GAAY;IAC9B,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,KAAK;CACf,CAAA;AAED,MAAM,UAAU,GAAG;IACjB,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;IACvC,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,SAAS;CACnB,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,CAAS,EAAE,UAAmB,cAAc,EAAU,EAAE;IACpF,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,C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GAAG,GAAW,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAE/F,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,CAAC,CAAA;AAEM,MAAM,UAAU,GAAG,CAAC,CAAC,GAAG,EAAE,EAAU,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAAzD,QAAA,UAAU,cAA+C"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.message = void 0;
3
+ exports.message = message;
4
4
  function message(strings, ...keys) {
5
5
  return strings.reduce((prev, current, index) => {
6
6
  const key = keys[index - 1];
7
7
  return `${prev}${key}${current}`;
8
8
  }).replace(/\n[ \t]+/g, '\n');
9
9
  }
10
- exports.message = message;
11
10
  //# sourceMappingURL=message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/common/src/utilities/message.ts"],"names":[],"mappings":";;;AAAA,SAAgB,OAAO,CACrB,OAA6B,EAC7B,GAAG,IAAyB;IAE5B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAC5B,OAAO,GAAG,IAAI,GAAG,GAAG,GAAG,OAAO,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAChC,CAAC;AARD,0BAQC"}
1
+ {"version":3,"file":"message.js","sourceRoot":"","sources":["../../../../../packages/@nx-ddd/common/src/utilities/message.ts"],"names":[],"mappings":";;AAAA,0BAQC;AARD,SAAgB,OAAO,CACrB,OAA6B,EAC7B,GAAG,IAAyB;IAE5B,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QAC7C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QAC5B,OAAO,GAAG,IAAI,GAAG,GAAG,GAAG,OAAO,EAAE,CAAC;IACnC,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAChC,CAAC"}