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.cjs
CHANGED
|
@@ -883,7 +883,8 @@ __decorateClass([
|
|
|
883
883
|
required: false,
|
|
884
884
|
type: String
|
|
885
885
|
}),
|
|
886
|
-
NotInResult()
|
|
886
|
+
NotInResult(),
|
|
887
|
+
QueryManual()
|
|
887
888
|
], CursorPaginationDto.prototype, "paginationCursor", 2);
|
|
888
889
|
__decorateClass([
|
|
889
890
|
NotWritable(),
|
|
@@ -895,7 +896,8 @@ __decorateClass([
|
|
|
895
896
|
type: Number,
|
|
896
897
|
minimum: 1
|
|
897
898
|
}),
|
|
898
|
-
NotInResult()
|
|
899
|
+
NotInResult(),
|
|
900
|
+
QueryManual()
|
|
899
901
|
], CursorPaginationDto.prototype, "recordsPerPage", 2);
|
|
900
902
|
var BlankCursorPaginationReturnMessageDto = class extends import_nesties6.BlankReturnMessageDto {
|
|
901
903
|
constructor(statusCode, message, cursorResponse) {
|
|
@@ -981,7 +983,8 @@ __decorateClass([
|
|
|
981
983
|
minimum: 1
|
|
982
984
|
}),
|
|
983
985
|
NotInResult(),
|
|
984
|
-
Reflect.metadata("design:type", Number)
|
|
986
|
+
Reflect.metadata("design:type", Number),
|
|
987
|
+
QueryManual()
|
|
985
988
|
], PageSettingsDto.prototype, "pageCount", 2);
|
|
986
989
|
__decorateClass([
|
|
987
990
|
NotWritable(),
|
|
@@ -993,6 +996,7 @@ __decorateClass([
|
|
|
993
996
|
minimum: 1
|
|
994
997
|
}),
|
|
995
998
|
NotInResult(),
|
|
999
|
+
QueryManual(),
|
|
996
1000
|
Reflect.metadata("design:type", Number)
|
|
997
1001
|
], PageSettingsDto.prototype, "recordsPerPage", 2);
|
|
998
1002
|
|
|
@@ -2216,7 +2220,12 @@ var _RestfulFactory = class _RestfulFactory {
|
|
|
2216
2220
|
}
|
|
2217
2221
|
get queryableFields() {
|
|
2218
2222
|
return import_lodash5.default.difference(
|
|
2219
|
-
|
|
2223
|
+
[
|
|
2224
|
+
...getSpecificFields(this.entityClass, "queryCondition"),
|
|
2225
|
+
"pageCount",
|
|
2226
|
+
"recordsPerPage",
|
|
2227
|
+
"paginationCursor"
|
|
2228
|
+
],
|
|
2220
2229
|
this.fieldsInGetToOmit
|
|
2221
2230
|
);
|
|
2222
2231
|
}
|
|
@@ -2274,7 +2283,7 @@ var _RestfulFactory = class _RestfulFactory {
|
|
|
2274
2283
|
);
|
|
2275
2284
|
(0, import_swagger6.ApiProperty)({
|
|
2276
2285
|
...oldApiProperty,
|
|
2277
|
-
required: false,
|
|
2286
|
+
// required: false,
|
|
2278
2287
|
type: () => relation.isArray ? [useClass[0]] : useClass[0]
|
|
2279
2288
|
})(resultDto.prototype, relation.propertyName);
|
|
2280
2289
|
};
|