@wenlarge/communication 1.1.7 → 1.1.9

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.
@@ -18,6 +18,7 @@ export interface WorkflowResponse {
18
18
  projectId: string;
19
19
  createdAt: string;
20
20
  updatedAt: string;
21
+ status: WorkflowStatus;
21
22
  }
22
23
  export interface DeleteWorkflowRequest {
23
24
  id: string;
@@ -42,6 +43,7 @@ export interface TriggerNodeRequest {
42
43
  nodeId: string;
43
44
  }
44
45
  export interface CreateWorkflowNodeRequest {
46
+ id: string;
45
47
  workflowId: string;
46
48
  name: string;
47
49
  positionX: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenlarge/communication",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Shared gRPC proto interfaces and generated clients for Wenlarge microservices.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,6 +37,7 @@ message WorkflowResponse {
37
37
  string projectId = 4;
38
38
  string createdAt = 5;
39
39
  string updatedAt = 6;
40
+ WorkflowStatus status = 7;
40
41
  }
41
42
 
42
43
  message DeleteWorkflowRequest{
@@ -69,14 +70,15 @@ message TriggerNodeRequest{
69
70
 
70
71
 
71
72
  message CreateWorkflowNodeRequest{
72
- string workflowId = 1;
73
- string name = 2;
74
- int32 positionX = 3;
75
- int32 positionY = 4;
76
- google.protobuf.Struct inputSchema = 5;
77
- google.protobuf.Struct outputSchema = 6;
78
- google.protobuf.Struct config = 7;
79
- string nodeTypeId = 8;
73
+ string id = 1;
74
+ string workflowId = 2;
75
+ string name = 3;
76
+ int32 positionX = 4;
77
+ int32 positionY = 5;
78
+ google.protobuf.Struct inputSchema = 6;
79
+ google.protobuf.Struct outputSchema = 7;
80
+ google.protobuf.Struct config = 8;
81
+ string nodeTypeId = 9;
80
82
  }
81
83
 
82
84
  message UpdateWorkflowNodeRequest{
@@ -32,6 +32,7 @@ export interface WorkflowResponse {
32
32
  projectId: string;
33
33
  createdAt: string;
34
34
  updatedAt: string;
35
+ status: WorkflowStatus;
35
36
  }
36
37
 
37
38
  export interface DeleteWorkflowRequest {
@@ -63,6 +64,7 @@ export interface TriggerNodeRequest {
63
64
  }
64
65
 
65
66
  export interface CreateWorkflowNodeRequest {
67
+ id: string;
66
68
  workflowId: string;
67
69
  name: string;
68
70
  positionX: number;