nicot 1.2.2 → 1.2.4
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/README-CN.md +565 -0
- package/README.md +626 -938
- package/api-cn.md +749 -0
- package/api.md +767 -0
- package/dist/index.cjs +14 -5
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +14 -5
- package/dist/index.mjs.map +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -796,7 +796,8 @@ __decorateClass([
|
|
|
796
796
|
required: false,
|
|
797
797
|
type: String
|
|
798
798
|
}),
|
|
799
|
-
NotInResult()
|
|
799
|
+
NotInResult(),
|
|
800
|
+
QueryManual()
|
|
800
801
|
], CursorPaginationDto.prototype, "paginationCursor", 2);
|
|
801
802
|
__decorateClass([
|
|
802
803
|
NotWritable(),
|
|
@@ -808,7 +809,8 @@ __decorateClass([
|
|
|
808
809
|
type: Number,
|
|
809
810
|
minimum: 1
|
|
810
811
|
}),
|
|
811
|
-
NotInResult()
|
|
812
|
+
NotInResult(),
|
|
813
|
+
QueryManual()
|
|
812
814
|
], CursorPaginationDto.prototype, "recordsPerPage", 2);
|
|
813
815
|
var BlankCursorPaginationReturnMessageDto = class extends BlankReturnMessageDto {
|
|
814
816
|
constructor(statusCode, message, cursorResponse) {
|
|
@@ -900,7 +902,8 @@ __decorateClass([
|
|
|
900
902
|
minimum: 1
|
|
901
903
|
}),
|
|
902
904
|
NotInResult(),
|
|
903
|
-
Reflect.metadata("design:type", Number)
|
|
905
|
+
Reflect.metadata("design:type", Number),
|
|
906
|
+
QueryManual()
|
|
904
907
|
], PageSettingsDto.prototype, "pageCount", 2);
|
|
905
908
|
__decorateClass([
|
|
906
909
|
NotWritable(),
|
|
@@ -912,6 +915,7 @@ __decorateClass([
|
|
|
912
915
|
minimum: 1
|
|
913
916
|
}),
|
|
914
917
|
NotInResult(),
|
|
918
|
+
QueryManual(),
|
|
915
919
|
Reflect.metadata("design:type", Number)
|
|
916
920
|
], PageSettingsDto.prototype, "recordsPerPage", 2);
|
|
917
921
|
|
|
@@ -2168,7 +2172,12 @@ var _RestfulFactory = class _RestfulFactory {
|
|
|
2168
2172
|
}
|
|
2169
2173
|
get queryableFields() {
|
|
2170
2174
|
return _5.difference(
|
|
2171
|
-
|
|
2175
|
+
[
|
|
2176
|
+
...getSpecificFields(this.entityClass, "queryCondition"),
|
|
2177
|
+
"pageCount",
|
|
2178
|
+
"recordsPerPage",
|
|
2179
|
+
"paginationCursor"
|
|
2180
|
+
],
|
|
2172
2181
|
this.fieldsInGetToOmit
|
|
2173
2182
|
);
|
|
2174
2183
|
}
|
|
@@ -2226,7 +2235,7 @@ var _RestfulFactory = class _RestfulFactory {
|
|
|
2226
2235
|
);
|
|
2227
2236
|
ApiProperty5({
|
|
2228
2237
|
...oldApiProperty,
|
|
2229
|
-
required: false,
|
|
2238
|
+
// required: false,
|
|
2230
2239
|
type: () => relation.isArray ? [useClass[0]] : useClass[0]
|
|
2231
2240
|
})(resultDto.prototype, relation.propertyName);
|
|
2232
2241
|
};
|