@cobotar/protocol 0.17.9 → 0.18.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.
Files changed (72) hide show
  1. package/README.md +1 -1
  2. package/lib/ar/v1/action_pb.ts +4 -4
  3. package/lib/ar/v1/ar_config_pb.ts +4 -4
  4. package/lib/ar/v1/feedback_pb.ts +4 -4
  5. package/lib/ar/v1/helper_pb.ts +4 -4
  6. package/lib/capability/v1/actor_constraint_pb.ts +47 -0
  7. package/lib/capability/v1/actor_skill_pb.ts +203 -0
  8. package/lib/capability/v1/capability_profile_pb.ts +73 -0
  9. package/lib/capability/v1/skill_definition_pb.ts +202 -0
  10. package/lib/capability/v1/skill_requirement_pb.ts +45 -0
  11. package/lib/capability/v1/tool_requirement_pb.ts +96 -0
  12. package/lib/common/v1/actor_pb.ts +69 -0
  13. package/lib/common/v1/custom_properties_pb.ts +33 -0
  14. package/lib/common/v1/display_text_pb.ts +41 -0
  15. package/lib/common/v1/enums_pb.ts +121 -0
  16. package/lib/common/v1/external_references_pb.ts +42 -0
  17. package/lib/common/v1/key_value_constraint_pb.ts +102 -0
  18. package/lib/common/v1/property_pb.ts +826 -0
  19. package/lib/common/v1/ref_pb.ts +53 -0
  20. package/lib/common/v1/time_pb.ts +65 -0
  21. package/lib/geometry/v1/local_target_pb.ts +38 -0
  22. package/lib/process/v1/process_recipe_pb.ts +195 -0
  23. package/lib/{assembly → process}/v1/process_requests_pb.ts +54 -54
  24. package/lib/process/v1/sequence_definition_pb.ts +126 -0
  25. package/lib/process/v1/task_definition_pb.ts +531 -0
  26. package/lib/product/v1/assembly_node_pb.ts +229 -0
  27. package/lib/product/v1/part_definition_pb.ts +431 -0
  28. package/lib/product/v1/product_definition_pb.ts +96 -0
  29. package/lib/resources/v1/asset_definition_pb.ts +171 -0
  30. package/lib/resources/v1/asset_instance_pb.ts +96 -0
  31. package/lib/resources/v1/cell_definition_pb.ts +58 -0
  32. package/lib/resources/v1/container_definition_pb.ts +369 -0
  33. package/lib/resources/v1/container_instance_pb.ts +121 -0
  34. package/lib/{ar → resources}/v1/device_pb.ts +30 -30
  35. package/lib/resources/v1/marker_instance_pb.ts +119 -0
  36. package/lib/{assembly → resources}/v1/model_pb.ts +31 -29
  37. package/lib/resources/v1/robot_definition_pb.ts +190 -0
  38. package/lib/resources/v1/robot_instance_pb.ts +120 -0
  39. package/lib/resources/v1/station_definition_pb.ts +135 -0
  40. package/lib/resources/v1/tool_definition_pb.ts +218 -0
  41. package/lib/resources/v1/tool_instance_pb.ts +111 -0
  42. package/lib/resources/v1/worker_definition_pb.ts +135 -0
  43. package/lib/runtime/v1/actor_assignment_pb.ts +89 -0
  44. package/lib/runtime/v1/execution_evidence_pb.ts +87 -0
  45. package/lib/runtime/v1/process_run_pb.ts +183 -0
  46. package/lib/runtime/v1/sequence_run_pb.ts +114 -0
  47. package/lib/runtime/v1/task_run_pb.ts +164 -0
  48. package/lib/runtime/v1/validation_result_pb.ts +108 -0
  49. package/lib/validation/v1/predefined_string_rules_pb.ts +7 -1
  50. package/lib/variance/v1/variant_axis_pb.ts +73 -0
  51. package/lib/variance/v1/variant_configuration_pb.ts +57 -0
  52. package/lib/variance/v1/variant_rule_pb.ts +68 -0
  53. package/package.json +1 -1
  54. package/lib/ar/v1/assets_pb.ts +0 -139
  55. package/lib/ar/v1/marker_pb.ts +0 -105
  56. package/lib/ar/v1/permissions_pb.ts +0 -67
  57. package/lib/ar/v1/property_pb.ts +0 -782
  58. package/lib/ar/v1/robot_pb.ts +0 -165
  59. package/lib/ar/v1/worker_pb.ts +0 -132
  60. package/lib/assembly/v1/actor_pb.ts +0 -160
  61. package/lib/assembly/v1/common_pb.ts +0 -428
  62. package/lib/assembly/v1/execution_pb.ts +0 -488
  63. package/lib/assembly/v1/process_pb.ts +0 -796
  64. package/lib/assembly/v1/product_pb.ts +0 -704
  65. package/lib/assembly/v1/resources_pb.ts +0 -1411
  66. package/lib/assembly/v1/skill_pb.ts +0 -396
  67. package/lib/assembly/v1/station_pb.ts +0 -124
  68. package/lib/assembly/v1/validation_pb.ts +0 -108
  69. package/lib/assembly/v1/variant_pb.ts +0 -170
  70. package/lib/plm/v1/model_old_pb.ts +0 -152
  71. package/lib/plm/v1/part_pb.ts +0 -126
  72. package/lib/plm/v1/tool_pb.ts +0 -230
@@ -0,0 +1,73 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file variance/v1/variant_axis.proto (package variance.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 type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file variance/v1/variant_axis.proto.
11
+ */
12
+ export const file_variance_v1_variant_axis: GenFile = /*@__PURE__*/
13
+ fileDesc("Ch52YXJpYW5jZS92MS92YXJpYW50X2F4aXMucHJvdG8SC3ZhcmlhbmNlLnYxIjcKDVZhcmlhbnRPcHRpb24SCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIMCgRpY29uGAMgASgJImIKC1ZhcmlhbnRBeGlzEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDAoEaWNvbhgDIAEoCRIrCgdvcHRpb25zGAQgAygLMhoudmFyaWFuY2UudjEuVmFyaWFudE9wdGlvbkK2AQoPY29tLnZhcmlhbmNlLnYxQhBWYXJpYW50QXhpc1Byb3RvUAFaO2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy92YXJpYW5jZS92MTt2YXJpYW5jZXYxogIDVlhYqgIUTWVzc2FnZXMuVmFyaWFuY2UuVjHKAgtWYXJpYW5jZVxWMeICF1ZhcmlhbmNlXFYxXEdQQk1ldGFkYXRh6gIMVmFyaWFuY2U6OlYxYgZwcm90bzM");
14
+
15
+ /**
16
+ * @generated from message variance.v1.VariantOption
17
+ */
18
+ export type VariantOption = Message<"variance.v1.VariantOption"> & {
19
+ /**
20
+ * @generated from field: string id = 1;
21
+ */
22
+ id: string;
23
+
24
+ /**
25
+ * @generated from field: string name = 2;
26
+ */
27
+ name: string;
28
+
29
+ /**
30
+ * @generated from field: string icon = 3;
31
+ */
32
+ icon: string;
33
+ };
34
+
35
+ /**
36
+ * Describes the message variance.v1.VariantOption.
37
+ * Use `create(VariantOptionSchema)` to create a new message.
38
+ */
39
+ export const VariantOptionSchema: GenMessage<VariantOption> = /*@__PURE__*/
40
+ messageDesc(file_variance_v1_variant_axis, 0);
41
+
42
+ /**
43
+ * @generated from message variance.v1.VariantAxis
44
+ */
45
+ export type VariantAxis = Message<"variance.v1.VariantAxis"> & {
46
+ /**
47
+ * @generated from field: string id = 1;
48
+ */
49
+ id: string;
50
+
51
+ /**
52
+ * @generated from field: string name = 2;
53
+ */
54
+ name: string;
55
+
56
+ /**
57
+ * @generated from field: string icon = 3;
58
+ */
59
+ icon: string;
60
+
61
+ /**
62
+ * @generated from field: repeated variance.v1.VariantOption options = 4;
63
+ */
64
+ options: VariantOption[];
65
+ };
66
+
67
+ /**
68
+ * Describes the message variance.v1.VariantAxis.
69
+ * Use `create(VariantAxisSchema)` to create a new message.
70
+ */
71
+ export const VariantAxisSchema: GenMessage<VariantAxis> = /*@__PURE__*/
72
+ messageDesc(file_variance_v1_variant_axis, 1);
73
+
@@ -0,0 +1,57 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file variance/v1/variant_configuration.proto (package variance.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 type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file variance/v1/variant_configuration.proto.
11
+ */
12
+ export const file_variance_v1_variant_configuration: GenFile = /*@__PURE__*/
13
+ fileDesc("Cid2YXJpYW5jZS92MS92YXJpYW50X2NvbmZpZ3VyYXRpb24ucHJvdG8SC3ZhcmlhbmNlLnYxIjYKEFZhcmlhbnRTZWxlY3Rpb24SDwoHYXhpc19pZBgBIAEoCRIRCglvcHRpb25faWQYAiABKAkiSQoUVmFyaWFudENvbmZpZ3VyYXRpb24SMQoKc2VsZWN0aW9ucxgBIAMoCzIdLnZhcmlhbmNlLnYxLlZhcmlhbnRTZWxlY3Rpb25CvwEKD2NvbS52YXJpYW5jZS52MUIZVmFyaWFudENvbmZpZ3VyYXRpb25Qcm90b1ABWjtnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvdmFyaWFuY2UvdjE7dmFyaWFuY2V2MaICA1ZYWKoCFE1lc3NhZ2VzLlZhcmlhbmNlLlYxygILVmFyaWFuY2VcVjHiAhdWYXJpYW5jZVxWMVxHUEJNZXRhZGF0YeoCDFZhcmlhbmNlOjpWMWIGcHJvdG8z");
14
+
15
+ /**
16
+ * @generated from message variance.v1.VariantSelection
17
+ */
18
+ export type VariantSelection = Message<"variance.v1.VariantSelection"> & {
19
+ /**
20
+ * "hinge_side"
21
+ *
22
+ * @generated from field: string axis_id = 1;
23
+ */
24
+ axisId: string;
25
+
26
+ /**
27
+ * "left"
28
+ *
29
+ * @generated from field: string option_id = 2;
30
+ */
31
+ optionId: string;
32
+ };
33
+
34
+ /**
35
+ * Describes the message variance.v1.VariantSelection.
36
+ * Use `create(VariantSelectionSchema)` to create a new message.
37
+ */
38
+ export const VariantSelectionSchema: GenMessage<VariantSelection> = /*@__PURE__*/
39
+ messageDesc(file_variance_v1_variant_configuration, 0);
40
+
41
+ /**
42
+ * @generated from message variance.v1.VariantConfiguration
43
+ */
44
+ export type VariantConfiguration = Message<"variance.v1.VariantConfiguration"> & {
45
+ /**
46
+ * @generated from field: repeated variance.v1.VariantSelection selections = 1;
47
+ */
48
+ selections: VariantSelection[];
49
+ };
50
+
51
+ /**
52
+ * Describes the message variance.v1.VariantConfiguration.
53
+ * Use `create(VariantConfigurationSchema)` to create a new message.
54
+ */
55
+ export const VariantConfigurationSchema: GenMessage<VariantConfiguration> = /*@__PURE__*/
56
+ messageDesc(file_variance_v1_variant_configuration, 1);
57
+
@@ -0,0 +1,68 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file variance/v1/variant_rule.proto (package variance.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 type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file variance/v1/variant_rule.proto.
11
+ */
12
+ export const file_variance_v1_variant_rule: GenFile = /*@__PURE__*/
13
+ fileDesc("Ch52YXJpYW5jZS92MS92YXJpYW50X3J1bGUucHJvdG8SC3ZhcmlhbmNlLnYxIlwKEFZhcmlhbnRQcmVkaWNhdGUSDwoHYXhpc19pZBgBIAEoCRIaChJhbGxvd2VkX29wdGlvbl9pZHMYAiADKAkSGwoTZXhjbHVkZWRfb3B0aW9uX2lkcxgDIAMoCSI8CgtWYXJpYW50UnVsZRItCgZhbGxfb2YYASADKAsyHS52YXJpYW5jZS52MS5WYXJpYW50UHJlZGljYXRlQrYBCg9jb20udmFyaWFuY2UudjFCEFZhcmlhbnRSdWxlUHJvdG9QAVo7Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL3ZhcmlhbmNlL3YxO3ZhcmlhbmNldjGiAgNWWFiqAhRNZXNzYWdlcy5WYXJpYW5jZS5WMcoCC1ZhcmlhbmNlXFYx4gIXVmFyaWFuY2VcVjFcR1BCTWV0YWRhdGHqAgxWYXJpYW5jZTo6VjFiBnByb3RvMw");
14
+
15
+ /**
16
+ * @generated from message variance.v1.VariantPredicate
17
+ */
18
+ export type VariantPredicate = Message<"variance.v1.VariantPredicate"> & {
19
+ /**
20
+ * Variant axis identifier, e.g. "hinge_side"
21
+ *
22
+ * @generated from field: string axis_id = 1;
23
+ */
24
+ axisId: string;
25
+
26
+ /**
27
+ * Allowed options on that axis, e.g. ["left"]
28
+ *
29
+ * @generated from field: repeated string allowed_option_ids = 2;
30
+ */
31
+ allowedOptionIds: string[];
32
+
33
+ /**
34
+ * Options on that axis that must not be selected.
35
+ *
36
+ * @generated from field: repeated string excluded_option_ids = 3;
37
+ */
38
+ excludedOptionIds: string[];
39
+ };
40
+
41
+ /**
42
+ * Describes the message variance.v1.VariantPredicate.
43
+ * Use `create(VariantPredicateSchema)` to create a new message.
44
+ */
45
+ export const VariantPredicateSchema: GenMessage<VariantPredicate> = /*@__PURE__*/
46
+ messageDesc(file_variance_v1_variant_rule, 0);
47
+
48
+ /**
49
+ * VariantRule: a rule matches if all predicates match
50
+ *
51
+ * @generated from message variance.v1.VariantRule
52
+ */
53
+ export type VariantRule = Message<"variance.v1.VariantRule"> & {
54
+ /**
55
+ * All predicates must match for the rule to match.
56
+ *
57
+ * @generated from field: repeated variance.v1.VariantPredicate all_of = 1;
58
+ */
59
+ allOf: VariantPredicate[];
60
+ };
61
+
62
+ /**
63
+ * Describes the message variance.v1.VariantRule.
64
+ * Use `create(VariantRuleSchema)` to create a new message.
65
+ */
66
+ export const VariantRuleSchema: GenMessage<VariantRule> = /*@__PURE__*/
67
+ messageDesc(file_variance_v1_variant_rule, 1);
68
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobotar/protocol",
3
- "version": "0.17.9",
3
+ "version": "0.18.0",
4
4
  "description": "A collection of protobuf messages for the CobotAR-project",
5
5
  "homepage": "https://github.com/cobotar/protocol#readme",
6
6
  "files": [
@@ -1,139 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file ar/v1/assets.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 { Property } from "./property_pb.ts";
8
- import { file_ar_v1_property } from "./property_pb.ts";
9
- import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
10
- import type { Message } from "@bufbuild/protobuf";
11
-
12
- /**
13
- * Describes the file ar/v1/assets.proto.
14
- */
15
- export const file_ar_v1_assets: GenFile = /*@__PURE__*/
16
- fileDesc("ChJhci92MS9hc3NldHMucHJvdG8SBWFyLnYxIuoBCgxBc3NldE1lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhAEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSLQoEdHlwZRgFIAEoDjIQLmFyLnYxLkFzc2V0VHlwZUINukgKyAEBggEEEAEoARI+ChFhc3NldF9kcml2ZXJfdHlwZRgGIAEoDjIWLmFyLnYxLkFzc2V0RHJpdmVyVHlwZUILukgIyAEBggECEAESIwoKcHJvcGVydGllcxgHIAMoCzIPLmFyLnYxLlByb3BlcnR5IjQKDUFzc2V0TWVzc2FnZXMSIwoGYXNzZXRzGAEgAygLMhMuYXIudjEuQXNzZXRNZXNzYWdlKm0KCUFzc2V0VHlwZRIaChZBU1NFVF9UWVBFX1VOU1BFQ0lGSUVEEAASFQoRQVNTRVRfVFlQRV9DQU1FUkEQARIUChBBU1NFVF9UWVBFX0xJR0hUEAISFwoTQVNTRVRfVFlQRV9DT05WRVlPUhADKlMKD0Fzc2V0RHJpdmVyVHlwZRIhCh1BU1NFVF9EUklWRVJfVFlQRV9VTlNQRUNJRklFRBAAEh0KGUFTU0VUX0RSSVZFUl9UWVBFX0RFRkFVTFQQAUKHAQoJY29tLmFyLnYxQgtBc3NldHNQcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_ar_v1_property, file_buf_validate_validate]);
17
-
18
- /**
19
- * @generated from message ar.v1.AssetMessage
20
- */
21
- export type AssetMessage = Message<"ar.v1.AssetMessage"> & {
22
- /**
23
- * @generated from field: string id = 1;
24
- */
25
- id: string;
26
-
27
- /**
28
- * Name of the asset
29
- *
30
- * @generated from field: string name = 2;
31
- */
32
- name: string;
33
-
34
- /**
35
- * Optional icon representing the asset
36
- *
37
- * @generated from field: string icon = 3;
38
- */
39
- icon: string;
40
-
41
- /**
42
- * Optional description of the asset
43
- *
44
- * @generated from field: string description = 4;
45
- */
46
- description: string;
47
-
48
- /**
49
- * @generated from field: ar.v1.AssetType type = 5;
50
- */
51
- type: AssetType;
52
-
53
- /**
54
- * @generated from field: ar.v1.AssetDriverType asset_driver_type = 6;
55
- */
56
- assetDriverType: AssetDriverType;
57
-
58
- /**
59
- * @generated from field: repeated ar.v1.Property properties = 7;
60
- */
61
- properties: Property[];
62
- };
63
-
64
- /**
65
- * Describes the message ar.v1.AssetMessage.
66
- * Use `create(AssetMessageSchema)` to create a new message.
67
- */
68
- export const AssetMessageSchema: GenMessage<AssetMessage> = /*@__PURE__*/
69
- messageDesc(file_ar_v1_assets, 0);
70
-
71
- /**
72
- * @generated from message ar.v1.AssetMessages
73
- */
74
- export type AssetMessages = Message<"ar.v1.AssetMessages"> & {
75
- /**
76
- * @generated from field: repeated ar.v1.AssetMessage assets = 1;
77
- */
78
- assets: AssetMessage[];
79
- };
80
-
81
- /**
82
- * Describes the message ar.v1.AssetMessages.
83
- * Use `create(AssetMessagesSchema)` to create a new message.
84
- */
85
- export const AssetMessagesSchema: GenMessage<AssetMessages> = /*@__PURE__*/
86
- messageDesc(file_ar_v1_assets, 1);
87
-
88
- /**
89
- * @generated from enum ar.v1.AssetType
90
- */
91
- export enum AssetType {
92
- /**
93
- * @generated from enum value: ASSET_TYPE_UNSPECIFIED = 0;
94
- */
95
- UNSPECIFIED = 0,
96
-
97
- /**
98
- * @generated from enum value: ASSET_TYPE_CAMERA = 1;
99
- */
100
- CAMERA = 1,
101
-
102
- /**
103
- * @generated from enum value: ASSET_TYPE_LIGHT = 2;
104
- */
105
- LIGHT = 2,
106
-
107
- /**
108
- * @generated from enum value: ASSET_TYPE_CONVEYOR = 3;
109
- */
110
- CONVEYOR = 3,
111
- }
112
-
113
- /**
114
- * Describes the enum ar.v1.AssetType.
115
- */
116
- export const AssetTypeSchema: GenEnum<AssetType> = /*@__PURE__*/
117
- enumDesc(file_ar_v1_assets, 0);
118
-
119
- /**
120
- * @generated from enum ar.v1.AssetDriverType
121
- */
122
- export enum AssetDriverType {
123
- /**
124
- * @generated from enum value: ASSET_DRIVER_TYPE_UNSPECIFIED = 0;
125
- */
126
- UNSPECIFIED = 0,
127
-
128
- /**
129
- * @generated from enum value: ASSET_DRIVER_TYPE_DEFAULT = 1;
130
- */
131
- DEFAULT = 1,
132
- }
133
-
134
- /**
135
- * Describes the enum ar.v1.AssetDriverType.
136
- */
137
- export const AssetDriverTypeSchema: GenEnum<AssetDriverType> = /*@__PURE__*/
138
- enumDesc(file_ar_v1_assets, 1);
139
-
@@ -1,105 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file ar/v1/marker.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/marker.proto.
13
- */
14
- export const file_ar_v1_marker: GenFile = /*@__PURE__*/
15
- fileDesc("ChJhci92MS9tYXJrZXIucHJvdG8SBWFyLnYxIsoBCg1NYXJrZXJNZXNzYWdlEgoKAmlkGAEgASgJEhcKBG5hbWUYAiABKAlCCbpIBnIEgPEEARIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEiYKC21hcmtlcl90ZXh0GAUgASgJQhG6SA5yDBACkgIHcm9iZXJ0YRIsCgR0eXBlGAYgASgOMhEuYXIudjEuTWFya2VyVHlwZUILukgIyAEBggECEAESGwoTY29uZmlybV9pbnN0YW50aWF0ZRgHIAEoCCKfAQoOTWFya2VyTWVzc2FnZXMSjAEKB21hcmtlcnMYASADKAsyFC5hci52MS5NYXJrZXJNZXNzYWdlQmW6SGK6AV8KEnVuaXF1ZV9tYXJrZXJfdGV4dBIabWFya2VyIHRleHQgbXVzdCBiZSB1bmlxdWUaLXRoaXMubWFwKG1hcmtlciwgbWFya2VyLm1hcmtlcl90ZXh0KS51bmlxdWUoKSpCCgpNYXJrZXJUeXBlEhsKF01BUktFUl9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTTUFSS0VSX1RZUEVfUVJfQ09ERRABQocBCgljb20uYXIudjFCC01hcmtlclByb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
16
-
17
- /**
18
- * @generated from message ar.v1.MarkerMessage
19
- */
20
- export type MarkerMessage = Message<"ar.v1.MarkerMessage"> & {
21
- /**
22
- * @generated from field: string id = 1;
23
- */
24
- id: string;
25
-
26
- /**
27
- * @generated from field: string name = 2;
28
- */
29
- name: string;
30
-
31
- /**
32
- * @generated from field: string icon = 3;
33
- */
34
- icon: string;
35
-
36
- /**
37
- * @generated from field: string description = 4;
38
- */
39
- description: string;
40
-
41
- /**
42
- * Text on the physical marker (QR-code)
43
- *
44
- * @generated from field: string marker_text = 5;
45
- */
46
- markerText: string;
47
-
48
- /**
49
- * @generated from field: ar.v1.MarkerType type = 6;
50
- */
51
- type: MarkerType;
52
-
53
- /**
54
- * If true, the user must confirm that he/she want to instantiate the environment(s) associated with this marker.
55
- *
56
- * @generated from field: bool confirm_instantiate = 7;
57
- */
58
- confirmInstantiate: boolean;
59
- };
60
-
61
- /**
62
- * Describes the message ar.v1.MarkerMessage.
63
- * Use `create(MarkerMessageSchema)` to create a new message.
64
- */
65
- export const MarkerMessageSchema: GenMessage<MarkerMessage> = /*@__PURE__*/
66
- messageDesc(file_ar_v1_marker, 0);
67
-
68
- /**
69
- * @generated from message ar.v1.MarkerMessages
70
- */
71
- export type MarkerMessages = Message<"ar.v1.MarkerMessages"> & {
72
- /**
73
- * @generated from field: repeated ar.v1.MarkerMessage markers = 1;
74
- */
75
- markers: MarkerMessage[];
76
- };
77
-
78
- /**
79
- * Describes the message ar.v1.MarkerMessages.
80
- * Use `create(MarkerMessagesSchema)` to create a new message.
81
- */
82
- export const MarkerMessagesSchema: GenMessage<MarkerMessages> = /*@__PURE__*/
83
- messageDesc(file_ar_v1_marker, 1);
84
-
85
- /**
86
- * @generated from enum ar.v1.MarkerType
87
- */
88
- export enum MarkerType {
89
- /**
90
- * @generated from enum value: MARKER_TYPE_UNSPECIFIED = 0;
91
- */
92
- UNSPECIFIED = 0,
93
-
94
- /**
95
- * @generated from enum value: MARKER_TYPE_QR_CODE = 1;
96
- */
97
- QR_CODE = 1,
98
- }
99
-
100
- /**
101
- * Describes the enum ar.v1.MarkerType.
102
- */
103
- export const MarkerTypeSchema: GenEnum<MarkerType> = /*@__PURE__*/
104
- enumDesc(file_ar_v1_marker, 0);
105
-
@@ -1,67 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file ar/v1/permissions.proto (package ar.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
7
-
8
- /**
9
- * Describes the file ar/v1/permissions.proto.
10
- */
11
- export const file_ar_v1_permissions: GenFile = /*@__PURE__*/
12
- fileDesc("Chdhci92MS9wZXJtaXNzaW9ucy5wcm90bxIFYXIudjEqqgEKEFdvcmtlclBlcm1pc3Npb24SIQodV09SS0VSX1BFUk1JU1NJT05fVU5TUEVDSUZJRUQQABIbChdXT1JLRVJfUEVSTUlTU0lPTl9CQVNJQxABEh4KGldPUktFUl9QRVJNSVNTSU9OX0NPU01FVElDEAISGgoWV09SS0VSX1BFUk1JU1NJT05fRlVMTBADEhoKFldPUktFUl9QRVJNSVNTSU9OX05PTkUQBEKMAQoJY29tLmFyLnYxQhBQZXJtaXNzaW9uc1Byb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM");
13
-
14
- /**
15
- *
16
- * TODO: Rename to AREditPermission? - what about 'automatic' systems?
17
- * Consider the mapping, e.g: unspecified, none = nothing, cosmetic = some, full =
18
- * User:
19
- * - Unspecified: can't edit any properties
20
- * - Basic: can edit {basic} properties
21
- * - Cosmetic: can edit {basic, cosmetic} properties
22
- * - Full: can edit all editable properties
23
- * - None: <not in use?>
24
- * Properties:
25
- * - Unspecified: can be edited by all?
26
- * - Basic: can be edited by users with some permission to edit
27
- * - Cosmetic: can be edited by users with cosmetic+full permission
28
- * - Full: can be edited by users with full permission
29
- * - None: can't be edited (e.g. outputs or stuff that requires a delete + create new)
30
- *
31
- * TODO: consider the order. It should be possible to use < or > to determine if things are editable (not possible right now when COSMETIC is 'in the middle')
32
- *
33
- * @generated from enum ar.v1.WorkerPermission
34
- */
35
- export enum WorkerPermission {
36
- /**
37
- * @generated from enum value: WORKER_PERMISSION_UNSPECIFIED = 0;
38
- */
39
- UNSPECIFIED = 0,
40
-
41
- /**
42
- * @generated from enum value: WORKER_PERMISSION_BASIC = 1;
43
- */
44
- BASIC = 1,
45
-
46
- /**
47
- * @generated from enum value: WORKER_PERMISSION_COSMETIC = 2;
48
- */
49
- COSMETIC = 2,
50
-
51
- /**
52
- * @generated from enum value: WORKER_PERMISSION_FULL = 3;
53
- */
54
- FULL = 3,
55
-
56
- /**
57
- * @generated from enum value: WORKER_PERMISSION_NONE = 4;
58
- */
59
- NONE = 4,
60
- }
61
-
62
- /**
63
- * Describes the enum ar.v1.WorkerPermission.
64
- */
65
- export const WorkerPermissionSchema: GenEnum<WorkerPermission> = /*@__PURE__*/
66
- enumDesc(file_ar_v1_permissions, 0);
67
-