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.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
|
|
|
@@ -654,17 +660,20 @@ var TimeBase = class extends PageSettingsDto {
|
|
|
654
660
|
__decorateClass([
|
|
655
661
|
CreateDateColumn({ select: false }),
|
|
656
662
|
NotColumn(),
|
|
657
|
-
NotInResult({ entityVersioningDate: true })
|
|
663
|
+
NotInResult({ entityVersioningDate: true }),
|
|
664
|
+
Reflect.metadata("design:type", Date)
|
|
658
665
|
], TimeBase.prototype, "createTime", 2);
|
|
659
666
|
__decorateClass([
|
|
660
667
|
UpdateDateColumn({ select: false }),
|
|
661
668
|
NotColumn(),
|
|
662
|
-
NotInResult({ entityVersioningDate: true })
|
|
669
|
+
NotInResult({ entityVersioningDate: true }),
|
|
670
|
+
Reflect.metadata("design:type", Date)
|
|
663
671
|
], TimeBase.prototype, "updateTime", 2);
|
|
664
672
|
__decorateClass([
|
|
665
673
|
DeleteDateColumn({ select: false }),
|
|
666
674
|
NotColumn(),
|
|
667
|
-
NotInResult({ entityVersioningDate: true })
|
|
675
|
+
NotInResult({ entityVersioningDate: true }),
|
|
676
|
+
Reflect.metadata("design:type", Date)
|
|
668
677
|
], TimeBase.prototype, "deleteTime", 2);
|
|
669
678
|
|
|
670
679
|
// src/bases/id-base.ts
|
|
@@ -1632,14 +1641,6 @@ import {
|
|
|
1632
1641
|
PartialType
|
|
1633
1642
|
} from "@nestjs/swagger";
|
|
1634
1643
|
import _4, { upperFirst } from "lodash";
|
|
1635
|
-
|
|
1636
|
-
// src/utility/rename-class.ts
|
|
1637
|
-
function RenameClass(cls, name) {
|
|
1638
|
-
Object.defineProperty(cls, "name", { value: name });
|
|
1639
|
-
return cls;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
// src/restful.ts
|
|
1643
1644
|
import { DECORATORS } from "@nestjs/swagger/dist/constants";
|
|
1644
1645
|
|
|
1645
1646
|
// src/bases/base-restful-controller.ts
|
|
@@ -2168,6 +2169,7 @@ export {
|
|
|
2168
2169
|
QuerySearch,
|
|
2169
2170
|
Relation,
|
|
2170
2171
|
RelationComputed,
|
|
2172
|
+
RenameClass,
|
|
2171
2173
|
RestfulFactory,
|
|
2172
2174
|
StringColumn,
|
|
2173
2175
|
StringIdBase,
|