@punks/backend-entity-manager 0.0.62 → 0.0.63

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/dist/cjs/index.js CHANGED
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var backendCore = require('@punks/backend-core');
6
6
  var common = require('@nestjs/common');
7
+ var swagger = require('@nestjs/swagger');
7
8
  var async_hooks = require('async_hooks');
8
9
  var bcrypt = require('bcrypt');
9
10
  var constants = require('@nestjs/common/constants');
@@ -225,6 +226,68 @@ const WpEventsTracker = (props = {}) => common.applyDecorators(common.Injectable
225
226
  ...props,
226
227
  }));
227
228
 
229
+ /******************************************************************************
230
+ Copyright (c) Microsoft Corporation.
231
+
232
+ Permission to use, copy, modify, and/or distribute this software for any
233
+ purpose with or without fee is hereby granted.
234
+
235
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
236
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
237
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
238
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
239
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
240
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
241
+ PERFORMANCE OF THIS SOFTWARE.
242
+ ***************************************************************************** */
243
+
244
+ function __decorate(decorators, target, key, desc) {
245
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
246
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
247
+ 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;
248
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
249
+ }
250
+
251
+ function __metadata(metadataKey, metadataValue) {
252
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
253
+ }
254
+
255
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
256
+ var e = new Error(message);
257
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
258
+ };
259
+
260
+ class StringFacet {
261
+ }
262
+ __decorate([
263
+ swagger.ApiProperty(),
264
+ __metadata("design:type", String)
265
+ ], StringFacet.prototype, "value", void 0);
266
+ __decorate([
267
+ swagger.ApiProperty({ nullable: true }),
268
+ __metadata("design:type", String)
269
+ ], StringFacet.prototype, "name", void 0);
270
+ class NumericFacet {
271
+ }
272
+ __decorate([
273
+ swagger.ApiProperty(),
274
+ __metadata("design:type", Number)
275
+ ], NumericFacet.prototype, "value", void 0);
276
+ __decorate([
277
+ swagger.ApiProperty({ nullable: true }),
278
+ __metadata("design:type", String)
279
+ ], NumericFacet.prototype, "name", void 0);
280
+ class BooleanFacet {
281
+ }
282
+ __decorate([
283
+ swagger.ApiProperty(),
284
+ __metadata("design:type", Boolean)
285
+ ], BooleanFacet.prototype, "value", void 0);
286
+ __decorate([
287
+ swagger.ApiProperty({ nullable: true }),
288
+ __metadata("design:type", String)
289
+ ], BooleanFacet.prototype, "name", void 0);
290
+
228
291
  const AuthenticationExtensionSymbols = {
229
292
  UserService: Symbol.for("WP.EXT:AUTHENTICATION.USER_SERVICE"),
230
293
  };
@@ -265,37 +328,6 @@ const AuthenticationEvents = {
265
328
  UserPasswordResetCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.passwordResetCompleted`,
266
329
  };
267
330
 
268
- /******************************************************************************
269
- Copyright (c) Microsoft Corporation.
270
-
271
- Permission to use, copy, modify, and/or distribute this software for any
272
- purpose with or without fee is hereby granted.
273
-
274
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
275
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
276
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
277
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
278
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
279
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
280
- PERFORMANCE OF THIS SOFTWARE.
281
- ***************************************************************************** */
282
-
283
- function __decorate(decorators, target, key, desc) {
284
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
285
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
286
- 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;
287
- return c > 3 && r && Object.defineProperty(target, key, r), r;
288
- }
289
-
290
- function __metadata(metadataKey, metadataValue) {
291
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
292
- }
293
-
294
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
295
- var e = new Error(message);
296
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
297
- };
298
-
299
331
  const asyncLocalStorage = new async_hooks.AsyncLocalStorage();
300
332
 
301
333
  exports.AppSessionService = class AppSessionService {
@@ -25381,6 +25413,7 @@ exports.AuthenticationError = AuthenticationError;
25381
25413
  exports.AuthenticationEvents = AuthenticationEvents;
25382
25414
  exports.AuthenticationExtensionSymbols = AuthenticationExtensionSymbols;
25383
25415
  exports.AwsSesEmailTemplate = AwsSesEmailTemplate;
25416
+ exports.BooleanFacet = BooleanFacet;
25384
25417
  exports.EntityManagerConfigurationError = EntityManagerConfigurationError;
25385
25418
  exports.EntityManagerException = EntityManagerException;
25386
25419
  exports.EntityManagerSymbols = EntityManagerSymbols;
@@ -25396,11 +25429,13 @@ exports.NestEntityManager = NestEntityManager;
25396
25429
  exports.NestTypeOrmEntitySeeder = NestTypeOrmEntitySeeder;
25397
25430
  exports.NestTypeOrmQueryBuilder = NestTypeOrmQueryBuilder;
25398
25431
  exports.NestTypeOrmRepository = NestTypeOrmRepository;
25432
+ exports.NumericFacet = NumericFacet;
25399
25433
  exports.OperationTokenMismatchError = OperationTokenMismatchError;
25400
25434
  exports.PLATFORM_EVENT_NAMESPACE = PLATFORM_EVENT_NAMESPACE;
25401
25435
  exports.PlatformEvents = PlatformEvents;
25402
25436
  exports.QueryBuilderBase = QueryBuilderBase;
25403
25437
  exports.SendgridEmailTemplate = SendgridEmailTemplate;
25438
+ exports.StringFacet = StringFacet;
25404
25439
  exports.WpAppInitializer = WpAppInitializer;
25405
25440
  exports.WpAwsSesEmailTemplate = WpAwsSesEmailTemplate;
25406
25441
  exports.WpEmailTemplate = WpEmailTemplate;