@vuu-ui/vuu-protocol-types 0.8.87 → 0.8.88

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.
Files changed (2) hide show
  1. package/index.d.ts +30 -25
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -83,6 +83,32 @@ export interface VuuViewportVisualLinksResponse {
83
83
  vpId: string;
84
84
  }
85
85
 
86
+ export interface VuuCreateVisualLink {
87
+ childColumnName: string;
88
+ childVpId: string;
89
+ parentColumnName: string;
90
+ parentVpId: string;
91
+ type: "CREATE_VISUAL_LINK";
92
+ }
93
+
94
+ export interface VuuCreateVisualLinkResponse {
95
+ childVpId: string;
96
+ childColumnName: string;
97
+ parentVpId: string;
98
+ parentColumnName: string;
99
+ type: "CREATE_VISUAL_LINK_SUCCESS";
100
+ }
101
+
102
+ export interface VuuRemoveVisualLink {
103
+ childVpId: string;
104
+ type: "REMOVE_VISUAL_LINK";
105
+ }
106
+
107
+ export interface VuuRemoveVisualLinkResponse {
108
+ childVpId: string;
109
+ type: "REMOVE_VISUAL_LINK_SUCCESS";
110
+ }
111
+
86
112
  /**
87
113
  * Viewport manipulation messages
88
114
  *
@@ -162,17 +188,6 @@ export interface ServerToClientError {
162
188
  msg: string;
163
189
  type: "ERROR";
164
190
  }
165
- export interface ServerToClientCreateLinkSuccess {
166
- childVpId: string;
167
- childColumnName: string;
168
- parentVpId: string;
169
- parentColumnName: string;
170
- type: "CREATE_VISUAL_LINK_SUCCESS";
171
- }
172
- export interface ServerToClientRemoveLinkSuccess {
173
- childVpId: string;
174
- type: "REMOVE_VISUAL_LINK_SUCCESS";
175
- }
176
191
  export interface ServerToClientTableRows {
177
192
  batch: string;
178
193
  isLast: boolean;
@@ -202,8 +217,8 @@ export declare type ServerMessageBody =
202
217
  | VuuViewportVisualLinksResponse
203
218
  | ServerToClientOpenTreeNodeSuccess
204
219
  | ServerToClientCloseTreeNodeSuccess
205
- | ServerToClientCreateLinkSuccess
206
- | ServerToClientRemoveLinkSuccess
220
+ | VuuCreateVisualLinkResponse
221
+ | VuuRemoveVisualLinkResponse
207
222
  | ServerToClientError
208
223
  | VuuRpcEditSuccess
209
224
  | VuuRpcEditSuccess
@@ -255,16 +270,6 @@ export interface ClientToServerCloseTreeNode {
255
270
  vpId: string;
256
271
  treeKey: string;
257
272
  }
258
- export interface ClientToServerCreateLink {
259
- childVpId: string;
260
- parentColumnName: string;
261
- parentVpId: string;
262
- type: "CREATE_VISUAL_LINK";
263
- }
264
- export interface ClientToServerRemoveLink {
265
- childVpId: string;
266
- type: "REMOVE_VISUAL_LINK";
267
- }
268
273
 
269
274
  export declare type RpcService = "TypeAheadRpcHandler" | "OrderEntryRpcHandler";
270
275
 
@@ -305,8 +310,8 @@ export declare type ClientMessageBody =
305
310
  | VuuViewportMenusRequest
306
311
  | ClientToServerOpenTreeNode
307
312
  | ClientToServerCloseTreeNode
308
- | ClientToServerCreateLink
309
- | ClientToServerRemoveLink
313
+ | VuuCreateVisualLink
314
+ | VuuRemoveVisualLink
310
315
  | VuuRpcMenuRequest
311
316
  | VuuRpcViewportRequest
312
317
  | VuuRpcServiceRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-protocol-types",
3
- "version": "0.8.87",
3
+ "version": "0.8.88",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {},