@wenlarge/communication 1.3.0 → 1.3.1

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.
@@ -10,7 +10,7 @@ export declare enum WorkflowStatus {
10
10
  export interface CreateWorkflowRequest {
11
11
  name: string;
12
12
  projectId: string;
13
- defaultEnvironmentId?: string | undefined;
13
+ defaultEnvironmentId: string;
14
14
  }
15
15
  export interface WorkflowResponse {
16
16
  id: string;
@@ -20,7 +20,7 @@ export interface WorkflowResponse {
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
22
  status: WorkflowStatus;
23
- defaultEnvironmentId?: string | undefined;
23
+ defaultEnvironmentId: string;
24
24
  }
25
25
  export interface DeleteWorkflowRequest {
26
26
  id: string;
@@ -28,7 +28,7 @@ export interface DeleteWorkflowRequest {
28
28
  export interface UpdateWorkflowRequest {
29
29
  id: string;
30
30
  name: string;
31
- defaultEnvironmentId?: string | undefined;
31
+ defaultEnvironmentId: string;
32
32
  }
33
33
  export interface FindManyWorkflowRequest {
34
34
  projectId: string;
@@ -66,7 +66,7 @@ export interface WorkflowNodeRequest {
66
66
  [key: string]: any;
67
67
  } | undefined;
68
68
  nodeTypeId: string;
69
- environmentId?: string | undefined;
69
+ environmentId: string;
70
70
  }
71
71
  export interface FindManyWorkflowNodeRequest {
72
72
  workflowId: string;
@@ -90,7 +90,7 @@ export interface WorkflowNodeResponse {
90
90
  } | undefined;
91
91
  createdAt: string;
92
92
  updatedAt: string;
93
- environmentId?: string | undefined;
93
+ environmentId: string;
94
94
  }
95
95
  export interface WorkflowNodeConnection {
96
96
  id: string;
@@ -106,7 +106,7 @@ export interface SaveWorkflowBatchRequest {
106
106
  workflowName: string;
107
107
  nodes: WorkflowNodeRequest[];
108
108
  connections: UpdateBatchConnection[];
109
- defaultEnvironmentId?: string | undefined;
109
+ defaultEnvironmentId: string;
110
110
  }
111
111
  export interface UpdateBatchConnection {
112
112
  fromNodeId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenlarge/communication",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
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",
@@ -25,7 +25,7 @@ service WorkflowService {
25
25
  message CreateWorkflowRequest {
26
26
  string name = 1;
27
27
  string projectId = 2;
28
- optional string defaultEnvironmentId = 3;
28
+ string defaultEnvironmentId = 3;
29
29
  }
30
30
 
31
31
  message WorkflowResponse {
@@ -36,7 +36,7 @@ message WorkflowResponse {
36
36
  string createdAt = 5;
37
37
  string updatedAt = 6;
38
38
  WorkflowStatus status = 7;
39
- optional string defaultEnvironmentId = 8;
39
+ string defaultEnvironmentId = 8;
40
40
  }
41
41
 
42
42
  message DeleteWorkflowRequest{
@@ -46,7 +46,7 @@ message DeleteWorkflowRequest{
46
46
  message UpdateWorkflowRequest{
47
47
  string id = 1;
48
48
  string name = 2;
49
- optional string defaultEnvironmentId = 3;
49
+ string defaultEnvironmentId = 3;
50
50
  }
51
51
 
52
52
  message FindManyWorkflowRequest{
@@ -82,7 +82,7 @@ message WorkflowNodeRequest{
82
82
  google.protobuf.Struct outputSchema = 5;
83
83
  google.protobuf.Struct config = 6;
84
84
  string nodeTypeId = 7;
85
- optional string environmentId = 8;
85
+ string environmentId = 8;
86
86
  }
87
87
 
88
88
  message FindManyWorkflowNodeRequest{
@@ -103,7 +103,7 @@ message WorkflowNodeResponse{
103
103
  google.protobuf.Struct config = 7;
104
104
  string createdAt = 8;
105
105
  string updatedAt = 9;
106
- optional string environmentId = 10;
106
+ string environmentId = 10;
107
107
  }
108
108
 
109
109
  message WorkflowNodeConnection {
@@ -119,7 +119,7 @@ message SaveWorkflowBatchRequest {
119
119
  string workflowName = 2;
120
120
  repeated WorkflowNodeRequest nodes = 3;
121
121
  repeated UpdateBatchConnection connections = 4;
122
- optional string defaultEnvironmentId = 5;
122
+ string defaultEnvironmentId = 5;
123
123
  }
124
124
 
125
125
  message UpdateBatchConnection {
@@ -23,7 +23,7 @@ export enum WorkflowStatus {
23
23
  export interface CreateWorkflowRequest {
24
24
  name: string;
25
25
  projectId: string;
26
- defaultEnvironmentId?: string | undefined;
26
+ defaultEnvironmentId: string;
27
27
  }
28
28
 
29
29
  export interface WorkflowResponse {
@@ -34,7 +34,7 @@ export interface WorkflowResponse {
34
34
  createdAt: string;
35
35
  updatedAt: string;
36
36
  status: WorkflowStatus;
37
- defaultEnvironmentId?: string | undefined;
37
+ defaultEnvironmentId: string;
38
38
  }
39
39
 
40
40
  export interface DeleteWorkflowRequest {
@@ -44,7 +44,7 @@ export interface DeleteWorkflowRequest {
44
44
  export interface UpdateWorkflowRequest {
45
45
  id: string;
46
46
  name: string;
47
- defaultEnvironmentId?: string | undefined;
47
+ defaultEnvironmentId: string;
48
48
  }
49
49
 
50
50
  export interface FindManyWorkflowRequest {
@@ -80,7 +80,7 @@ export interface WorkflowNodeRequest {
80
80
  outputSchema?: { [key: string]: any } | undefined;
81
81
  config?: { [key: string]: any } | undefined;
82
82
  nodeTypeId: string;
83
- environmentId?: string | undefined;
83
+ environmentId: string;
84
84
  }
85
85
 
86
86
  export interface FindManyWorkflowNodeRequest {
@@ -101,7 +101,7 @@ export interface WorkflowNodeResponse {
101
101
  config?: { [key: string]: any } | undefined;
102
102
  createdAt: string;
103
103
  updatedAt: string;
104
- environmentId?: string | undefined;
104
+ environmentId: string;
105
105
  }
106
106
 
107
107
  export interface WorkflowNodeConnection {
@@ -117,7 +117,7 @@ export interface SaveWorkflowBatchRequest {
117
117
  workflowName: string;
118
118
  nodes: WorkflowNodeRequest[];
119
119
  connections: UpdateBatchConnection[];
120
- defaultEnvironmentId?: string | undefined;
120
+ defaultEnvironmentId: string;
121
121
  }
122
122
 
123
123
  export interface UpdateBatchConnection {