@punks/backend-entity-manager 0.0.62 → 0.0.64

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,86 @@ 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 NumericFacetItem {
261
+ }
262
+ __decorate([
263
+ swagger.ApiProperty(),
264
+ __metadata("design:type", Number)
265
+ ], NumericFacetItem.prototype, "value", void 0);
266
+ __decorate([
267
+ swagger.ApiProperty({ nullable: true }),
268
+ __metadata("design:type", String)
269
+ ], NumericFacetItem.prototype, "name", void 0);
270
+ class NumericFacet {
271
+ }
272
+ __decorate([
273
+ swagger.ApiProperty({ type: [NumericFacetItem] }),
274
+ __metadata("design:type", Array)
275
+ ], NumericFacet.prototype, "items", void 0);
276
+ class BooleanFacetItem {
277
+ }
278
+ __decorate([
279
+ swagger.ApiProperty(),
280
+ __metadata("design:type", Boolean)
281
+ ], BooleanFacetItem.prototype, "value", void 0);
282
+ __decorate([
283
+ swagger.ApiProperty({ nullable: true }),
284
+ __metadata("design:type", String)
285
+ ], BooleanFacetItem.prototype, "name", void 0);
286
+ class BooleanFacet {
287
+ }
288
+ __decorate([
289
+ swagger.ApiProperty({ type: [BooleanFacetItem] }),
290
+ __metadata("design:type", Array)
291
+ ], BooleanFacet.prototype, "items", void 0);
292
+ class StringFacetItem {
293
+ }
294
+ __decorate([
295
+ swagger.ApiProperty(),
296
+ __metadata("design:type", String)
297
+ ], StringFacetItem.prototype, "value", void 0);
298
+ __decorate([
299
+ swagger.ApiProperty({ nullable: true }),
300
+ __metadata("design:type", String)
301
+ ], StringFacetItem.prototype, "name", void 0);
302
+ class StringFacet {
303
+ }
304
+ __decorate([
305
+ swagger.ApiProperty({ type: [StringFacetItem] }),
306
+ __metadata("design:type", Array)
307
+ ], StringFacet.prototype, "items", void 0);
308
+
228
309
  const AuthenticationExtensionSymbols = {
229
310
  UserService: Symbol.for("WP.EXT:AUTHENTICATION.USER_SERVICE"),
230
311
  };
@@ -265,37 +346,6 @@ const AuthenticationEvents = {
265
346
  UserPasswordResetCompleted: `${AUTHENTICATION_EVENTS_NAMESPACE}:user.passwordResetCompleted`,
266
347
  };
267
348
 
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
349
  const asyncLocalStorage = new async_hooks.AsyncLocalStorage();
300
350
 
301
351
  exports.AppSessionService = class AppSessionService {
@@ -25381,6 +25431,8 @@ exports.AuthenticationError = AuthenticationError;
25381
25431
  exports.AuthenticationEvents = AuthenticationEvents;
25382
25432
  exports.AuthenticationExtensionSymbols = AuthenticationExtensionSymbols;
25383
25433
  exports.AwsSesEmailTemplate = AwsSesEmailTemplate;
25434
+ exports.BooleanFacet = BooleanFacet;
25435
+ exports.BooleanFacetItem = BooleanFacetItem;
25384
25436
  exports.EntityManagerConfigurationError = EntityManagerConfigurationError;
25385
25437
  exports.EntityManagerException = EntityManagerException;
25386
25438
  exports.EntityManagerSymbols = EntityManagerSymbols;
@@ -25396,11 +25448,15 @@ exports.NestEntityManager = NestEntityManager;
25396
25448
  exports.NestTypeOrmEntitySeeder = NestTypeOrmEntitySeeder;
25397
25449
  exports.NestTypeOrmQueryBuilder = NestTypeOrmQueryBuilder;
25398
25450
  exports.NestTypeOrmRepository = NestTypeOrmRepository;
25451
+ exports.NumericFacet = NumericFacet;
25452
+ exports.NumericFacetItem = NumericFacetItem;
25399
25453
  exports.OperationTokenMismatchError = OperationTokenMismatchError;
25400
25454
  exports.PLATFORM_EVENT_NAMESPACE = PLATFORM_EVENT_NAMESPACE;
25401
25455
  exports.PlatformEvents = PlatformEvents;
25402
25456
  exports.QueryBuilderBase = QueryBuilderBase;
25403
25457
  exports.SendgridEmailTemplate = SendgridEmailTemplate;
25458
+ exports.StringFacet = StringFacet;
25459
+ exports.StringFacetItem = StringFacetItem;
25404
25460
  exports.WpAppInitializer = WpAppInitializer;
25405
25461
  exports.WpAwsSesEmailTemplate = WpAwsSesEmailTemplate;
25406
25462
  exports.WpEmailTemplate = WpEmailTemplate;