@vuu-ui/vuu-protocol-types 0.13.13 → 0.13.14

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 +37 -14
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -169,11 +169,22 @@ export interface VuuViewportRangeResponse {
169
169
  type: "CHANGE_VP_RANGE_SUCCESS";
170
170
  viewPortId: string;
171
171
  }
172
- export interface ServerToClientDisableViewPortSuccess {
172
+
173
+ export interface VuuViewportDisableRequest {
174
+ type: "DISABLE_VP";
175
+ viewPortId: string;
176
+ }
177
+ export interface VuuViewportDisableResponse {
173
178
  type: "DISABLE_VP_SUCCESS";
174
179
  viewPortId: string;
175
180
  }
176
- export interface ServerToClientEnableViewPortSuccess {
181
+
182
+ export interface VuuViewportEnableRequest {
183
+ type: "ENABLE_VP";
184
+ viewPortId: string;
185
+ }
186
+
187
+ export interface VuuViewportEnableResponse {
177
188
  type: "ENABLE_VP_SUCCESS";
178
189
  viewPortId: string;
179
190
  }
@@ -187,6 +198,26 @@ export interface VuuViewportRemoveResponse {
187
198
  type: "REMOVE_VP_SUCCESS";
188
199
  viewPortId: string;
189
200
  }
201
+
202
+ export interface VuuViewportFreezeRequest {
203
+ type: "FREEZE_VP";
204
+ viewPortId: string;
205
+ }
206
+
207
+ export interface VuuViewportFreezeResponse {
208
+ type: "FREEZE_VP_SUCCESS";
209
+ viewPortId: string;
210
+ }
211
+ export interface VuuViewportUnfreezeRequest {
212
+ type: "UNFREEZE_VP";
213
+ viewPortId: string;
214
+ }
215
+
216
+ export interface VuuViewportUnfreezeResponse {
217
+ type: "UNFREEZE_VP_SUCCESS";
218
+ viewPortId: string;
219
+ }
220
+
190
221
  export interface ServerToClientSelectSuccess {
191
222
  type: "SET_SELECTION_SUCCESS";
192
223
  vpId: string;
@@ -215,8 +246,8 @@ export declare type ServerMessageBody =
215
246
  | VuuViewportCreateResponse
216
247
  | VuuViewportChangeResponse
217
248
  | VuuViewportRangeResponse
218
- | ServerToClientDisableViewPortSuccess
219
- | ServerToClientEnableViewPortSuccess
249
+ | VuuViewportDisableResponse
250
+ | VuuViewportEnableResponse
220
251
  | VuuViewportRemoveResponse
221
252
  | ServerToClientSelectSuccess
222
253
  | VuuTableMetaResponse
@@ -250,14 +281,6 @@ export interface ClientToServerHeartBeat {
250
281
  type: "HB_RESP";
251
282
  ts: number;
252
283
  }
253
- export interface ClientToServerDisable {
254
- type: "DISABLE_VP";
255
- viewPortId: string;
256
- }
257
- export interface ClientToServerEnable {
258
- type: "ENABLE_VP";
259
- viewPortId: string;
260
- }
261
284
  export interface ClientToServerSelection {
262
285
  type: "SET_SELECTION";
263
286
  selection: number[];
@@ -300,8 +323,8 @@ export declare type ClientMessageBody =
300
323
  | ClientToServerAuth
301
324
  | ClientToServerLogin
302
325
  | ClientToServerHeartBeat
303
- | ClientToServerDisable
304
- | ClientToServerEnable
326
+ | VuuViewportDisableRequest
327
+ | VuuViewportEnableRequest
305
328
  | VuuTableListRequest
306
329
  | VuuTableMetaRequest
307
330
  | VuuViewportCreateRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-protocol-types",
3
- "version": "0.13.13",
3
+ "version": "0.13.14",
4
4
  "author": "heswell",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {},