@tachybase/resourcer 0.23.22 → 0.23.35

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/lib/action.d.ts CHANGED
@@ -168,6 +168,11 @@ export interface ActionParams {
168
168
  * @deprecated
169
169
  */
170
170
  actionName?: string;
171
+ search?: {
172
+ fields?: string[];
173
+ keywords?: string[];
174
+ isSearchAllFields?: boolean;
175
+ };
171
176
  /**
172
177
  * 其他扩展配置
173
178
  */
package/lib/utils.js CHANGED
@@ -194,6 +194,9 @@ function parseQuery(input) {
194
194
  if (typeof query.filter === "string") {
195
195
  query.filter = JSON.parse(query.filter);
196
196
  }
197
+ if (typeof query.search === "string") {
198
+ query.search = JSON.parse(query.search);
199
+ }
197
200
  return query;
198
201
  }
199
202
  __name(parseQuery, "parseQuery");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/resourcer",
3
- "version": "0.23.22",
3
+ "version": "0.23.35",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./lib/index.js",
@@ -12,7 +12,7 @@
12
12
  "lodash": "^4.17.21",
13
13
  "path-to-regexp": "8.2.0",
14
14
  "qs": "^6.13.1",
15
- "@tachybase/utils": "0.23.22"
15
+ "@tachybase/utils": "0.23.35"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/node": "20.17.10"