@vuu-ui/vuu-protocol-types 0.13.65 → 0.13.67
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 +25 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -35,20 +35,17 @@ export interface ClientToServerAuth {
|
|
|
35
35
|
export interface VuuLoginRequest {
|
|
36
36
|
token: string;
|
|
37
37
|
type: "LOGIN";
|
|
38
|
-
user: string;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
export declare type VuuLoginResponse =
|
|
42
41
|
| VuuLoginSuccessResponse
|
|
43
42
|
| VuuLoginFailResponse;
|
|
44
43
|
export interface VuuLoginSuccessResponse {
|
|
45
|
-
token: string;
|
|
46
44
|
type: "LOGIN_SUCCESS";
|
|
47
45
|
vuuServerId: string;
|
|
48
46
|
}
|
|
49
47
|
export interface VuuLoginFailResponse {
|
|
50
48
|
errorMsg: string;
|
|
51
|
-
token: string;
|
|
52
49
|
type: "LOGIN_FAIL";
|
|
53
50
|
}
|
|
54
51
|
|
|
@@ -239,24 +236,39 @@ export interface VuuViewportRemoveResponse {
|
|
|
239
236
|
viewPortId: string;
|
|
240
237
|
}
|
|
241
238
|
|
|
242
|
-
export interface
|
|
239
|
+
export interface FreezeViewportRequest {
|
|
243
240
|
type: "FREEZE_VP";
|
|
244
241
|
viewPortId: string;
|
|
245
242
|
}
|
|
246
243
|
|
|
247
|
-
export
|
|
244
|
+
export declare type FreezeViewportResponse =
|
|
245
|
+
| FreezeViewportSuccess
|
|
246
|
+
| FreezeViewportReject;
|
|
247
|
+
export interface FreezeViewportSuccess {
|
|
248
248
|
type: "FREEZE_VP_SUCCESS";
|
|
249
249
|
viewPortId: string;
|
|
250
250
|
}
|
|
251
|
-
export interface
|
|
251
|
+
export interface FreezeViewportReject {
|
|
252
|
+
type: "FREEZE_VP_REJECT";
|
|
253
|
+
viewPortId: string;
|
|
254
|
+
}
|
|
255
|
+
export declare type UnfreezeViewportResponse =
|
|
256
|
+
| UnfreezeViewportSuccess
|
|
257
|
+
| UnfreezeViewportReject;
|
|
258
|
+
|
|
259
|
+
export interface UnfreezeViewportRequest {
|
|
252
260
|
type: "UNFREEZE_VP";
|
|
253
261
|
viewPortId: string;
|
|
254
262
|
}
|
|
255
263
|
|
|
256
|
-
export interface
|
|
264
|
+
export interface UnfreezeViewportSuccess {
|
|
257
265
|
type: "UNFREEZE_VP_SUCCESS";
|
|
258
266
|
viewPortId: string;
|
|
259
267
|
}
|
|
268
|
+
export interface UnfreezeViewportReject {
|
|
269
|
+
type: "UNFREEZE_VP_REJECT";
|
|
270
|
+
viewPortId: string;
|
|
271
|
+
}
|
|
260
272
|
|
|
261
273
|
export declare type SelectRequest =
|
|
262
274
|
| SelectRowRequest
|
|
@@ -422,7 +434,9 @@ export declare type ServerMessageBody =
|
|
|
422
434
|
| ServerToClientError
|
|
423
435
|
| VuuRpcEditSuccess
|
|
424
436
|
| VuuRpcEditSuccess
|
|
425
|
-
| VuuRpcEditError
|
|
437
|
+
| VuuRpcEditError
|
|
438
|
+
| FreezeViewportResponse
|
|
439
|
+
| UnfreezeViewportResponse;
|
|
426
440
|
export interface ClientToServerHeartBeat {
|
|
427
441
|
type: "HB_RESP";
|
|
428
442
|
ts: number;
|
|
@@ -480,7 +494,9 @@ export declare type ClientMessageBody =
|
|
|
480
494
|
| VuuCreateVisualLink
|
|
481
495
|
| VuuRemoveVisualLink
|
|
482
496
|
| VuuRpcMenuRequest
|
|
483
|
-
| VuuRpcRequest
|
|
497
|
+
| VuuRpcRequest
|
|
498
|
+
| FreezeViewportRequest
|
|
499
|
+
| UnfreezeViewportRequest;
|
|
484
500
|
|
|
485
501
|
/**
|
|
486
502
|
* RPC type messages
|