@vuu-ui/vuu-protocol-types 0.13.40 → 0.13.42
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/index.d.ts +122 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export interface VuuLoginFailResponse {
|
|
|
61
61
|
* - retrieve any menu defined on a given table
|
|
62
62
|
* - retrieve any available Visual Links for a specific viewport
|
|
63
63
|
*
|
|
64
|
-
* Visual Links differ in one
|
|
64
|
+
* Visual Links differ in one important regard from the other three
|
|
65
65
|
* forms of metadata in that they are not static. The take into
|
|
66
66
|
* account existing active subscriptions within the users session
|
|
67
67
|
* and can therefore change from one call to another.
|
|
@@ -258,8 +258,125 @@ export interface VuuViewportUnfreezeResponse {
|
|
|
258
258
|
viewPortId: string;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
export
|
|
262
|
-
|
|
261
|
+
export declare type SelectRequest =
|
|
262
|
+
| SelectRowRequest
|
|
263
|
+
| DeselectRowRequest
|
|
264
|
+
| SelectRowRangeRequest
|
|
265
|
+
| SelectAllRequest
|
|
266
|
+
| DeselectAllRequest;
|
|
267
|
+
|
|
268
|
+
export declare type SelectResponse =
|
|
269
|
+
| SelectRowResponse
|
|
270
|
+
| DeselectRowResponse
|
|
271
|
+
| SelectRowRangeResponse
|
|
272
|
+
| SelectAllResponse
|
|
273
|
+
| DeselectAllResponse;
|
|
274
|
+
|
|
275
|
+
export declare type SuccessfulSelectResponse =
|
|
276
|
+
| SelectRowSuccess
|
|
277
|
+
| DeselectRowSuccess
|
|
278
|
+
| SelectRowRangeSuccess
|
|
279
|
+
| SelectAllSuccess
|
|
280
|
+
| DeselectAllSuccess;
|
|
281
|
+
export interface SelectRowRequest {
|
|
282
|
+
preserveExistingSelection: boolean;
|
|
283
|
+
rowKey: string;
|
|
284
|
+
type: "SELECT_ROW";
|
|
285
|
+
vpId: string;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export declare type SelectRowResponse = SelectRowSuccess | SelectRowReject;
|
|
289
|
+
|
|
290
|
+
export declare interface SelectSuccessWithRowCount {
|
|
291
|
+
selectedRowCount: number;
|
|
292
|
+
type:
|
|
293
|
+
| "SELECT_ROW_SUCCESS"
|
|
294
|
+
| "DESELECT_ROW_SUCCESS"
|
|
295
|
+
| "SELECT_ROW_RANGE_SUCCESS"
|
|
296
|
+
| "SELECT_ALL_SUCCESS"
|
|
297
|
+
| "DESELECT_ALL_SUCCESS";
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export interface SelectRowSuccess extends SelectSuccessWithRowCount {
|
|
301
|
+
type: "SELECT_ROW_SUCCESS";
|
|
302
|
+
vpId: string;
|
|
303
|
+
}
|
|
304
|
+
export interface SelectRowReject {
|
|
305
|
+
errorMsg: string;
|
|
306
|
+
type: "SELECT_ROW_REJECT";
|
|
307
|
+
vpId: string;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface DeselectRowRequest {
|
|
311
|
+
preserveExistingSelection: boolean;
|
|
312
|
+
rowKey: string;
|
|
313
|
+
type: "DESELECT_ROW";
|
|
314
|
+
vpId: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export declare type DeselectRowResponse =
|
|
318
|
+
| DeselectRowSuccess
|
|
319
|
+
| DeselectRowReject;
|
|
320
|
+
export interface DeselectRowSuccess extends SelectSuccessWithRowCount {
|
|
321
|
+
type: "DESELECT_ROW_SUCCESS";
|
|
322
|
+
vpId: string;
|
|
323
|
+
}
|
|
324
|
+
export interface DeselectRowReject {
|
|
325
|
+
errorMsg: string;
|
|
326
|
+
type: "DESELECT_ROW_REJECT";
|
|
327
|
+
vpId: string;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export interface SelectRowRangeRequest {
|
|
331
|
+
preserveExistingSelection: boolean;
|
|
332
|
+
fromRowKey: string;
|
|
333
|
+
toRowKey: string;
|
|
334
|
+
type: "SELECT_ROW_RANGE";
|
|
335
|
+
vpId: string;
|
|
336
|
+
}
|
|
337
|
+
export declare type SelectRowRangeResponse =
|
|
338
|
+
| SelectRowRangeSuccess
|
|
339
|
+
| SelectRowRangeReject;
|
|
340
|
+
export interface SelectRowRangeSuccess extends SelectSuccessWithRowCount {
|
|
341
|
+
type: "SELECT_ROW_RANGE_SUCCESS";
|
|
342
|
+
vpId: string;
|
|
343
|
+
}
|
|
344
|
+
export interface SelectRowRangeReject {
|
|
345
|
+
errorMsg: string;
|
|
346
|
+
type: "SELECT_ROW_RANGE_REJECT";
|
|
347
|
+
vpId: string;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface SelectAllRequest {
|
|
351
|
+
type: "SELECT_ALL";
|
|
352
|
+
vpId: string;
|
|
353
|
+
}
|
|
354
|
+
export declare type SelectAllResponse = SelectAllSuccess | SelectAllReject;
|
|
355
|
+
export interface SelectAllSuccess extends SelectSuccessWithRowCount {
|
|
356
|
+
type: "SELECT_ALL_SUCCESS";
|
|
357
|
+
vpId: string;
|
|
358
|
+
}
|
|
359
|
+
export interface SelectAllReject {
|
|
360
|
+
errorMsg: string;
|
|
361
|
+
type: "SELECT_ALL_REJECT";
|
|
362
|
+
vpId: string;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface DeselectAllRequest {
|
|
366
|
+
type: "DESELECT_ALL";
|
|
367
|
+
vpId: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export declare type DeselectAllResponse =
|
|
371
|
+
| DeselectAllSuccess
|
|
372
|
+
| DeselectAllReject;
|
|
373
|
+
export interface DeselectAllSuccess {
|
|
374
|
+
type: "DESELECT_ALL_SUCCESS";
|
|
375
|
+
vpId: string;
|
|
376
|
+
}
|
|
377
|
+
export interface DeselectAllReject {
|
|
378
|
+
errorMsg: string;
|
|
379
|
+
type: "DESELECT_ALL_REJECT";
|
|
263
380
|
vpId: string;
|
|
264
381
|
}
|
|
265
382
|
|
|
@@ -289,7 +406,6 @@ export declare type ServerMessageBody =
|
|
|
289
406
|
| VuuViewportDisableResponse
|
|
290
407
|
| VuuViewportEnableResponse
|
|
291
408
|
| VuuViewportRemoveResponse
|
|
292
|
-
| ServerToClientSelectSuccess
|
|
293
409
|
| VuuTableMetaResponse
|
|
294
410
|
| VuuTableListResponse
|
|
295
411
|
| ServerToClientTableRows
|
|
@@ -297,6 +413,7 @@ export declare type ServerMessageBody =
|
|
|
297
413
|
| VuuRpcMenuSuccess
|
|
298
414
|
| VuuRpcMenuError
|
|
299
415
|
| VuuRpcServiceResponse
|
|
416
|
+
| SelectResponse
|
|
300
417
|
| VuuViewportVisualLinksResponse
|
|
301
418
|
| ServerToClientOpenTreeNodeSuccess
|
|
302
419
|
| ServerToClientCloseTreeNodeSuccess
|
|
@@ -310,11 +427,6 @@ export interface ClientToServerHeartBeat {
|
|
|
310
427
|
type: "HB_RESP";
|
|
311
428
|
ts: number;
|
|
312
429
|
}
|
|
313
|
-
export interface ClientToServerSelection {
|
|
314
|
-
type: "SET_SELECTION";
|
|
315
|
-
selection: number[];
|
|
316
|
-
vpId: string;
|
|
317
|
-
}
|
|
318
430
|
export interface ClientToServerOpenTreeNode {
|
|
319
431
|
type: "OPEN_TREE_NODE";
|
|
320
432
|
vpId: string;
|
|
@@ -359,10 +471,10 @@ export declare type ClientMessageBody =
|
|
|
359
471
|
| VuuViewportCreateRequest
|
|
360
472
|
| VuuViewportChangeRequest
|
|
361
473
|
| VuuViewportRemoveRequest
|
|
362
|
-
| ClientToServerSelection
|
|
363
474
|
| VuuViewportRangeRequest
|
|
364
475
|
| VuuViewportVisualLinksRequest
|
|
365
476
|
| VuuViewportMenusRequest
|
|
477
|
+
| SelectRequest
|
|
366
478
|
| ClientToServerOpenTreeNode
|
|
367
479
|
| ClientToServerCloseTreeNode
|
|
368
480
|
| VuuCreateVisualLink
|