@viamrobotics/motion-tools 1.12.3 → 1.13.1
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/dist/FrameConfigUpdater.svelte.js +1 -1
- package/dist/WorldObject.svelte.js +26 -13
- package/dist/buf/draw/v1/service_connect.d.ts +14 -25
- package/dist/buf/draw/v1/service_connect.js +14 -25
- package/dist/buf/draw/v1/service_pb.d.ts +61 -76
- package/dist/buf/draw/v1/service_pb.js +58 -111
- package/dist/color.js +3 -3
- package/dist/components/App.svelte +5 -6
- package/dist/components/Camera.svelte +1 -7
- package/dist/components/Camera.svelte.d.ts +0 -1
- package/dist/components/CameraControls.svelte +2 -2
- package/dist/components/{Arrows → Entities/Arrows}/ArrowGroups.svelte +3 -3
- package/dist/components/{Arrows → Entities/Arrows}/Arrows.svelte +6 -6
- package/dist/components/{Arrows → Entities/Arrows}/Arrows.svelte.d.ts +1 -1
- package/dist/components/{Entities.svelte → Entities/Entities.svelte} +5 -1
- package/dist/components/{Frame.svelte → Entities/Frame.svelte} +8 -8
- package/dist/components/{GLTF.svelte → Entities/GLTF.svelte} +5 -5
- package/dist/components/{Geometry.svelte → Entities/Geometry.svelte} +48 -53
- package/dist/components/{Label.svelte → Entities/Label.svelte} +1 -1
- package/dist/components/{Line.svelte → Entities/Line.svelte} +2 -2
- package/dist/components/{Points.svelte → Entities/Points.svelte} +5 -5
- package/dist/components/{Pose.svelte → Entities/Pose.svelte} +3 -3
- package/dist/{hooks/useObjectEvents.svelte.d.ts → components/Entities/hooks/useEntityEvents.svelte.d.ts} +1 -1
- package/dist/{hooks/useObjectEvents.svelte.js → components/Entities/hooks/useEntityEvents.svelte.js} +6 -6
- package/dist/components/FileDrop/file-names.js +6 -3
- package/dist/components/FileDrop/snapshot-dropper.js +8 -4
- package/dist/components/FileDrop/useFileDrop.svelte.js +9 -6
- package/dist/components/Lasso/Lasso.svelte +4 -4
- package/dist/components/PCD.svelte +14 -6
- package/dist/components/PCD.svelte.d.ts +2 -0
- package/dist/components/Scene.svelte +1 -3
- package/dist/components/SceneProviders.svelte +2 -0
- package/dist/components/Selected.svelte +9 -9
- package/dist/components/StaticGeometries.svelte +6 -3
- package/dist/components/overlay/AddRelationship.svelte +1 -1
- package/dist/components/overlay/Details.svelte +3 -3
- package/dist/components/overlay/FloatingPanel.svelte +3 -0
- package/dist/components/overlay/FloatingPanel.svelte.d.ts +1 -0
- package/dist/components/overlay/LiveUpdatesBanner.svelte +4 -6
- package/dist/components/overlay/Logs.svelte +75 -0
- package/dist/components/overlay/left-pane/TreeContainer.svelte +0 -3
- package/dist/components/overlay/settings/Settings.svelte +11 -13
- package/dist/components/overlay/widgets/Camera.svelte +11 -9
- package/dist/components/xr/ArmTeleop.svelte +33 -33
- package/dist/components/xr/CameraFeed.svelte +21 -23
- package/dist/components/xr/JointLimitsWidget.svelte +19 -5
- package/dist/components/xr/XRConfigPanel.svelte +17 -16
- package/dist/components/xr/XRControllerSettings.svelte +5 -4
- package/dist/components/xr/XRToast.svelte +11 -6
- package/dist/ecs/relations.d.ts +1 -0
- package/dist/ecs/relations.js +1 -0
- package/dist/ecs/useQuery.svelte.js +3 -3
- package/dist/format.js +1 -1
- package/dist/hooks/use3DModels.svelte.js +35 -36
- package/dist/hooks/useConfigFrames.svelte.d.ts +9 -0
- package/dist/hooks/useConfigFrames.svelte.js +87 -0
- package/dist/hooks/useDrawAPI.svelte.js +1 -1
- package/dist/hooks/useFramelessComponents.svelte.js +1 -1
- package/dist/hooks/useFrames.svelte.d.ts +1 -6
- package/dist/hooks/useFrames.svelte.js +93 -192
- package/dist/hooks/useGeometries.svelte.js +1 -1
- package/dist/hooks/useLinked.svelte.js +5 -4
- package/dist/hooks/usePartConfig.svelte.js +17 -18
- package/dist/hooks/usePointcloudObjects.svelte.js +4 -4
- package/dist/hooks/usePointclouds.svelte.js +2 -4
- package/dist/hooks/usePose.svelte.js +3 -7
- package/dist/hooks/useResizable.svelte.js +4 -3
- package/dist/hooks/useSettings.svelte.js +2 -2
- package/dist/hooks/useVisibility.svelte.js +0 -12
- package/dist/hooks/useWeblabs.svelte.js +3 -2
- package/dist/hooks/useWorldState.svelte.js +6 -3
- package/dist/loaders/pcd/index.js +2 -1
- package/dist/loaders/pcd/worker.inline.d.ts +1 -1
- package/dist/loaders/pcd/worker.inline.js +1 -1
- package/dist/loaders/pcd/worker.js +1 -1
- package/dist/snapshot.js +7 -5
- package/dist/three/InstancedArrows/InstancedArrows.js +1 -1
- package/dist/three/InstancedArrows/box.js +1 -1
- package/dist/three/InstancedArrows/raycast.js +12 -12
- package/package.json +19 -11
- package/dist/components/overlay/left-pane/Logs.svelte +0 -52
- /package/dist/components/{Arrows → Entities/Arrows}/ArrowGroups.svelte.d.ts +0 -0
- /package/dist/components/{Entities.svelte.d.ts → Entities/Entities.svelte.d.ts} +0 -0
- /package/dist/components/{Frame.svelte.d.ts → Entities/Frame.svelte.d.ts} +0 -0
- /package/dist/components/{GLTF.svelte.d.ts → Entities/GLTF.svelte.d.ts} +0 -0
- /package/dist/components/{Geometry.svelte.d.ts → Entities/Geometry.svelte.d.ts} +0 -0
- /package/dist/components/{Label.svelte.d.ts → Entities/Label.svelte.d.ts} +0 -0
- /package/dist/components/{Line.svelte.d.ts → Entities/Line.svelte.d.ts} +0 -0
- /package/dist/components/{LineDots.svelte → Entities/LineDots.svelte} +0 -0
- /package/dist/components/{LineDots.svelte.d.ts → Entities/LineDots.svelte.d.ts} +0 -0
- /package/dist/components/{LineGeometry.svelte → Entities/LineGeometry.svelte} +0 -0
- /package/dist/components/{LineGeometry.svelte.d.ts → Entities/LineGeometry.svelte.d.ts} +0 -0
- /package/dist/components/{Points.svelte.d.ts → Entities/Points.svelte.d.ts} +0 -0
- /package/dist/components/{Pose.svelte.d.ts → Entities/Pose.svelte.d.ts} +0 -0
- /package/dist/components/overlay/{left-pane/Logs.svelte.d.ts → Logs.svelte.d.ts} +0 -0
|
@@ -28,8 +28,9 @@ const unwrapValue = (value) => {
|
|
|
28
28
|
switch (value.kind.case) {
|
|
29
29
|
case 'numberValue':
|
|
30
30
|
case 'stringValue':
|
|
31
|
-
case 'boolValue':
|
|
31
|
+
case 'boolValue': {
|
|
32
32
|
return value.kind.value;
|
|
33
|
+
}
|
|
33
34
|
case 'structValue': {
|
|
34
35
|
const result = {};
|
|
35
36
|
for (const [key, val] of Object.entries(value.kind.value.fields || {})) {
|
|
@@ -38,12 +39,16 @@ const unwrapValue = (value) => {
|
|
|
38
39
|
}
|
|
39
40
|
return result;
|
|
40
41
|
}
|
|
41
|
-
case 'listValue':
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
case 'listValue': {
|
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
44
|
+
return value.kind.value.values?.map((value) => unwrapValue(value)) || [];
|
|
45
|
+
}
|
|
46
|
+
case 'nullValue': {
|
|
44
47
|
return null;
|
|
45
|
-
|
|
48
|
+
}
|
|
49
|
+
default: {
|
|
46
50
|
return value.kind.value;
|
|
51
|
+
}
|
|
47
52
|
}
|
|
48
53
|
};
|
|
49
54
|
export const parseMetadata = (fields = {}) => {
|
|
@@ -54,9 +59,10 @@ export const parseMetadata = (fields = {}) => {
|
|
|
54
59
|
const unwrappedValue = unwrapValue(v);
|
|
55
60
|
switch (k) {
|
|
56
61
|
case 'color':
|
|
57
|
-
case 'lineDotColor':
|
|
62
|
+
case 'lineDotColor': {
|
|
58
63
|
json[k] = readColor(unwrappedValue);
|
|
59
64
|
break;
|
|
65
|
+
}
|
|
60
66
|
case 'colors': {
|
|
61
67
|
let colorBytes;
|
|
62
68
|
// Handle base64-encoded string (from protobuf Struct)
|
|
@@ -80,27 +86,34 @@ export const parseMetadata = (fields = {}) => {
|
|
|
80
86
|
}
|
|
81
87
|
break;
|
|
82
88
|
}
|
|
83
|
-
case 'opacity':
|
|
89
|
+
case 'opacity': {
|
|
84
90
|
json[k] = parseOpacity(unwrappedValue);
|
|
85
91
|
break;
|
|
86
|
-
|
|
92
|
+
}
|
|
93
|
+
case 'gltf': {
|
|
87
94
|
json[k] = unwrappedValue;
|
|
88
95
|
break;
|
|
89
|
-
|
|
96
|
+
}
|
|
97
|
+
case 'points': {
|
|
90
98
|
json[k] = unwrappedValue;
|
|
91
99
|
break;
|
|
92
|
-
|
|
100
|
+
}
|
|
101
|
+
case 'pointSize': {
|
|
93
102
|
json[k] = unwrappedValue;
|
|
94
103
|
break;
|
|
95
|
-
|
|
104
|
+
}
|
|
105
|
+
case 'lineWidth': {
|
|
96
106
|
json[k] = unwrappedValue;
|
|
97
107
|
break;
|
|
98
|
-
|
|
108
|
+
}
|
|
109
|
+
case 'batched': {
|
|
99
110
|
json[k] = unwrappedValue;
|
|
100
111
|
break;
|
|
101
|
-
|
|
112
|
+
}
|
|
113
|
+
case 'shape': {
|
|
102
114
|
json[k] = unwrappedValue;
|
|
103
115
|
break;
|
|
116
|
+
}
|
|
104
117
|
}
|
|
105
118
|
}
|
|
106
119
|
return json;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddEntityRequest, AddEntityResponse, RemoveAllDrawingsRequest, RemoveAllDrawingsResponse, RemoveAllRequest, RemoveAllResponse, RemoveAllTransformsRequest, RemoveAllTransformsResponse, RemoveEntityRequest, RemoveEntityResponse,
|
|
1
|
+
import { AddEntityRequest, AddEntityResponse, RemoveAllDrawingsRequest, RemoveAllDrawingsResponse, RemoveAllRequest, RemoveAllResponse, RemoveAllTransformsRequest, RemoveAllTransformsResponse, RemoveEntityRequest, RemoveEntityResponse, SetSceneRequest, SetSceneResponse, StreamEntityChangesRequest, StreamEntityChangesResponse, StreamSceneChangesRequest, StreamSceneChangesResponse, UpdateEntityRequest, UpdateEntityResponse } from "./service_pb";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* DrawService provides visualization APIs for managing transforms and custom drawing primitives
|
|
@@ -42,37 +42,26 @@ export declare const DrawService: {
|
|
|
42
42
|
readonly kind: MethodKind.Unary;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Stream changes to entities in the scene.
|
|
46
46
|
*
|
|
47
|
-
* @generated from rpc draw.v1.DrawService.
|
|
47
|
+
* @generated from rpc draw.v1.DrawService.StreamEntityChanges
|
|
48
48
|
*/
|
|
49
|
-
readonly
|
|
50
|
-
readonly name: "
|
|
51
|
-
readonly I: typeof
|
|
52
|
-
readonly O: typeof
|
|
53
|
-
readonly kind: MethodKind.Unary;
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Stream changes to the transforms in the scene.
|
|
57
|
-
*
|
|
58
|
-
* @generated from rpc draw.v1.DrawService.StreamTransformChanges
|
|
59
|
-
*/
|
|
60
|
-
readonly streamTransformChanges: {
|
|
61
|
-
readonly name: "StreamTransformChanges";
|
|
62
|
-
readonly I: typeof StreamTransformChangesRequest;
|
|
63
|
-
readonly O: typeof StreamTransformChangesResponse;
|
|
49
|
+
readonly streamEntityChanges: {
|
|
50
|
+
readonly name: "StreamEntityChanges";
|
|
51
|
+
readonly I: typeof StreamEntityChangesRequest;
|
|
52
|
+
readonly O: typeof StreamEntityChangesResponse;
|
|
64
53
|
readonly kind: MethodKind.ServerStreaming;
|
|
65
54
|
};
|
|
66
55
|
/**
|
|
67
|
-
*
|
|
56
|
+
* Set the camera and/or metadata for the scene.
|
|
68
57
|
*
|
|
69
|
-
* @generated from rpc draw.v1.DrawService.
|
|
58
|
+
* @generated from rpc draw.v1.DrawService.SetScene
|
|
70
59
|
*/
|
|
71
|
-
readonly
|
|
72
|
-
readonly name: "
|
|
73
|
-
readonly I: typeof
|
|
74
|
-
readonly O: typeof
|
|
75
|
-
readonly kind: MethodKind.
|
|
60
|
+
readonly setScene: {
|
|
61
|
+
readonly name: "SetScene";
|
|
62
|
+
readonly I: typeof SetSceneRequest;
|
|
63
|
+
readonly O: typeof SetSceneResponse;
|
|
64
|
+
readonly kind: MethodKind.Unary;
|
|
76
65
|
};
|
|
77
66
|
/**
|
|
78
67
|
* Stream changes to the camera and/or metadata for the scene.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file draw/v1/service.proto (package draw.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { AddEntityRequest, AddEntityResponse, RemoveAllDrawingsRequest, RemoveAllDrawingsResponse, RemoveAllRequest, RemoveAllResponse, RemoveAllTransformsRequest, RemoveAllTransformsResponse, RemoveEntityRequest, RemoveEntityResponse,
|
|
5
|
+
import { AddEntityRequest, AddEntityResponse, RemoveAllDrawingsRequest, RemoveAllDrawingsResponse, RemoveAllRequest, RemoveAllResponse, RemoveAllTransformsRequest, RemoveAllTransformsResponse, RemoveEntityRequest, RemoveEntityResponse, SetSceneRequest, SetSceneResponse, StreamEntityChangesRequest, StreamEntityChangesResponse, StreamSceneChangesRequest, StreamSceneChangesResponse, UpdateEntityRequest, UpdateEntityResponse } from "./service_pb";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* DrawService provides visualization APIs for managing transforms and custom drawing primitives
|
|
@@ -46,37 +46,26 @@ export const DrawService = {
|
|
|
46
46
|
kind: MethodKind.Unary,
|
|
47
47
|
},
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Stream changes to entities in the scene.
|
|
50
50
|
*
|
|
51
|
-
* @generated from rpc draw.v1.DrawService.
|
|
51
|
+
* @generated from rpc draw.v1.DrawService.StreamEntityChanges
|
|
52
52
|
*/
|
|
53
|
-
|
|
54
|
-
name: "
|
|
55
|
-
I:
|
|
56
|
-
O:
|
|
57
|
-
kind: MethodKind.Unary,
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* Stream changes to the transforms in the scene.
|
|
61
|
-
*
|
|
62
|
-
* @generated from rpc draw.v1.DrawService.StreamTransformChanges
|
|
63
|
-
*/
|
|
64
|
-
streamTransformChanges: {
|
|
65
|
-
name: "StreamTransformChanges",
|
|
66
|
-
I: StreamTransformChangesRequest,
|
|
67
|
-
O: StreamTransformChangesResponse,
|
|
53
|
+
streamEntityChanges: {
|
|
54
|
+
name: "StreamEntityChanges",
|
|
55
|
+
I: StreamEntityChangesRequest,
|
|
56
|
+
O: StreamEntityChangesResponse,
|
|
68
57
|
kind: MethodKind.ServerStreaming,
|
|
69
58
|
},
|
|
70
59
|
/**
|
|
71
|
-
*
|
|
60
|
+
* Set the camera and/or metadata for the scene.
|
|
72
61
|
*
|
|
73
|
-
* @generated from rpc draw.v1.DrawService.
|
|
62
|
+
* @generated from rpc draw.v1.DrawService.SetScene
|
|
74
63
|
*/
|
|
75
|
-
|
|
76
|
-
name: "
|
|
77
|
-
I:
|
|
78
|
-
O:
|
|
79
|
-
kind: MethodKind.
|
|
64
|
+
setScene: {
|
|
65
|
+
name: "SetScene",
|
|
66
|
+
I: SetSceneRequest,
|
|
67
|
+
O: SetSceneResponse,
|
|
68
|
+
kind: MethodKind.Unary,
|
|
80
69
|
},
|
|
81
70
|
/**
|
|
82
71
|
* Stream changes to the camera and/or metadata for the scene.
|
|
@@ -4,23 +4,23 @@ import { Transform } from "../../common/v1/common_pb";
|
|
|
4
4
|
import { Drawing } from "./drawing_pb";
|
|
5
5
|
import { SceneMetadata } from "./scene_pb";
|
|
6
6
|
/**
|
|
7
|
-
* @generated from enum draw.v1.
|
|
7
|
+
* @generated from enum draw.v1.EntityChangeType
|
|
8
8
|
*/
|
|
9
|
-
export declare enum
|
|
9
|
+
export declare enum EntityChangeType {
|
|
10
10
|
/**
|
|
11
|
-
* @generated from enum value:
|
|
11
|
+
* @generated from enum value: ENTITY_CHANGE_TYPE_UNSPECIFIED = 0;
|
|
12
12
|
*/
|
|
13
13
|
UNSPECIFIED = 0,
|
|
14
14
|
/**
|
|
15
|
-
* @generated from enum value:
|
|
15
|
+
* @generated from enum value: ENTITY_CHANGE_TYPE_ADDED = 1;
|
|
16
16
|
*/
|
|
17
17
|
ADDED = 1,
|
|
18
18
|
/**
|
|
19
|
-
* @generated from enum value:
|
|
19
|
+
* @generated from enum value: ENTITY_CHANGE_TYPE_REMOVED = 2;
|
|
20
20
|
*/
|
|
21
21
|
REMOVED = 2,
|
|
22
22
|
/**
|
|
23
|
-
* @generated from enum value:
|
|
23
|
+
* @generated from enum value: ENTITY_CHANGE_TYPE_UPDATED = 3;
|
|
24
24
|
*/
|
|
25
25
|
UPDATED = 3
|
|
26
26
|
}
|
|
@@ -189,38 +189,57 @@ export declare class RemoveAllTransformsResponse extends Message<RemoveAllTransf
|
|
|
189
189
|
static equals(a: RemoveAllTransformsResponse | PlainMessage<RemoveAllTransformsResponse> | undefined, b: RemoveAllTransformsResponse | PlainMessage<RemoveAllTransformsResponse> | undefined): boolean;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
|
-
* @generated from message draw.v1.
|
|
192
|
+
* @generated from message draw.v1.StreamEntityChangesRequest
|
|
193
193
|
*/
|
|
194
|
-
export declare class
|
|
195
|
-
constructor(data?: PartialMessage<
|
|
194
|
+
export declare class StreamEntityChangesRequest extends Message<StreamEntityChangesRequest> {
|
|
195
|
+
constructor(data?: PartialMessage<StreamEntityChangesRequest>);
|
|
196
196
|
static readonly runtime: typeof proto3;
|
|
197
|
-
static readonly typeName = "draw.v1.
|
|
197
|
+
static readonly typeName = "draw.v1.StreamEntityChangesRequest";
|
|
198
198
|
static readonly fields: FieldList;
|
|
199
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
200
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
201
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
202
|
-
static equals(a:
|
|
199
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamEntityChangesRequest;
|
|
200
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamEntityChangesRequest;
|
|
201
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamEntityChangesRequest;
|
|
202
|
+
static equals(a: StreamEntityChangesRequest | PlainMessage<StreamEntityChangesRequest> | undefined, b: StreamEntityChangesRequest | PlainMessage<StreamEntityChangesRequest> | undefined): boolean;
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* @generated from message draw.v1.
|
|
205
|
+
* @generated from message draw.v1.StreamEntityChangesResponse
|
|
206
206
|
*/
|
|
207
|
-
export declare class
|
|
207
|
+
export declare class StreamEntityChangesResponse extends Message<StreamEntityChangesResponse> {
|
|
208
208
|
/**
|
|
209
|
-
* @generated from field: draw.v1.
|
|
209
|
+
* @generated from field: draw.v1.EntityChangeType change_type = 1;
|
|
210
210
|
*/
|
|
211
|
-
changeType:
|
|
211
|
+
changeType: EntityChangeType;
|
|
212
212
|
/**
|
|
213
|
-
* @generated from
|
|
213
|
+
* @generated from oneof draw.v1.StreamEntityChangesResponse.entity
|
|
214
214
|
*/
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
entity: {
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: viam.common.v1.Transform transform = 2;
|
|
218
|
+
*/
|
|
219
|
+
value: Transform;
|
|
220
|
+
case: "transform";
|
|
221
|
+
} | {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: draw.v1.Drawing drawing = 3;
|
|
224
|
+
*/
|
|
225
|
+
value: Drawing;
|
|
226
|
+
case: "drawing";
|
|
227
|
+
} | {
|
|
228
|
+
case: undefined;
|
|
229
|
+
value?: undefined;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: google.protobuf.FieldMask updated_fields = 4;
|
|
233
|
+
*/
|
|
234
|
+
updatedFields?: FieldMask;
|
|
235
|
+
constructor(data?: PartialMessage<StreamEntityChangesResponse>);
|
|
217
236
|
static readonly runtime: typeof proto3;
|
|
218
|
-
static readonly typeName = "draw.v1.
|
|
237
|
+
static readonly typeName = "draw.v1.StreamEntityChangesResponse";
|
|
219
238
|
static readonly fields: FieldList;
|
|
220
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
221
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
222
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
223
|
-
static equals(a:
|
|
239
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamEntityChangesResponse;
|
|
240
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamEntityChangesResponse;
|
|
241
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamEntityChangesResponse;
|
|
242
|
+
static equals(a: StreamEntityChangesResponse | PlainMessage<StreamEntityChangesResponse> | undefined, b: StreamEntityChangesResponse | PlainMessage<StreamEntityChangesResponse> | undefined): boolean;
|
|
224
243
|
}
|
|
225
244
|
/**
|
|
226
245
|
* @generated from message draw.v1.RemoveAllDrawingsRequest
|
|
@@ -253,68 +272,34 @@ export declare class RemoveAllDrawingsResponse extends Message<RemoveAllDrawings
|
|
|
253
272
|
static equals(a: RemoveAllDrawingsResponse | PlainMessage<RemoveAllDrawingsResponse> | undefined, b: RemoveAllDrawingsResponse | PlainMessage<RemoveAllDrawingsResponse> | undefined): boolean;
|
|
254
273
|
}
|
|
255
274
|
/**
|
|
256
|
-
* @generated from message draw.v1.
|
|
257
|
-
*/
|
|
258
|
-
export declare class StreamDrawingChangesRequest extends Message<StreamDrawingChangesRequest> {
|
|
259
|
-
constructor(data?: PartialMessage<StreamDrawingChangesRequest>);
|
|
260
|
-
static readonly runtime: typeof proto3;
|
|
261
|
-
static readonly typeName = "draw.v1.StreamDrawingChangesRequest";
|
|
262
|
-
static readonly fields: FieldList;
|
|
263
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamDrawingChangesRequest;
|
|
264
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamDrawingChangesRequest;
|
|
265
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamDrawingChangesRequest;
|
|
266
|
-
static equals(a: StreamDrawingChangesRequest | PlainMessage<StreamDrawingChangesRequest> | undefined, b: StreamDrawingChangesRequest | PlainMessage<StreamDrawingChangesRequest> | undefined): boolean;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* @generated from message draw.v1.StreamDrawingChangesResponse
|
|
270
|
-
*/
|
|
271
|
-
export declare class StreamDrawingChangesResponse extends Message<StreamDrawingChangesResponse> {
|
|
272
|
-
/**
|
|
273
|
-
* @generated from field: draw.v1.ChangeType change_type = 1;
|
|
274
|
-
*/
|
|
275
|
-
changeType: ChangeType;
|
|
276
|
-
/**
|
|
277
|
-
* @generated from field: draw.v1.Drawing drawing = 2;
|
|
278
|
-
*/
|
|
279
|
-
drawing?: Drawing;
|
|
280
|
-
constructor(data?: PartialMessage<StreamDrawingChangesResponse>);
|
|
281
|
-
static readonly runtime: typeof proto3;
|
|
282
|
-
static readonly typeName = "draw.v1.StreamDrawingChangesResponse";
|
|
283
|
-
static readonly fields: FieldList;
|
|
284
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamDrawingChangesResponse;
|
|
285
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamDrawingChangesResponse;
|
|
286
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamDrawingChangesResponse;
|
|
287
|
-
static equals(a: StreamDrawingChangesResponse | PlainMessage<StreamDrawingChangesResponse> | undefined, b: StreamDrawingChangesResponse | PlainMessage<StreamDrawingChangesResponse> | undefined): boolean;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* @generated from message draw.v1.SetSceneMetadataRequest
|
|
275
|
+
* @generated from message draw.v1.SetSceneRequest
|
|
291
276
|
*/
|
|
292
|
-
export declare class
|
|
277
|
+
export declare class SetSceneRequest extends Message<SetSceneRequest> {
|
|
293
278
|
/**
|
|
294
279
|
* @generated from field: draw.v1.SceneMetadata scene_metadata = 1;
|
|
295
280
|
*/
|
|
296
281
|
sceneMetadata?: SceneMetadata;
|
|
297
|
-
constructor(data?: PartialMessage<
|
|
282
|
+
constructor(data?: PartialMessage<SetSceneRequest>);
|
|
298
283
|
static readonly runtime: typeof proto3;
|
|
299
|
-
static readonly typeName = "draw.v1.
|
|
284
|
+
static readonly typeName = "draw.v1.SetSceneRequest";
|
|
300
285
|
static readonly fields: FieldList;
|
|
301
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
302
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
303
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
304
|
-
static equals(a:
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSceneRequest;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSceneRequest;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSceneRequest;
|
|
289
|
+
static equals(a: SetSceneRequest | PlainMessage<SetSceneRequest> | undefined, b: SetSceneRequest | PlainMessage<SetSceneRequest> | undefined): boolean;
|
|
305
290
|
}
|
|
306
291
|
/**
|
|
307
|
-
* @generated from message draw.v1.
|
|
292
|
+
* @generated from message draw.v1.SetSceneResponse
|
|
308
293
|
*/
|
|
309
|
-
export declare class
|
|
310
|
-
constructor(data?: PartialMessage<
|
|
294
|
+
export declare class SetSceneResponse extends Message<SetSceneResponse> {
|
|
295
|
+
constructor(data?: PartialMessage<SetSceneResponse>);
|
|
311
296
|
static readonly runtime: typeof proto3;
|
|
312
|
-
static readonly typeName = "draw.v1.
|
|
297
|
+
static readonly typeName = "draw.v1.SetSceneResponse";
|
|
313
298
|
static readonly fields: FieldList;
|
|
314
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
315
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
316
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
317
|
-
static equals(a:
|
|
299
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetSceneResponse;
|
|
300
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetSceneResponse;
|
|
301
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetSceneResponse;
|
|
302
|
+
static equals(a: SetSceneResponse | PlainMessage<SetSceneResponse> | undefined, b: SetSceneResponse | PlainMessage<SetSceneResponse> | undefined): boolean;
|
|
318
303
|
}
|
|
319
304
|
/**
|
|
320
305
|
* @generated from message draw.v1.StreamSceneChangesRequest
|