@cobotar/protocol 0.19.17 → 0.19.18
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/README.md +1 -1
- package/lib/ar/v1/ar_config_pb.ts +36 -217
- package/lib/ar/v1/config_resolve_pb.ts +176 -61
- package/lib/ar/v1/input_slot_pb.ts +335 -0
- package/lib/ar/v1/mapping_pb.ts +42 -0
- package/lib/validation/v1/predefined_string_rules_pb.ts +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,17 +2,9 @@
|
|
|
2
2
|
// @generated from file ar/v1/ar_config.proto (package ar.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type {
|
|
6
|
-
import {
|
|
7
|
-
import type { ActionMessage } from "./action_pb.ts";
|
|
8
|
-
import { file_ar_v1_action } from "./action_pb.ts";
|
|
9
|
-
import type { FeedbackMessage } from "./feedback_pb.ts";
|
|
10
|
-
import { file_ar_v1_feedback } from "./feedback_pb.ts";
|
|
11
|
-
import type { HelperMessage } from "./helper_pb.ts";
|
|
12
|
-
import { file_ar_v1_helper } from "./helper_pb.ts";
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
13
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
14
|
-
import type { Property } from "../../common/v1/property_pb.ts";
|
|
15
|
-
import { file_common_v1_property } from "../../common/v1/property_pb.ts";
|
|
16
8
|
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
17
9
|
import type { Message } from "@bufbuild/protobuf";
|
|
18
10
|
|
|
@@ -20,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
20
12
|
* Describes the file ar/v1/ar_config.proto.
|
|
21
13
|
*/
|
|
22
14
|
export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
|
|
23
|
-
fileDesc("
|
|
15
|
+
fileDesc("ChVhci92MS9hcl9jb25maWcucHJvdG8SBWFyLnYxIl0KE0FSQ29uZmlnSW5mb01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkiQQoUQVJDb25maWdJbmZvTWVzc2FnZXMSKQoFaW5mb3MYASADKAsyGi5hci52MS5BUkNvbmZpZ0luZm9NZXNzYWdlIpACCg9BUkNvbmZpZ01lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSKQoVYXJfZGlzYXBwZWFyX2Rpc3RhbmNlGAUgASgDQgq6SAciBUjeAigAEhQKDGZlZWRiYWNrX2lkcxgGIAMoCRISCgphY3Rpb25faWRzGAcgAygJEhIKCmhlbHBlcl9pZHMYCCADKAkSJAoMcHJvcGVydHlfaWRzGAkgAygJQg66SAuSAQgiBnIEmPEEARImCg5pbnB1dF9zbG90X2lkcxgKIAMoCUIOukgLkgEIIgZyBPjrMAEiOwoQQVJDb25maWdNZXNzYWdlcxInCgdjb25maWdzGAEgAygLMhYuYXIudjEuQVJDb25maWdNZXNzYWdlQokBCgljb20uYXIudjFCDUFyQ29uZmlnUHJvdG9QAVovZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2FyL3YxO2FydjGiAgNBWFiqAg5NZXNzYWdlcy5BUi5WMcoCBUFyXFYx4gIRQXJcVjFcR1BCTWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
24
16
|
|
|
25
17
|
/**
|
|
26
18
|
* Just delete this?
|
|
@@ -29,6 +21,8 @@ export const file_ar_v1_ar_config: GenFile = /*@__PURE__*/
|
|
|
29
21
|
*/
|
|
30
22
|
export type ARConfigInfoMessage = Message<"ar.v1.ARConfigInfoMessage"> & {
|
|
31
23
|
/**
|
|
24
|
+
* Stable config identifier.
|
|
25
|
+
*
|
|
32
26
|
* @generated from field: string id = 1;
|
|
33
27
|
*/
|
|
34
28
|
id: string;
|
|
@@ -61,6 +55,8 @@ export const ARConfigInfoMessageSchema: GenMessage<ARConfigInfoMessage> = /*@__P
|
|
|
61
55
|
*/
|
|
62
56
|
export type ARConfigInfoMessages = Message<"ar.v1.ARConfigInfoMessages"> & {
|
|
63
57
|
/**
|
|
58
|
+
* Lightweight AR config metadata entries.
|
|
59
|
+
*
|
|
64
60
|
* @generated from field: repeated ar.v1.ARConfigInfoMessage infos = 1;
|
|
65
61
|
*/
|
|
66
62
|
infos: ARConfigInfoMessage[];
|
|
@@ -74,118 +70,17 @@ export const ARConfigInfoMessagesSchema: GenMessage<ARConfigInfoMessages> = /*@_
|
|
|
74
70
|
messageDesc(file_ar_v1_ar_config, 1);
|
|
75
71
|
|
|
76
72
|
/**
|
|
77
|
-
*
|
|
78
|
-
* ARConfig is attached to a concrete station or cell.
|
|
79
|
-
*
|
|
80
|
-
* The slot keeps generic authoring inside the ARConfig while allowing each
|
|
81
|
-
* binding to provide the concrete robot or asset instance available in the
|
|
82
|
-
* target workspace.
|
|
83
|
-
*
|
|
84
|
-
* @generated from message ar.v1.ARResourceSlot
|
|
85
|
-
*/
|
|
86
|
-
export type ARResourceSlot = Message<"ar.v1.ARResourceSlot"> & {
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: string id = 1;
|
|
89
|
-
*/
|
|
90
|
-
id: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @generated from field: string name = 2;
|
|
94
|
-
*/
|
|
95
|
-
name: string;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @generated from field: string icon = 3;
|
|
99
|
-
*/
|
|
100
|
-
icon: string;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* @generated from field: string description = 4;
|
|
104
|
-
*/
|
|
105
|
-
description: string;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* @generated from field: ar.v1.ARResourceSlotType type = 5;
|
|
109
|
-
*/
|
|
110
|
-
type: ARResourceSlotType;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: bool required = 6;
|
|
114
|
-
*/
|
|
115
|
-
required: boolean;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @generated from field: string property_id = 7;
|
|
119
|
-
*/
|
|
120
|
-
propertyId: string;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Describes the message ar.v1.ARResourceSlot.
|
|
125
|
-
* Use `create(ARResourceSlotSchema)` to create a new message.
|
|
126
|
-
*/
|
|
127
|
-
export const ARResourceSlotSchema: GenMessage<ARResourceSlot> = /*@__PURE__*/
|
|
128
|
-
messageDesc(file_ar_v1_ar_config, 2);
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* ARContextSlot declares a typed runtime context input that the resolver may
|
|
132
|
-
* populate from the active line/cell/station/execution scope.
|
|
73
|
+
* ARConfigMessage is the reusable authoring-time template for an AR experience.
|
|
133
74
|
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* into the loaded config instance after binding resolution.
|
|
75
|
+
* It references feedback, actions, helpers, properties, and input slots that
|
|
76
|
+
* are later materialized through ARConfigBindingMessage and runtime resolution.
|
|
137
77
|
*
|
|
138
|
-
* @generated from message ar.v1.ARContextSlot
|
|
139
|
-
*/
|
|
140
|
-
export type ARContextSlot = Message<"ar.v1.ARContextSlot"> & {
|
|
141
|
-
/**
|
|
142
|
-
* @generated from field: string id = 1;
|
|
143
|
-
*/
|
|
144
|
-
id: string;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* @generated from field: string name = 2;
|
|
148
|
-
*/
|
|
149
|
-
name: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* @generated from field: string icon = 3;
|
|
153
|
-
*/
|
|
154
|
-
icon: string;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* @generated from field: string description = 4;
|
|
158
|
-
*/
|
|
159
|
-
description: string;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @generated from field: ar.v1.ARContextSlotType type = 5;
|
|
163
|
-
*/
|
|
164
|
-
type: ARContextSlotType;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @generated from field: bool required = 6;
|
|
168
|
-
*/
|
|
169
|
-
required: boolean;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @generated from field: string property_id = 7;
|
|
173
|
-
*/
|
|
174
|
-
propertyId: string;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Describes the message ar.v1.ARContextSlot.
|
|
179
|
-
* Use `create(ARContextSlotSchema)` to create a new message.
|
|
180
|
-
*/
|
|
181
|
-
export const ARContextSlotSchema: GenMessage<ARContextSlot> = /*@__PURE__*/
|
|
182
|
-
messageDesc(file_ar_v1_ar_config, 3);
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
78
|
* @generated from message ar.v1.ARConfigMessage
|
|
186
79
|
*/
|
|
187
80
|
export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
|
|
188
81
|
/**
|
|
82
|
+
* Stable config identifier.
|
|
83
|
+
*
|
|
189
84
|
* @generated from field: string id = 1;
|
|
190
85
|
*/
|
|
191
86
|
id: string;
|
|
@@ -206,47 +101,46 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
|
|
|
206
101
|
description: string;
|
|
207
102
|
|
|
208
103
|
/**
|
|
209
|
-
*
|
|
104
|
+
* Threshold distance in cm all AR elements should disappear. 0 = ignored
|
|
210
105
|
*
|
|
211
|
-
* @generated from field:
|
|
212
|
-
*/
|
|
213
|
-
feedback: FeedbackMessage[];
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @generated from field: repeated ar.v1.ActionMessage actions = 6;
|
|
106
|
+
* @generated from field: int64 ar_disappear_distance = 5;
|
|
217
107
|
*/
|
|
218
|
-
|
|
108
|
+
arDisappearDistance: bigint;
|
|
219
109
|
|
|
220
110
|
/**
|
|
221
|
-
*
|
|
111
|
+
* Feedback entities belonging to this config.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: repeated string feedback_ids = 6;
|
|
222
114
|
*/
|
|
223
|
-
|
|
115
|
+
feedbackIds: string[];
|
|
224
116
|
|
|
225
117
|
/**
|
|
226
|
-
*
|
|
118
|
+
* Action entities belonging to this config.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: repeated string action_ids = 7;
|
|
227
121
|
*/
|
|
228
|
-
|
|
122
|
+
actionIds: string[];
|
|
229
123
|
|
|
230
124
|
/**
|
|
231
|
-
*
|
|
125
|
+
* Helper entities belonging to this config.
|
|
232
126
|
*
|
|
233
|
-
* @generated from field:
|
|
127
|
+
* @generated from field: repeated string helper_ids = 8;
|
|
234
128
|
*/
|
|
235
|
-
|
|
129
|
+
helperIds: string[];
|
|
236
130
|
|
|
237
131
|
/**
|
|
238
|
-
*
|
|
132
|
+
* Includes server-managed generated properties for referenced input slots.
|
|
239
133
|
*
|
|
240
|
-
* @generated from field: repeated
|
|
134
|
+
* @generated from field: repeated string property_ids = 9;
|
|
241
135
|
*/
|
|
242
|
-
|
|
136
|
+
propertyIds: string[];
|
|
243
137
|
|
|
244
138
|
/**
|
|
245
|
-
*
|
|
139
|
+
* Authoritative config-owned input slots, edited directly as ARInputSlotMessage entities.
|
|
246
140
|
*
|
|
247
|
-
* @generated from field: repeated
|
|
141
|
+
* @generated from field: repeated string input_slot_ids = 10;
|
|
248
142
|
*/
|
|
249
|
-
|
|
143
|
+
inputSlotIds: string[];
|
|
250
144
|
};
|
|
251
145
|
|
|
252
146
|
/**
|
|
@@ -254,13 +148,15 @@ export type ARConfigMessage = Message<"ar.v1.ARConfigMessage"> & {
|
|
|
254
148
|
* Use `create(ARConfigMessageSchema)` to create a new message.
|
|
255
149
|
*/
|
|
256
150
|
export const ARConfigMessageSchema: GenMessage<ARConfigMessage> = /*@__PURE__*/
|
|
257
|
-
messageDesc(file_ar_v1_ar_config,
|
|
151
|
+
messageDesc(file_ar_v1_ar_config, 2);
|
|
258
152
|
|
|
259
153
|
/**
|
|
260
154
|
* @generated from message ar.v1.ARConfigMessages
|
|
261
155
|
*/
|
|
262
156
|
export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
|
|
263
157
|
/**
|
|
158
|
+
* AR config templates.
|
|
159
|
+
*
|
|
264
160
|
* @generated from field: repeated ar.v1.ARConfigMessage configs = 1;
|
|
265
161
|
*/
|
|
266
162
|
configs: ARConfigMessage[];
|
|
@@ -271,82 +167,5 @@ export type ARConfigMessages = Message<"ar.v1.ARConfigMessages"> & {
|
|
|
271
167
|
* Use `create(ARConfigMessagesSchema)` to create a new message.
|
|
272
168
|
*/
|
|
273
169
|
export const ARConfigMessagesSchema: GenMessage<ARConfigMessages> = /*@__PURE__*/
|
|
274
|
-
messageDesc(file_ar_v1_ar_config,
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* @generated from enum ar.v1.ARResourceSlotType
|
|
278
|
-
*/
|
|
279
|
-
export enum ARResourceSlotType {
|
|
280
|
-
/**
|
|
281
|
-
* @generated from enum value: AR_RESOURCE_SLOT_TYPE_UNSPECIFIED = 0;
|
|
282
|
-
*/
|
|
283
|
-
AR_RESOURCE_SLOT_TYPE_UNSPECIFIED = 0,
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* @generated from enum value: AR_RESOURCE_SLOT_TYPE_ROBOT = 1;
|
|
287
|
-
*/
|
|
288
|
-
AR_RESOURCE_SLOT_TYPE_ROBOT = 1,
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* @generated from enum value: AR_RESOURCE_SLOT_TYPE_ASSET = 2;
|
|
292
|
-
*/
|
|
293
|
-
AR_RESOURCE_SLOT_TYPE_ASSET = 2,
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Describes the enum ar.v1.ARResourceSlotType.
|
|
298
|
-
*/
|
|
299
|
-
export const ARResourceSlotTypeSchema: GenEnum<ARResourceSlotType> = /*@__PURE__*/
|
|
300
|
-
enumDesc(file_ar_v1_ar_config, 0);
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* @generated from enum ar.v1.ARContextSlotType
|
|
304
|
-
*/
|
|
305
|
-
export enum ARContextSlotType {
|
|
306
|
-
/**
|
|
307
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_UNSPECIFIED = 0;
|
|
308
|
-
*/
|
|
309
|
-
AR_CONTEXT_SLOT_TYPE_UNSPECIFIED = 0,
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_LINE_ID = 1;
|
|
313
|
-
*/
|
|
314
|
-
AR_CONTEXT_SLOT_TYPE_LINE_ID = 1,
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_CELL_ID = 2;
|
|
318
|
-
*/
|
|
319
|
-
AR_CONTEXT_SLOT_TYPE_CELL_ID = 2,
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_STATION_ID = 3;
|
|
323
|
-
*/
|
|
324
|
-
AR_CONTEXT_SLOT_TYPE_STATION_ID = 3,
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_WORKER_ID = 4;
|
|
328
|
-
*/
|
|
329
|
-
AR_CONTEXT_SLOT_TYPE_WORKER_ID = 4,
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_PROCESS_RUN_ID = 5;
|
|
333
|
-
*/
|
|
334
|
-
AR_CONTEXT_SLOT_TYPE_PROCESS_RUN_ID = 5,
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_SEQUENCE_RUN_ID = 6;
|
|
338
|
-
*/
|
|
339
|
-
AR_CONTEXT_SLOT_TYPE_SEQUENCE_RUN_ID = 6,
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* @generated from enum value: AR_CONTEXT_SLOT_TYPE_TASK_RUN_ID = 7;
|
|
343
|
-
*/
|
|
344
|
-
AR_CONTEXT_SLOT_TYPE_TASK_RUN_ID = 7,
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Describes the enum ar.v1.ARContextSlotType.
|
|
349
|
-
*/
|
|
350
|
-
export const ARContextSlotTypeSchema: GenEnum<ARContextSlotType> = /*@__PURE__*/
|
|
351
|
-
enumDesc(file_ar_v1_ar_config, 1);
|
|
170
|
+
messageDesc(file_ar_v1_ar_config, 3);
|
|
352
171
|
|