@ldsg/graphql-workflow 0.3.10 → 0.3.17
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/dist/constants.js
CHANGED
package/dist/resource.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAuB,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAElE,qBAAa,uBAAwB,SAAQ,QAAQ,CAAC,uCAAuC,CAAC;IAC5F,sBAAsB,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAuB,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAElE,qBAAa,uBAAwB,SAAQ,QAAQ,CAAC,uCAAuC,CAAC;IAC5F,sBAAsB,EAAE,sBAAsB,CAiB5C;CACH"}
|
package/dist/resource.js
CHANGED
|
@@ -6,11 +6,12 @@ class GraphqlWorkflowResource extends resource_1.Resource {
|
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments);
|
|
8
8
|
this.getGraphqlWorkflowInfo = () => {
|
|
9
|
-
const { settings: {
|
|
9
|
+
const { settings: { typeName, fieldName }, getResourcesFromSettings } = this;
|
|
10
10
|
const { workflowResource } = getResourcesFromSettings();
|
|
11
11
|
const { workflowInfo } = workflowResource.getWorkflowInfo();
|
|
12
12
|
const res = {
|
|
13
|
-
|
|
13
|
+
typeName,
|
|
14
|
+
fieldName,
|
|
14
15
|
workflowInfo
|
|
15
16
|
};
|
|
16
17
|
return res;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { SpecificResourceSettings } from '@ldsg/types';
|
|
2
2
|
export interface GraphqlWorkflowSpecificResourceSettings extends SpecificResourceSettings {
|
|
3
3
|
/**
|
|
4
|
-
* GraphQL
|
|
5
|
-
* include key and typename
|
|
4
|
+
* GraphQL Type Name
|
|
6
5
|
*/
|
|
7
|
-
|
|
6
|
+
typeName: string;
|
|
7
|
+
/**
|
|
8
|
+
* GraphQL Field Name
|
|
9
|
+
*/
|
|
10
|
+
fieldName: string;
|
|
8
11
|
/**
|
|
9
12
|
* Workflow Resource Id
|
|
10
13
|
*/
|
|
@@ -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
|
|
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;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/graphql-workflow",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
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
|
"graphql-yoga": "^5.13.4",
|
|
16
|
-
"@ldsg/handler": "0.3.
|
|
17
|
-
"@ldsg/resource": "0.3.
|
|
18
|
-
"@ldsg/resource-definition": "0.3.
|
|
19
|
-
"@ldsg/workflow": "0.3.
|
|
16
|
+
"@ldsg/handler": "0.3.17",
|
|
17
|
+
"@ldsg/resource": "0.3.17",
|
|
18
|
+
"@ldsg/resource-definition": "0.3.17",
|
|
19
|
+
"@ldsg/workflow": "0.3.17"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/jest": "^29.5.2",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"ts-jest": "^29.1.5",
|
|
28
28
|
"ts-node": "^10.9.2",
|
|
29
29
|
"typescript": "^5.8.3",
|
|
30
|
-
"@ldsg/application": "0.3.
|
|
31
|
-
"@ldsg/graphql-workflows": "0.3.
|
|
32
|
-
"@ldsg/types": "0.3.
|
|
30
|
+
"@ldsg/application": "0.3.17",
|
|
31
|
+
"@ldsg/graphql-workflows": "0.3.17",
|
|
32
|
+
"@ldsg/types": "0.3.17"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
|
35
35
|
"access": "public"
|