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.mjs
CHANGED
|
@@ -404,6 +404,12 @@ var applyQueryMatchBoolean = createQueryCondition(
|
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
|
|
407
|
+
// src/utility/rename-class.ts
|
|
408
|
+
function RenameClass(cls, name) {
|
|
409
|
+
Object.defineProperty(cls, "name", { value: name });
|
|
410
|
+
return cls;
|
|
411
|
+
}
|
|
412
|
+
|
|
407
413
|
// src/decorators/query.ts
|
|
408
414
|
import { MergePropertyDecorators as MergePropertyDecorators3 } from "nesties";
|
|
409
415
|
|
|
@@ -609,10 +615,10 @@ __decorateClass([
|
|
|
609
615
|
ApiProperty4({
|
|
610
616
|
description: "The nth page, starting with 1.",
|
|
611
617
|
required: false,
|
|
612
|
-
type: Number,
|
|
613
618
|
minimum: 1
|
|
614
619
|
}),
|
|
615
|
-
NotInResult()
|
|
620
|
+
NotInResult(),
|
|
621
|
+
Reflect.metadata("design:type", Number)
|
|
616
622
|
], PageSettingsDto.prototype, "pageCount", 2);
|
|
617
623
|
__decorateClass([
|
|
618
624
|
NotWritable(),
|
|
@@ -621,10 +627,10 @@ __decorateClass([
|
|
|
621
627
|
ApiProperty4({
|
|
622
628
|
description: "Records per page.",
|
|
623
629
|
required: false,
|
|
624
|
-
type: Number,
|
|
625
630
|
minimum: 1
|
|
626
631
|
}),
|
|
627
|
-
NotInResult()
|
|
632
|
+
NotInResult(),
|
|
633
|
+
Reflect.metadata("design:type", Number)
|
|
628
634
|
], PageSettingsDto.prototype, "recordsPerPage", 2);
|
|
629
635
|
|
|
630
636
|
// src/bases/time-base.ts
|
|
@@ -1635,14 +1641,6 @@ import {
|
|
|
1635
1641
|
PartialType
|
|
1636
1642
|
} from "@nestjs/swagger";
|
|
1637
1643
|
import _4, { upperFirst } from "lodash";
|
|
1638
|
-
|
|
1639
|
-
// src/utility/rename-class.ts
|
|
1640
|
-
function RenameClass(cls, name) {
|
|
1641
|
-
Object.defineProperty(cls, "name", { value: name });
|
|
1642
|
-
return cls;
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
// src/restful.ts
|
|
1646
1644
|
import { DECORATORS } from "@nestjs/swagger/dist/constants";
|
|
1647
1645
|
|
|
1648
1646
|
// src/bases/base-restful-controller.ts
|
|
@@ -2171,6 +2169,7 @@ export {
|
|
|
2171
2169
|
QuerySearch,
|
|
2172
2170
|
Relation,
|
|
2173
2171
|
RelationComputed,
|
|
2172
|
+
RenameClass,
|
|
2174
2173
|
RestfulFactory,
|
|
2175
2174
|
StringColumn,
|
|
2176
2175
|
StringIdBase,
|