@vuu-ui/vuu-protocol-types 0.13.65 → 0.13.66

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 +15 -8
  2. 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,32 @@ export interface VuuViewportRemoveResponse {
239
236
  viewPortId: string;
240
237
  }
241
238
 
242
- export interface VuuViewportFreezeRequest {
239
+ export interface FreezeViewportRequest {
243
240
  type: "FREEZE_VP";
244
241
  viewPortId: string;
245
242
  }
246
243
 
247
- export interface VuuViewportFreezeResponse {
244
+ export interface FreezeViewportSuccess {
248
245
  type: "FREEZE_VP_SUCCESS";
249
246
  viewPortId: string;
250
247
  }
251
- export interface VuuViewportUnfreezeRequest {
248
+ export interface FreezeViewportReject {
249
+ type: "FREEZE_VP_REJECT";
250
+ viewPortId: string;
251
+ }
252
+ export interface UnfreezeViewportRequest {
252
253
  type: "UNFREEZE_VP";
253
254
  viewPortId: string;
254
255
  }
255
256
 
256
- export interface VuuViewportUnfreezeResponse {
257
+ export interface UnfreezeViewportSuccess {
257
258
  type: "UNFREEZE_VP_SUCCESS";
258
259
  viewPortId: string;
259
260
  }
261
+ export interface UnfreezeViewportReject {
262
+ type: "UNFREEZE_VP_REJECT";
263
+ viewPortId: string;
264
+ }
260
265
 
261
266
  export declare type SelectRequest =
262
267
  | SelectRowRequest
@@ -480,7 +485,9 @@ export declare type ClientMessageBody =
480
485
  | VuuCreateVisualLink
481
486
  | VuuRemoveVisualLink
482
487
  | VuuRpcMenuRequest
483
- | VuuRpcRequest;
488
+ | VuuRpcRequest
489
+ | FreezeViewportRequest
490
+ | UnfreezeViewportRequest;
484
491
 
485
492
  /**
486
493
  * RPC type messages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-protocol-types",
3
- "version": "0.13.65",
3
+ "version": "0.13.66",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {},