@ldsg/graphql-resolver 0.3.23 → 0.3.25

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.
@@ -25,10 +25,10 @@ export interface GraphQLResolverSpecificResourceSettings extends SpecificResourc
25
25
  resolverName: string;
26
26
  /**
27
27
  * PrepareArgs 配置
28
- * 可以是字符串(jsonata 表达式)或对象(直接映射)
28
+ * Key-Value 对象,值是 jsonata 表达式字符串
29
29
  */
30
- prepareArgs?: string | {
31
- [key: string]: any;
30
+ prepareArgs?: {
31
+ [key: string]: string;
32
32
  };
33
33
  /**
34
34
  * Projection 配置
@@ -1 +1 @@
1
- {"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,uCAAwC,SAAQ,wBAAwB;IACvF;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAE9C;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"specific-resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/specific-resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,uCAAwC,SAAQ,wBAAwB;IACvF;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAExC;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;CAChC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/graphql-resolver",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -13,10 +13,10 @@
13
13
  "dependencies": {
14
14
  "graphql-compose": "^9.1.0",
15
15
  "tslib": "^2.8.1",
16
- "@ldsg/graphql": "0.3.23",
17
- "@ldsg/handler": "0.3.23",
18
- "@ldsg/resource": "0.3.23",
19
- "@ldsg/resource-definition": "0.3.23"
16
+ "@ldsg/graphql": "0.3.25",
17
+ "@ldsg/resource": "0.3.25",
18
+ "@ldsg/handler": "0.3.25",
19
+ "@ldsg/resource-definition": "0.3.25"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/jest": "^29.5.2",
@@ -26,7 +26,7 @@
26
26
  "ts-jest": "^29.1.5",
27
27
  "ts-node": "^10.9.2",
28
28
  "typescript": "^5.8.3",
29
- "@ldsg/types": "0.3.23"
29
+ "@ldsg/types": "0.3.25"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
@@ -34,6 +34,6 @@
34
34
  "scripts": {
35
35
  "build": "tsc --project tsconfig.build.json",
36
36
  "clean": "rm -rf dist",
37
- "test": "jest"
37
+ "test": "jest --passWithNoTests"
38
38
  }
39
39
  }