nicot 1.1.25 → 1.1.27
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 +14 -11
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +13 -11
- 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
|
|
|
@@ -709,17 +716,20 @@ var TimeBase = class extends PageSettingsDto {
|
|
|
709
716
|
__decorateClass([
|
|
710
717
|
(0, import_typeorm2.CreateDateColumn)({ select: false }),
|
|
711
718
|
NotColumn(),
|
|
712
|
-
NotInResult({ entityVersioningDate: true })
|
|
719
|
+
NotInResult({ entityVersioningDate: true }),
|
|
720
|
+
Reflect.metadata("design:type", Date)
|
|
713
721
|
], TimeBase.prototype, "createTime", 2);
|
|
714
722
|
__decorateClass([
|
|
715
723
|
(0, import_typeorm2.UpdateDateColumn)({ select: false }),
|
|
716
724
|
NotColumn(),
|
|
717
|
-
NotInResult({ entityVersioningDate: true })
|
|
725
|
+
NotInResult({ entityVersioningDate: true }),
|
|
726
|
+
Reflect.metadata("design:type", Date)
|
|
718
727
|
], TimeBase.prototype, "updateTime", 2);
|
|
719
728
|
__decorateClass([
|
|
720
729
|
(0, import_typeorm2.DeleteDateColumn)({ select: false }),
|
|
721
730
|
NotColumn(),
|
|
722
|
-
NotInResult({ entityVersioningDate: true })
|
|
731
|
+
NotInResult({ entityVersioningDate: true }),
|
|
732
|
+
Reflect.metadata("design:type", Date)
|
|
723
733
|
], TimeBase.prototype, "deleteTime", 2);
|
|
724
734
|
|
|
725
735
|
// src/bases/id-base.ts
|
|
@@ -1656,14 +1666,6 @@ var import_common3 = require("@nestjs/common");
|
|
|
1656
1666
|
var import_nesties9 = require("nesties");
|
|
1657
1667
|
var import_swagger6 = require("@nestjs/swagger");
|
|
1658
1668
|
var import_lodash4 = __toESM(require("lodash"));
|
|
1659
|
-
|
|
1660
|
-
// src/utility/rename-class.ts
|
|
1661
|
-
function RenameClass(cls, name) {
|
|
1662
|
-
Object.defineProperty(cls, "name", { value: name });
|
|
1663
|
-
return cls;
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
// src/restful.ts
|
|
1667
1669
|
var import_constants = require("@nestjs/swagger/dist/constants");
|
|
1668
1670
|
|
|
1669
1671
|
// src/bases/base-restful-controller.ts
|
|
@@ -2193,6 +2195,7 @@ var RestfulFactory = class _RestfulFactory {
|
|
|
2193
2195
|
QuerySearch,
|
|
2194
2196
|
Relation,
|
|
2195
2197
|
RelationComputed,
|
|
2198
|
+
RenameClass,
|
|
2196
2199
|
RestfulFactory,
|
|
2197
2200
|
StringColumn,
|
|
2198
2201
|
StringIdBase,
|