@steedos/service-rest 2.5.14-beta.13 → 2.5.14-beta.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-rest",
3
- "version": "2.5.14-beta.13",
3
+ "version": "2.5.14-beta.15",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -16,9 +16,9 @@
16
16
  "repository": {},
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@steedos/objectql": "2.5.14-beta.13",
20
- "@steedos/service-object-mixin": "2.5.14-beta.13",
19
+ "@steedos/objectql": "2.5.14-beta.15",
20
+ "@steedos/service-object-mixin": "2.5.14-beta.15",
21
21
  "lodash": "^4.17.21"
22
22
  },
23
- "gitHead": "02d3b5121d37ca4fbccf3d1947b1e6dd7d559435"
23
+ "gitHead": "278f1c8deda678539fd81c5d6a41c4a292ac0ecc"
24
24
  }
@@ -1,8 +1,8 @@
1
1
  /*
2
2
  * @Author: sunhaolin@hotoa.com
3
3
  * @Date: 2023-03-23 15:12:14
4
- * @LastEditors: sunhaolin@hotoa.com
5
- * @LastEditTime: 2023-06-15 19:57:25
4
+ * @LastEditors: 孙浩林 sunhaolin@steedos.com
5
+ * @LastEditTime: 2023-09-23 11:50:21
6
6
  * @Description:
7
7
  */
8
8
  "use strict";
@@ -91,7 +91,7 @@ module.exports = {
91
91
  objectName: { type: "string" },
92
92
  fields: { type: 'string', optional: true },
93
93
  filters: { type: 'string', optional: true },
94
- top: { type: 'string', optional: true },
94
+ top: { type: 'string', optional: true, default: QUERY_DOCS_TOP },
95
95
  skip: { type: 'string', optional: true },
96
96
  sort: { type: 'string', optional: true }
97
97
  },
@@ -187,7 +187,7 @@ module.exports = {
187
187
  objectName: { type: "string" },
188
188
  fields: { type: 'array', items: "string", optional: true },
189
189
  filters: [{ type: 'array', optional: true }, { type: 'string', optional: true }],
190
- top: { type: 'number', optional: true },
190
+ top: { type: 'number', optional: true, default: QUERY_DOCS_TOP },
191
191
  skip: { type: 'number', optional: true },
192
192
  sort: { type: 'string', optional: true }
193
193
  },