nicot 1.1.26 → 1.1.28
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/index.cjs +12 -12
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +11 -12
- package/dist/index.mjs.map +3 -3
- package/dist/src/utility/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -80,6 +80,7 @@ __export(index_exports, {
|
|
|
80
80
|
QuerySearch: () => QuerySearch,
|
|
81
81
|
Relation: () => Relation,
|
|
82
82
|
RelationComputed: () => RelationComputed,
|
|
83
|
+
RenameClass: () => RenameClass,
|
|
83
84
|
RestfulFactory: () => RestfulFactory,
|
|
84
85
|
StringColumn: () => StringColumn,
|
|
85
86
|
StringIdBase: () => StringIdBase,
|
|
@@ -465,6 +466,12 @@ var applyQueryMatchBoolean = createQueryCondition(
|
|
|
465
466
|
}
|
|
466
467
|
);
|
|
467
468
|
|
|
469
|
+
// src/utility/rename-class.ts
|
|
470
|
+
function RenameClass(cls, name) {
|
|
471
|
+
Object.defineProperty(cls, "name", { value: name });
|
|
472
|
+
return cls;
|
|
473
|
+
}
|
|
474
|
+
|
|
468
475
|
// src/decorators/query.ts
|
|
469
476
|
var import_nesties5 = require("nesties");
|
|
470
477
|
|
|
@@ -664,10 +671,10 @@ __decorateClass([
|
|
|
664
671
|
(0, import_swagger4.ApiProperty)({
|
|
665
672
|
description: "The nth page, starting with 1.",
|
|
666
673
|
required: false,
|
|
667
|
-
type: Number,
|
|
668
674
|
minimum: 1
|
|
669
675
|
}),
|
|
670
|
-
NotInResult()
|
|
676
|
+
NotInResult(),
|
|
677
|
+
Reflect.metadata("design:type", Number)
|
|
671
678
|
], PageSettingsDto.prototype, "pageCount", 2);
|
|
672
679
|
__decorateClass([
|
|
673
680
|
NotWritable(),
|
|
@@ -676,10 +683,10 @@ __decorateClass([
|
|
|
676
683
|
(0, import_swagger4.ApiProperty)({
|
|
677
684
|
description: "Records per page.",
|
|
678
685
|
required: false,
|
|
679
|
-
type: Number,
|
|
680
686
|
minimum: 1
|
|
681
687
|
}),
|
|
682
|
-
NotInResult()
|
|
688
|
+
NotInResult(),
|
|
689
|
+
Reflect.metadata("design:type", Number)
|
|
683
690
|
], PageSettingsDto.prototype, "recordsPerPage", 2);
|
|
684
691
|
|
|
685
692
|
// src/bases/time-base.ts
|
|
@@ -1659,14 +1666,6 @@ var import_common3 = require("@nestjs/common");
|
|
|
1659
1666
|
var import_nesties9 = require("nesties");
|
|
1660
1667
|
var import_swagger6 = require("@nestjs/swagger");
|
|
1661
1668
|
var import_lodash4 = __toESM(require("lodash"));
|
|
1662
|
-
|
|
1663
|
-
// src/utility/rename-class.ts
|
|
1664
|
-
function RenameClass(cls, name) {
|
|
1665
|
-
Object.defineProperty(cls, "name", { value: name });
|
|
1666
|
-
return cls;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
// src/restful.ts
|
|
1670
1669
|
var import_constants = require("@nestjs/swagger/dist/constants");
|
|
1671
1670
|
|
|
1672
1671
|
// src/bases/base-restful-controller.ts
|
|
@@ -2196,6 +2195,7 @@ var RestfulFactory = class _RestfulFactory {
|
|
|
2196
2195
|
QuerySearch,
|
|
2197
2196
|
Relation,
|
|
2198
2197
|
RelationComputed,
|
|
2198
|
+
RenameClass,
|
|
2199
2199
|
RestfulFactory,
|
|
2200
2200
|
StringColumn,
|
|
2201
2201
|
StringIdBase,
|