@cobotar/protocol 1.2.0 → 1.3.0

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.
@@ -0,0 +1,93 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file ar/v1/presentation_binding.proto (package ar.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file ar/v1/presentation_binding.proto.
13
+ */
14
+ export const file_ar_v1_presentation_binding: GenFile = /*@__PURE__*/
15
+ fileDesc("CiBhci92MS9wcmVzZW50YXRpb25fYmluZGluZy5wcm90bxIFYXIudjEilAEKE1ByZXNlbnRhdGlvbkJpbmRpbmcSHgoIcm9sZV9rZXkYASABKAlCDLpICcgBAXIE4PMEARIeCgtmZWVkYmFja19pZBgCIAEoCUIJukgGcgTA8wQBEhwKCWFjdGlvbl9pZBgDIAEoCUIJukgGcgTI8wQBOh+6SBwiGgoLZmVlZGJhY2tfaWQKCWFjdGlvbl9pZBABInEKGVByZXNlbnRhdGlvbkJpbmRpbmdVcGRhdGUSHwoJY29uZmlnX2lkGAEgASgJQgy6SAnIAQFyBJDxBAESMwoHYmluZGluZxgCIAEoCzIaLmFyLnYxLlByZXNlbnRhdGlvbkJpbmRpbmdCBrpIA8gBASJbChhQcmVzZW50YXRpb25CaW5kaW5nUmVzZXQSHwoJY29uZmlnX2lkGAEgASgJQgy6SAnIAQFyBJDxBAESHgoIcm9sZV9rZXkYAiABKAlCDLpICcgBAXIE4PMEAUKUAQoJY29tLmFyLnYxQhhQcmVzZW50YXRpb25CaW5kaW5nUHJvdG9QAVovZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2FyL3YxO2FydjGiAgNBWFiqAg5NZXNzYWdlcy5BUi5WMcoCBUFyXFYx4gIRQXJcVjFcR1BCTWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
16
+
17
+ /**
18
+ * Binds one PresentationRole from the ARConfig's active PresentationStrategy
19
+ * to one concrete AR-content entity owned by the same ARConfig.
20
+ *
21
+ * Functions are intentionally not presentation bindings. Supporting Functions
22
+ * are implementation dependencies and should be reconciled by the backend.
23
+ *
24
+ * @generated from message ar.v1.PresentationBinding
25
+ */
26
+ export type PresentationBinding = Message<"ar.v1.PresentationBinding"> & {
27
+ /**
28
+ * @generated from field: string role_key = 1;
29
+ */
30
+ roleKey: string;
31
+
32
+ /**
33
+ * @generated from field: string feedback_id = 2;
34
+ */
35
+ feedbackId: string;
36
+
37
+ /**
38
+ * @generated from field: string action_id = 3;
39
+ */
40
+ actionId: string;
41
+ };
42
+
43
+ /**
44
+ * Describes the message ar.v1.PresentationBinding.
45
+ * Use `create(PresentationBindingSchema)` to create a new message.
46
+ */
47
+ export const PresentationBindingSchema: GenMessage<PresentationBinding> = /*@__PURE__*/
48
+ messageDesc(file_ar_v1_presentation_binding, 0);
49
+
50
+ /**
51
+ * @generated from message ar.v1.PresentationBindingUpdate
52
+ */
53
+ export type PresentationBindingUpdate = Message<"ar.v1.PresentationBindingUpdate"> & {
54
+ /**
55
+ * @generated from field: string config_id = 1;
56
+ */
57
+ configId: string;
58
+
59
+ /**
60
+ * @generated from field: ar.v1.PresentationBinding binding = 2;
61
+ */
62
+ binding?: PresentationBinding;
63
+ };
64
+
65
+ /**
66
+ * Describes the message ar.v1.PresentationBindingUpdate.
67
+ * Use `create(PresentationBindingUpdateSchema)` to create a new message.
68
+ */
69
+ export const PresentationBindingUpdateSchema: GenMessage<PresentationBindingUpdate> = /*@__PURE__*/
70
+ messageDesc(file_ar_v1_presentation_binding, 1);
71
+
72
+ /**
73
+ * @generated from message ar.v1.PresentationBindingReset
74
+ */
75
+ export type PresentationBindingReset = Message<"ar.v1.PresentationBindingReset"> & {
76
+ /**
77
+ * @generated from field: string config_id = 1;
78
+ */
79
+ configId: string;
80
+
81
+ /**
82
+ * @generated from field: string role_key = 2;
83
+ */
84
+ roleKey: string;
85
+ };
86
+
87
+ /**
88
+ * Describes the message ar.v1.PresentationBindingReset.
89
+ * Use `create(PresentationBindingResetSchema)` to create a new message.
90
+ */
91
+ export const PresentationBindingResetSchema: GenMessage<PresentationBindingReset> = /*@__PURE__*/
92
+ messageDesc(file_ar_v1_presentation_binding, 2);
93
+
@@ -0,0 +1,341 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file ar/v1/presentation_strategy.proto (package ar.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { ActionType } from "./action_pb.ts";
8
+ import { file_ar_v1_action } from "./action_pb.ts";
9
+ import type { FeedbackType } from "./feedback_pb.ts";
10
+ import { file_ar_v1_feedback } from "./feedback_pb.ts";
11
+ import type { AssistanceSemantic } from "./semantic_source_pb.ts";
12
+ import { file_ar_v1_semantic_source } from "./semantic_source_pb.ts";
13
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
14
+ import type { PropertyValue } from "../../common/v1/property_pb.ts";
15
+ import { file_common_v1_property } from "../../common/v1/property_pb.ts";
16
+ import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
17
+ import type { Message } from "@bufbuild/protobuf";
18
+
19
+ /**
20
+ * Describes the file ar/v1/presentation_strategy.proto.
21
+ */
22
+ export const file_ar_v1_presentation_strategy: GenFile = /*@__PURE__*/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ZXkgPT0gcHJlc2V0LnJvbGVfa2V5KS5hbGwocm9sZSwgcnVsZS5zZW1hbnRpYyBpbiByb2xlLnJlcXVpcmVkX3NlbWFudGljcykpKSkiVQoXUHJlc2VudGF0aW9uU3RyYXRlZ3lBZGQSFwoEbmFtZRgCIAEoCUIJukgGcgSA8QQBEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkiRAoWUHJlc2VudGF0aW9uU3RyYXRlZ2llcxIqCgVpdGVtcxgBIAMoCzIbLmFyLnYxLlByZXNlbnRhdGlvblN0cmF0ZWd5Kp4BChRQcmVzZW50YXRpb25GaWRlbGl0eRIlCiFQUkVTRU5UQVRJT05fRklERUxJVFlfVU5TUEVDSUZJRUQQABIdChlQUkVTRU5UQVRJT05fRklERUxJVFlfTE9XEAESIAocUFJFU0VOVEFUSU9OX0ZJREVMSVRZX01FRElVTRACEh4KGlBSRVNFTlRBVElPTl9GSURFTElUWV9ISUdIEANClQEKCWNvbS5hci52MUIZUHJlc2VudGF0aW9uU3RyYXRlZ3lQcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_ar_v1_action, file_ar_v1_feedback, file_ar_v1_semantic_source, file_buf_validate_validate, file_common_v1_property, file_validation_v1_predefined_string_rules]);
24
+
25
+ /**
26
+ * Assigns a desired value to a property identified by its stable,
27
+ * type-level PropertyDefinition.key.
28
+ *
29
+ * This does not reference a concrete PropertyInstance. The active ARConfig
30
+ * resolves property_key against the Feedback or Action currently bound to
31
+ * the presentation role.
32
+ *
33
+ * @generated from message ar.v1.PropertyValueAssignment
34
+ */
35
+ export type PropertyValueAssignment = Message<"ar.v1.PropertyValueAssignment"> & {
36
+ /**
37
+ * @generated from field: string property_key = 1;
38
+ */
39
+ propertyKey: string;
40
+
41
+ /**
42
+ * @generated from field: common.v1.PropertyValue value = 2;
43
+ */
44
+ value?: PropertyValue;
45
+ };
46
+
47
+ /**
48
+ * Describes the message ar.v1.PropertyValueAssignment.
49
+ * Use `create(PropertyValueAssignmentSchema)` to create a new message.
50
+ */
51
+ export const PropertyValueAssignmentSchema: GenMessage<PropertyValueAssignment> = /*@__PURE__*/
52
+ messageDesc(file_ar_v1_presentation_strategy, 0);
53
+
54
+ /**
55
+ * A role is a reusable slot in a PresentationStrategy.
56
+ *
57
+ * Examples:
58
+ * target_overview
59
+ * target_pose
60
+ * task_instruction
61
+ * task_complete
62
+ *
63
+ * Roles do not reference concrete ARConfig entities. PresentationBinding
64
+ * performs that mapping for each ARConfig using the strategy.
65
+ *
66
+ * @generated from message ar.v1.PresentationRole
67
+ */
68
+ export type PresentationRole = Message<"ar.v1.PresentationRole"> & {
69
+ /**
70
+ * @generated from field: string key = 1;
71
+ */
72
+ key: string;
73
+
74
+ /**
75
+ * @generated from field: string name = 2;
76
+ */
77
+ name: string;
78
+
79
+ /**
80
+ * @generated from field: string description = 3;
81
+ */
82
+ description: string;
83
+
84
+ /**
85
+ * Assistance semantics that an implementation of this role must support.
86
+ *
87
+ * For Feedback, these are checked against FeedbackInfoMessage.capabilities.
88
+ * Action compatibility may initially also depend on ActionType until
89
+ * semantic Action capabilities are introduced.
90
+ *
91
+ * @generated from field: repeated ar.v1.AssistanceSemantic required_semantics = 4;
92
+ */
93
+ requiredSemantics: AssistanceSemantic[];
94
+
95
+ /**
96
+ * Default implementation created by reconciliation when the role has no
97
+ * compatible explicit binding.
98
+ *
99
+ * @generated from field: optional ar.v1.FeedbackType default_feedback_type = 5;
100
+ */
101
+ defaultFeedbackType?: FeedbackType;
102
+
103
+ /**
104
+ * @generated from field: optional ar.v1.ActionType default_action_type = 6;
105
+ */
106
+ defaultActionType?: ActionType;
107
+ };
108
+
109
+ /**
110
+ * Describes the message ar.v1.PresentationRole.
111
+ * Use `create(PresentationRoleSchema)` to create a new message.
112
+ */
113
+ export const PresentationRoleSchema: GenMessage<PresentationRole> = /*@__PURE__*/
114
+ messageDesc(file_ar_v1_presentation_strategy, 1);
115
+
116
+ /**
117
+ * Configures one strategy role at a particular fidelity anchor.
118
+ *
119
+ * role_key references PresentationRole.key in the same strategy.
120
+ * Cross-message validation is performed by the backend.
121
+ *
122
+ * @generated from message ar.v1.PresentationRolePreset
123
+ */
124
+ export type PresentationRolePreset = Message<"ar.v1.PresentationRolePreset"> & {
125
+ /**
126
+ * @generated from field: string role_key = 1;
127
+ */
128
+ roleKey: string;
129
+
130
+ /**
131
+ * Desired adaptive values for the AR content bound to this role.
132
+ *
133
+ * The backend/runtime must validate that each key exists for the bound
134
+ * implementation, has a compatible PropertyType, and is permitted to adapt.
135
+ *
136
+ * @generated from field: repeated ar.v1.PropertyValueAssignment properties = 2;
137
+ */
138
+ properties: PropertyValueAssignment[];
139
+ };
140
+
141
+ /**
142
+ * Describes the message ar.v1.PresentationRolePreset.
143
+ * Use `create(PresentationRolePresetSchema)` to create a new message.
144
+ */
145
+ export const PresentationRolePresetSchema: GenMessage<PresentationRolePreset> = /*@__PURE__*/
146
+ messageDesc(file_ar_v1_presentation_strategy, 2);
147
+
148
+ /**
149
+ * A discrete authored landmark for satisfying one AssistanceSemantic.
150
+ *
151
+ * target_coverage is local to the owning AssistancePresentationRule. It should
152
+ * not be interpreted as a global assistance/expertise score.
153
+ *
154
+ * @generated from message ar.v1.PresentationFidelityAnchor
155
+ */
156
+ export type PresentationFidelityAnchor = Message<"ar.v1.PresentationFidelityAnchor"> & {
157
+ /**
158
+ * @generated from field: ar.v1.PresentationFidelity fidelity = 1;
159
+ */
160
+ fidelity: PresentationFidelity;
161
+
162
+ /**
163
+ * @generated from field: double target_coverage = 2;
164
+ */
165
+ targetCoverage: number;
166
+
167
+ /**
168
+ * @generated from field: repeated ar.v1.PresentationRolePreset presentations = 3;
169
+ */
170
+ presentations: PresentationRolePreset[];
171
+ };
172
+
173
+ /**
174
+ * Describes the message ar.v1.PresentationFidelityAnchor.
175
+ * Use `create(PresentationFidelityAnchorSchema)` to create a new message.
176
+ */
177
+ export const PresentationFidelityAnchorSchema: GenMessage<PresentationFidelityAnchor> = /*@__PURE__*/
178
+ messageDesc(file_ar_v1_presentation_strategy, 3);
179
+
180
+ /**
181
+ * Describes how one communicative assistance semantic is presented across
182
+ * authored fidelity landmarks.
183
+ *
184
+ * Example:
185
+ * SHOW_TARGET_POSITION:
186
+ * LOW -> target_overview
187
+ * HIGH -> target_pose
188
+ *
189
+ * @generated from message ar.v1.AssistancePresentationRule
190
+ */
191
+ export type AssistancePresentationRule = Message<"ar.v1.AssistancePresentationRule"> & {
192
+ /**
193
+ * @generated from field: ar.v1.AssistanceSemantic semantic = 1;
194
+ */
195
+ semantic: AssistanceSemantic;
196
+
197
+ /**
198
+ * @generated from field: repeated ar.v1.PresentationFidelityAnchor anchors = 2;
199
+ */
200
+ anchors: PresentationFidelityAnchor[];
201
+ };
202
+
203
+ /**
204
+ * Describes the message ar.v1.AssistancePresentationRule.
205
+ * Use `create(AssistancePresentationRuleSchema)` to create a new message.
206
+ */
207
+ export const AssistancePresentationRuleSchema: GenMessage<AssistancePresentationRule> = /*@__PURE__*/
208
+ messageDesc(file_ar_v1_presentation_strategy, 4);
209
+
210
+ /**
211
+ * PresentationStrategy can be used by ARConfigs. One strategy can be used by multiple ARConfigs.
212
+ * A PresentationStrategy should define:
213
+ * - WHAT representation / fidelity
214
+ * ARConfig defaults
215
+ * - visual language / styling
216
+ * Feedback adaptation envelope
217
+ * - what this particular Feedback may change
218
+ *
219
+ * @generated from message ar.v1.PresentationStrategy
220
+ */
221
+ export type PresentationStrategy = Message<"ar.v1.PresentationStrategy"> & {
222
+ /**
223
+ * @generated from field: string id = 1;
224
+ */
225
+ id: string;
226
+
227
+ /**
228
+ * @generated from field: string name = 2;
229
+ */
230
+ name: string;
231
+
232
+ /**
233
+ * @generated from field: string icon = 3;
234
+ */
235
+ icon: string;
236
+
237
+ /**
238
+ * @generated from field: string description = 4;
239
+ */
240
+ description: string;
241
+
242
+ /**
243
+ * Stable machine-readable identifier, useful for seeded/default strategies. Example: "adaptive_assembly_default".
244
+ *
245
+ * @generated from field: string key = 5;
246
+ */
247
+ key: string;
248
+
249
+ /**
250
+ * @generated from field: repeated ar.v1.PresentationRole roles = 6;
251
+ */
252
+ roles: PresentationRole[];
253
+
254
+ /**
255
+ * @generated from field: repeated ar.v1.AssistancePresentationRule rules = 7;
256
+ */
257
+ rules: AssistancePresentationRule[];
258
+ };
259
+
260
+ /**
261
+ * Describes the message ar.v1.PresentationStrategy.
262
+ * Use `create(PresentationStrategySchema)` to create a new message.
263
+ */
264
+ export const PresentationStrategySchema: GenMessage<PresentationStrategy> = /*@__PURE__*/
265
+ messageDesc(file_ar_v1_presentation_strategy, 5);
266
+
267
+ /**
268
+ * @generated from message ar.v1.PresentationStrategyAdd
269
+ */
270
+ export type PresentationStrategyAdd = Message<"ar.v1.PresentationStrategyAdd"> & {
271
+ /**
272
+ * @generated from field: string name = 2;
273
+ */
274
+ name: string;
275
+
276
+ /**
277
+ * @generated from field: string icon = 3;
278
+ */
279
+ icon: string;
280
+
281
+ /**
282
+ * @generated from field: string description = 4;
283
+ */
284
+ description: string;
285
+ };
286
+
287
+ /**
288
+ * Describes the message ar.v1.PresentationStrategyAdd.
289
+ * Use `create(PresentationStrategyAddSchema)` to create a new message.
290
+ */
291
+ export const PresentationStrategyAddSchema: GenMessage<PresentationStrategyAdd> = /*@__PURE__*/
292
+ messageDesc(file_ar_v1_presentation_strategy, 6);
293
+
294
+ /**
295
+ * @generated from message ar.v1.PresentationStrategies
296
+ */
297
+ export type PresentationStrategies = Message<"ar.v1.PresentationStrategies"> & {
298
+ /**
299
+ * @generated from field: repeated ar.v1.PresentationStrategy items = 1;
300
+ */
301
+ items: PresentationStrategy[];
302
+ };
303
+
304
+ /**
305
+ * Describes the message ar.v1.PresentationStrategies.
306
+ * Use `create(PresentationStrategiesSchema)` to create a new message.
307
+ */
308
+ export const PresentationStrategiesSchema: GenMessage<PresentationStrategies> = /*@__PURE__*/
309
+ messageDesc(file_ar_v1_presentation_strategy, 7);
310
+
311
+ /**
312
+ * @generated from enum ar.v1.PresentationFidelity
313
+ */
314
+ export enum PresentationFidelity {
315
+ /**
316
+ * @generated from enum value: PRESENTATION_FIDELITY_UNSPECIFIED = 0;
317
+ */
318
+ UNSPECIFIED = 0,
319
+
320
+ /**
321
+ * @generated from enum value: PRESENTATION_FIDELITY_LOW = 1;
322
+ */
323
+ LOW = 1,
324
+
325
+ /**
326
+ * @generated from enum value: PRESENTATION_FIDELITY_MEDIUM = 2;
327
+ */
328
+ MEDIUM = 2,
329
+
330
+ /**
331
+ * @generated from enum value: PRESENTATION_FIDELITY_HIGH = 3;
332
+ */
333
+ HIGH = 3,
334
+ }
335
+
336
+ /**
337
+ * Describes the enum ar.v1.PresentationFidelity.
338
+ */
339
+ export const PresentationFidelitySchema: GenEnum<PresentationFidelity> = /*@__PURE__*/
340
+ enumDesc(file_ar_v1_presentation_strategy, 0);
341
+
@@ -0,0 +1,111 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file ar/v1/property_influence.proto (package ar.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file ar/v1/property_influence.proto.
13
+ */
14
+ export const file_ar_v1_property_influence: GenFile = /*@__PURE__*/
15
+ fileDesc("Ch5hci92MS9wcm9wZXJ0eV9pbmZsdWVuY2UucHJvdG8SBWFyLnYxIq4BChFQcm9wZXJ0eUluZmx1ZW5jZRIiCgxwcm9wZXJ0eV9rZXkYASABKAlCDLpICcgBAXIE4PMEARI3CgRheGlzGAIgASgOMhwuYXIudjEuQXNzaXN0YW5jZVNjYWxpbmdBeGlzQgu6SAjIAQGCAQIQARI8CglpbmZsdWVuY2UYAyABKA4yHC5hci52MS5Qcm9wZXJ0eUluZmx1ZW5jZVR5cGVCC7pICMgBAYIBAhABKroBChVBc3Npc3RhbmNlU2NhbGluZ0F4aXMSJwojQVNTSVNUQU5DRV9TQ0FMSU5HX0FYSVNfVU5TUEVDSUZJRUQQABIoCiRBU1NJU1RBTkNFX1NDQUxJTkdfQVhJU19QUkVTRU5UQVRJT04QARIrCidBU1NJU1RBTkNFX1NDQUxJTkdfQVhJU19TRU1BTlRJQ19ERVRBSUwQAhIhCh1BU1NJU1RBTkNFX1NDQUxJTkdfQVhJU19TQ09QRRADKrEBChVQcm9wZXJ0eUluZmx1ZW5jZVR5cGUSJwojUFJPUEVSVFlfSU5GTFVFTkNFX1RZUEVfVU5TUEVDSUZJRUQQABIlCiFQUk9QRVJUWV9JTkZMVUVOQ0VfVFlQRV9NT0RVTEFURVMQARIjCh9QUk9QRVJUWV9JTkZMVUVOQ0VfVFlQRV9FTkFCTEVTEAISIwofUFJPUEVSVFlfSU5GTFVFTkNFX1RZUEVfU0VMRUNUUxADQpIBCgljb20uYXIudjFCFlByb3BlcnR5SW5mbHVlbmNlUHJvdG9QAVovZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL2FyL3YxO2FydjGiAgNBWFiqAg5NZXNzYWdlcy5BUi5WMcoCBUFyXFYx4gIRQXJcVjFcR1BCTWV0YWRhdGHqAgZBcjo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
16
+
17
+ /**
18
+ * @generated from message ar.v1.PropertyInfluence
19
+ */
20
+ export type PropertyInfluence = Message<"ar.v1.PropertyInfluence"> & {
21
+ /**
22
+ * @generated from field: string property_key = 1;
23
+ */
24
+ propertyKey: string;
25
+
26
+ /**
27
+ * @generated from field: ar.v1.AssistanceScalingAxis axis = 2;
28
+ */
29
+ axis: AssistanceScalingAxis;
30
+
31
+ /**
32
+ * @generated from field: ar.v1.PropertyInfluenceType influence = 3;
33
+ */
34
+ influence: PropertyInfluenceType;
35
+ };
36
+
37
+ /**
38
+ * Describes the message ar.v1.PropertyInfluence.
39
+ * Use `create(PropertyInfluenceSchema)` to create a new message.
40
+ */
41
+ export const PropertyInfluenceSchema: GenMessage<PropertyInfluence> = /*@__PURE__*/
42
+ messageDesc(file_ar_v1_property_influence, 0);
43
+
44
+ /**
45
+ * @generated from enum ar.v1.AssistanceScalingAxis
46
+ */
47
+ export enum AssistanceScalingAxis {
48
+ /**
49
+ * @generated from enum value: ASSISTANCE_SCALING_AXIS_UNSPECIFIED = 0;
50
+ */
51
+ UNSPECIFIED = 0,
52
+
53
+ /**
54
+ * @generated from enum value: ASSISTANCE_SCALING_AXIS_PRESENTATION = 1;
55
+ */
56
+ PRESENTATION = 1,
57
+
58
+ /**
59
+ * @generated from enum value: ASSISTANCE_SCALING_AXIS_SEMANTIC_DETAIL = 2;
60
+ */
61
+ SEMANTIC_DETAIL = 2,
62
+
63
+ /**
64
+ * @generated from enum value: ASSISTANCE_SCALING_AXIS_SCOPE = 3;
65
+ */
66
+ SCOPE = 3,
67
+ }
68
+
69
+ /**
70
+ * Describes the enum ar.v1.AssistanceScalingAxis.
71
+ */
72
+ export const AssistanceScalingAxisSchema: GenEnum<AssistanceScalingAxis> = /*@__PURE__*/
73
+ enumDesc(file_ar_v1_property_influence, 0);
74
+
75
+ /**
76
+ * @generated from enum ar.v1.PropertyInfluenceType
77
+ */
78
+ export enum PropertyInfluenceType {
79
+ /**
80
+ * @generated from enum value: PROPERTY_INFLUENCE_TYPE_UNSPECIFIED = 0;
81
+ */
82
+ UNSPECIFIED = 0,
83
+
84
+ /**
85
+ * Changes strength along an axis.
86
+ *
87
+ * @generated from enum value: PROPERTY_INFLUENCE_TYPE_MODULATES = 1;
88
+ */
89
+ MODULATES = 1,
90
+
91
+ /**
92
+ * Property enables/disables a capability or additional information.
93
+ *
94
+ * @generated from enum value: PROPERTY_INFLUENCE_TYPE_ENABLES = 2;
95
+ */
96
+ ENABLES = 2,
97
+
98
+ /**
99
+ * Property selects between discrete representations/modes.
100
+ *
101
+ * @generated from enum value: PROPERTY_INFLUENCE_TYPE_SELECTS = 3;
102
+ */
103
+ SELECTS = 3,
104
+ }
105
+
106
+ /**
107
+ * Describes the enum ar.v1.PropertyInfluenceType.
108
+ */
109
+ export const PropertyInfluenceTypeSchema: GenEnum<PropertyInfluenceType> = /*@__PURE__*/
110
+ enumDesc(file_ar_v1_property_influence, 1);
111
+
@@ -0,0 +1,142 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file ar/v1/provenance.proto (package ar.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file ar/v1/provenance.proto.
13
+ */
14
+ export const file_ar_v1_provenance: GenFile = /*@__PURE__*/
15
+ fileDesc("ChZhci92MS9wcm92ZW5hbmNlLnByb3RvEgVhci52MSL8BQoTQVJDb250ZW50UHJvdmVuYW5jZRIzCgZvcmlnaW4YASABKA4yFi5hci52MS5BUkNvbnRlbnRPcmlnaW5CC7pICMgBAYIBAhABEkAKDXBhcnRpY2lwYXRpb24YAiABKA4yHC5hci52MS5BZGFwdGl2ZVBhcnRpY2lwYXRpb25CC7pICMgBAYIBAhABEiUKEnNvdXJjZV9zdHJhdGVneV9pZBg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VElPTl9GSVhFRBABEiQKIEFEQVBUSVZFX1BBUlRJQ0lQQVRJT05fQVZBSUxBQkxFEAISIgoeQURBUFRJVkVfUEFSVElDSVBBVElPTl9NQU5BR0VEEANCiwEKCWNvbS5hci52MUIPUHJvdmVuYW5jZVByb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
16
+
17
+ /**
18
+ * Describes ownership and adaptive lifecycle semantics for AR content.
19
+ *
20
+ * Valid states:
21
+ * Origin Participation Meaning
22
+ * Strategy Managed Automatically created/reconciled by strategy
23
+ * Author Available Author owns it, resolver may use/adapt it within bounds
24
+ * Author Fixed Normal authored content, resolver leaves it alone
25
+ *
26
+ * source_strategy_id is populated only for STRATEGY-owned content.
27
+ *
28
+ * The following state diagram should be possible:
29
+ * ┌──────────────────────┐
30
+ * │ STRATEGY / MANAGED │
31
+ * └──────────┬───────────┘
32
+ * │
33
+ * "Take ownership"
34
+ * │
35
+ * ▼
36
+ * ┌──────────────────────┐
37
+ * ┌────>│ AUTHOR / AVAILABLE │
38
+ * │ └──────────┬───────────┘
39
+ * │ │
40
+ * enable │ disable
41
+ * adaptation │ adaptation
42
+ * │ ▼
43
+ * │ ┌──────────────────────┐
44
+ * └─────│ AUTHOR / FIXED │
45
+ * └──────────────────────┘
46
+ * Where the system might have to create/delete {Strategy, Managed} when moving between: {Author, Available} <--> {Author, Fixed}
47
+ *
48
+ * @generated from message ar.v1.ARContentProvenance
49
+ */
50
+ export type ARContentProvenance = Message<"ar.v1.ARContentProvenance"> & {
51
+ /**
52
+ * @generated from field: ar.v1.ARContentOrigin origin = 1;
53
+ */
54
+ origin: ARContentOrigin;
55
+
56
+ /**
57
+ * @generated from field: ar.v1.AdaptiveParticipation participation = 2;
58
+ */
59
+ participation: AdaptiveParticipation;
60
+
61
+ /**
62
+ * @generated from field: string source_strategy_id = 3;
63
+ */
64
+ sourceStrategyId: string;
65
+ };
66
+
67
+ /**
68
+ * Describes the message ar.v1.ARContentProvenance.
69
+ * Use `create(ARContentProvenanceSchema)` to create a new message.
70
+ */
71
+ export const ARContentProvenanceSchema: GenMessage<ARContentProvenance> = /*@__PURE__*/
72
+ messageDesc(file_ar_v1_provenance, 0);
73
+
74
+ /**
75
+ * @generated from enum ar.v1.ARContentOrigin
76
+ */
77
+ export enum ARContentOrigin {
78
+ /**
79
+ * @generated from enum value: AR_CONTENT_ORIGIN_UNSPECIFIED = 0;
80
+ */
81
+ AR_CONTENT_ORIGIN_UNSPECIFIED = 0,
82
+
83
+ /**
84
+ * Created and owned by an AR author.
85
+ *
86
+ * @generated from enum value: AR_CONTENT_ORIGIN_AUTHOR = 1;
87
+ */
88
+ AR_CONTENT_ORIGIN_AUTHOR = 1,
89
+
90
+ /**
91
+ * Created by PresentationStrategy reconciliation.
92
+ *
93
+ * @generated from enum value: AR_CONTENT_ORIGIN_STRATEGY = 2;
94
+ */
95
+ AR_CONTENT_ORIGIN_STRATEGY = 2,
96
+ }
97
+
98
+ /**
99
+ * Describes the enum ar.v1.ARContentOrigin.
100
+ */
101
+ export const ARContentOriginSchema: GenEnum<ARContentOrigin> = /*@__PURE__*/
102
+ enumDesc(file_ar_v1_provenance, 0);
103
+
104
+ /**
105
+ * @generated from enum ar.v1.AdaptiveParticipation
106
+ */
107
+ export enum AdaptiveParticipation {
108
+ /**
109
+ * @generated from enum value: ADAPTIVE_PARTICIPATION_UNSPECIFIED = 0;
110
+ */
111
+ UNSPECIFIED = 0,
112
+
113
+ /**
114
+ * Ordinary authored content. The adaptive resolver must not select,
115
+ * configure, replace, or remove this entity.
116
+ *
117
+ * @generated from enum value: ADAPTIVE_PARTICIPATION_FIXED = 1;
118
+ */
119
+ FIXED = 1,
120
+
121
+ /**
122
+ * Author-owned content that may be selected/configured by the active
123
+ * PresentationStrategy, subject to its adaptation envelope.
124
+ *
125
+ * @generated from enum value: ADAPTIVE_PARTICIPATION_AVAILABLE = 2;
126
+ */
127
+ AVAILABLE = 2,
128
+
129
+ /**
130
+ * Strategy-owned content whose lifecycle is controlled by reconciliation.
131
+ *
132
+ * @generated from enum value: ADAPTIVE_PARTICIPATION_MANAGED = 3;
133
+ */
134
+ MANAGED = 3,
135
+ }
136
+
137
+ /**
138
+ * Describes the enum ar.v1.AdaptiveParticipation.
139
+ */
140
+ export const AdaptiveParticipationSchema: GenEnum<AdaptiveParticipation> = /*@__PURE__*/
141
+ enumDesc(file_ar_v1_provenance, 1);
142
+