@cobotar/protocol 0.21.6 → 0.21.7
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/function_info_pb.ts +158 -0
- package/lib/ar/v1/function_pb.ts +210 -0
- package/lib/common/v1/property_pb.ts +2 -0
- package/package.json +1 -1
- package/lib/ar/v1/helper_info_pb.ts +0 -168
- package/lib/ar/v1/helper_pb.ts +0 -185
package/README.md
CHANGED
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file ar/v1/function_info.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 { ExchangeType, HandlerRequirement } from "./events_pb.ts";
|
|
8
|
+
import { file_ar_v1_events } from "./events_pb.ts";
|
|
9
|
+
import type { FunctionType } from "./function_pb.ts";
|
|
10
|
+
import { file_ar_v1_function } from "./function_pb.ts";
|
|
11
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
12
|
+
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
13
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file ar/v1/function_info.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_ar_v1_function_info: GenFile = /*@__PURE__*/
|
|
19
|
+
fileDesc("Chlhci92MS9mdW5jdGlvbl9pbmZvLnByb3RvEgVhci52MSL+AgoTRnVuY3Rpb25JbmZvTWVzc2FnZRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIuCgR0eXBlGAUgASgOMhMuYXIudjEuRnVuY3Rpb25UeXBlQgu6SAjIAQGCAQIQARItCgVncm91cBgGIAEoDjIULmFyLnYxLkZ1bmN0aW9uR3JvdXBCCLpIBYIBAhABEi8KEmNvbnN1bWVyc19yZXF1aXJlZBgJIAMoCzITLmFyLnYxLkV4Y2hhbmdlVHlwZRIvChJjb25zdW1lcnNfb3B0aW9uYWwYCiADKAsyEy5hci52MS5FeGNoYW5nZVR5cGUSNAoRcmVxdWlyZWRfaGFuZGxlcnMYCyADKAsyGS5hci52MS5IYW5kbGVyUmVxdWlyZW1lbnQSIgoFZW1pdHMYDCADKAsyEy5hci52MS5FeGNoYW5nZVR5cGUSEAoIZGlzYWJsZWQYDSABKAgiQQoURnVuY3Rpb25JbmZvTWVzc2FnZXMSKQoFaW5mb3MYASADKAsyGi5hci52MS5GdW5jdGlvbkluZm9NZXNzYWdlKvEBCg1GdW5jdGlvbkdyb3VwEh4KGkZVTkNUSU9OX0dST1VQX1VOU1BFQ0lGSUVEEAASGgoWRlVOQ1RJT05fR1JPVVBfR0VORVJBTBABEhgKFEZVTkNUSU9OX0dST1VQX1JPQk9UEAISFwoTRlVOQ1RJT05fR1JPVVBfVEFTSxADEh4KGkZVTkNUSU9OX0dST1VQX0VOVklST05NRU5UEAQSGwoXRlVOQ1RJT05fR1JPVVBfT1BFUkFUT1IQBRIaChZGVU5DVElPTl9HUk9VUF9TUEFUSUFMEAYSGAoURlVOQ1RJT05fR1JPVVBfTE9HSUMQB0KNAQoJY29tLmFyLnYxQhFGdW5jdGlvbkluZm9Qcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_ar_v1_events, file_ar_v1_function, file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @generated from message ar.v1.FunctionInfoMessage
|
|
23
|
+
*/
|
|
24
|
+
export type FunctionInfoMessage = Message<"ar.v1.FunctionInfoMessage"> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string name = 2;
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: string icon = 3;
|
|
32
|
+
*/
|
|
33
|
+
icon: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string description = 4;
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: ar.v1.FunctionType type = 5;
|
|
42
|
+
*/
|
|
43
|
+
type: FunctionType;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: ar.v1.FunctionGroup group = 6;
|
|
47
|
+
*/
|
|
48
|
+
group: FunctionGroup;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Inputs the action expects to receive
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: repeated ar.v1.ExchangeType consumers_required = 9;
|
|
54
|
+
*/
|
|
55
|
+
consumersRequired: ExchangeType[];
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Inputs that will enhance the action, but not needed to function
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: repeated ar.v1.ExchangeType consumers_optional = 10;
|
|
61
|
+
*/
|
|
62
|
+
consumersOptional: ExchangeType[];
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Events that MUST have at least one handler somewhere else in the system. (i.e., if the action emits these, it expects the environment to react)
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: repeated ar.v1.HandlerRequirement required_handlers = 11;
|
|
68
|
+
*/
|
|
69
|
+
requiredHandlers: HandlerRequirement[];
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* / Outputs the feedback publishes
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: repeated ar.v1.ExchangeType emits = 12;
|
|
75
|
+
*/
|
|
76
|
+
emits: ExchangeType[];
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: bool disabled = 13;
|
|
80
|
+
*/
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message ar.v1.FunctionInfoMessage.
|
|
86
|
+
* Use `create(FunctionInfoMessageSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const FunctionInfoMessageSchema: GenMessage<FunctionInfoMessage> = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_ar_v1_function_info, 0);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message ar.v1.FunctionInfoMessages
|
|
93
|
+
*/
|
|
94
|
+
export type FunctionInfoMessages = Message<"ar.v1.FunctionInfoMessages"> & {
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: repeated ar.v1.FunctionInfoMessage infos = 1;
|
|
97
|
+
*/
|
|
98
|
+
infos: FunctionInfoMessage[];
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Describes the message ar.v1.FunctionInfoMessages.
|
|
103
|
+
* Use `create(FunctionInfoMessagesSchema)` to create a new message.
|
|
104
|
+
*/
|
|
105
|
+
export const FunctionInfoMessagesSchema: GenMessage<FunctionInfoMessages> = /*@__PURE__*/
|
|
106
|
+
messageDesc(file_ar_v1_function_info, 1);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum ar.v1.FunctionGroup
|
|
110
|
+
*/
|
|
111
|
+
export enum FunctionGroup {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from enum value: FUNCTION_GROUP_UNSPECIFIED = 0;
|
|
114
|
+
*/
|
|
115
|
+
UNSPECIFIED = 0,
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from enum value: FUNCTION_GROUP_GENERAL = 1;
|
|
119
|
+
*/
|
|
120
|
+
GENERAL = 1,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum value: FUNCTION_GROUP_ROBOT = 2;
|
|
124
|
+
*/
|
|
125
|
+
ROBOT = 2,
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from enum value: FUNCTION_GROUP_TASK = 3;
|
|
129
|
+
*/
|
|
130
|
+
TASK = 3,
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum value: FUNCTION_GROUP_ENVIRONMENT = 4;
|
|
134
|
+
*/
|
|
135
|
+
ENVIRONMENT = 4,
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from enum value: FUNCTION_GROUP_OPERATOR = 5;
|
|
139
|
+
*/
|
|
140
|
+
OPERATOR = 5,
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: FUNCTION_GROUP_SPATIAL = 6;
|
|
144
|
+
*/
|
|
145
|
+
SPATIAL = 6,
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from enum value: FUNCTION_GROUP_LOGIC = 7;
|
|
149
|
+
*/
|
|
150
|
+
LOGIC = 7,
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the enum ar.v1.FunctionGroup.
|
|
155
|
+
*/
|
|
156
|
+
export const FunctionGroupSchema: GenEnum<FunctionGroup> = /*@__PURE__*/
|
|
157
|
+
enumDesc(file_ar_v1_function_info, 0);
|
|
158
|
+
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file ar/v1/function.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/function.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_ar_v1_function: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChRhci92MS9mdW5jdGlvbi5wcm90bxIFYXIudjEimgEKD0Z1bmN0aW9uTWVzc2FnZRIKCgJpZBgBIAEoCRIXCgRuYW1lGAIgASgJQgm6SAZyBIDxBAESDAoEaWNvbhgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIhCgR0eXBlGAUgASgOMhMuYXIudjEuRnVuY3Rpb25UeXBlEhwKCWNvbmZpZ19pZBgGIAEoCUIJukgGcgSQ8QQBIjkKEEZ1bmN0aW9uTWVzc2FnZXMSJQoFaXRlbXMYASADKAsyFi5hci52MS5GdW5jdGlvbk1lc3NhZ2UikwEKEkZ1bmN0aW9uQWRkTWVzc2FnZRIcCgljb25maWdfaWQYASABKAlCCbpIBnIEkPEEARIMCgRuYW1lGAIgASgJEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSLgoEdHlwZRgFIAEoDjITLmFyLnYxLkZ1bmN0aW9uVHlwZUILukgIyAEBggECEAEiXwoVRnVuY3Rpb25VcGRhdGVNZXNzYWdlEgoKAmlkGAEgASgJEhcKBG5hbWUYAiABKAlCCbpIBnIEgPEEARIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJKs8CCgxGdW5jdGlvblR5cGUSHQoZRlVOQ1RJT05fVFlQRV9VTlNQRUNJRklFRBAAEhsKF0ZVTkNUSU9OX1RZUEVfUFJPWElNSVRZEAoSHAoYRlVOQ1RJT05fVFlQRV9TVEFUSU9OQVJZEAsSFwoTRlVOQ1RJT05fVFlQRV9USU1FUhAVEh8KG0ZVTkNUSU9OX1RZUEVfUEFSVF9GT1JfVEFTSxAoEiEKHUZVTkNUSU9OX1RZUEVfSVNfUEFSVF9PRl9UWVBFEDISIQodRlVOQ1RJT05fVFlQRV9TVFJJTkdfRk9STUFUXzEQPBIhCh1GVU5DVElPTl9UWVBFX1NUUklOR19GT1JNQVRfMhA9EhUKEUZVTkNUSU9OX1RZUEVfQU5EEGQSFAoQRlVOQ1RJT05fVFlQRV9PUhBlEhUKEUZVTkNUSU9OX1RZUEVfTk9UEGZCiQEKCWNvbS5hci52MUINRnVuY3Rpb25Qcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message ar.v1.FunctionMessage
|
|
19
|
+
*/
|
|
20
|
+
export type FunctionMessage = Message<"ar.v1.FunctionMessage"> & {
|
|
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
|
+
* @generated from field: ar.v1.FunctionType type = 5;
|
|
43
|
+
*/
|
|
44
|
+
type: FunctionType;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string config_id = 6;
|
|
48
|
+
*/
|
|
49
|
+
configId: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message ar.v1.FunctionMessage.
|
|
54
|
+
* Use `create(FunctionMessageSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const FunctionMessageSchema: GenMessage<FunctionMessage> = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_ar_v1_function, 0);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from message ar.v1.FunctionMessages
|
|
61
|
+
*/
|
|
62
|
+
export type FunctionMessages = Message<"ar.v1.FunctionMessages"> & {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: repeated ar.v1.FunctionMessage items = 1;
|
|
65
|
+
*/
|
|
66
|
+
items: FunctionMessage[];
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message ar.v1.FunctionMessages.
|
|
71
|
+
* Use `create(FunctionMessagesSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const FunctionMessagesSchema: GenMessage<FunctionMessages> = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_ar_v1_function, 1);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message ar.v1.FunctionAddMessage
|
|
78
|
+
*/
|
|
79
|
+
export type FunctionAddMessage = Message<"ar.v1.FunctionAddMessage"> & {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string config_id = 1;
|
|
82
|
+
*/
|
|
83
|
+
configId: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string name = 2;
|
|
87
|
+
*/
|
|
88
|
+
name: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string icon = 3;
|
|
92
|
+
*/
|
|
93
|
+
icon: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string description = 4;
|
|
97
|
+
*/
|
|
98
|
+
description: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: ar.v1.FunctionType type = 5;
|
|
102
|
+
*/
|
|
103
|
+
type: FunctionType;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message ar.v1.FunctionAddMessage.
|
|
108
|
+
* Use `create(FunctionAddMessageSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const FunctionAddMessageSchema: GenMessage<FunctionAddMessage> = /*@__PURE__*/
|
|
111
|
+
messageDesc(file_ar_v1_function, 2);
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message ar.v1.FunctionUpdateMessage
|
|
115
|
+
*/
|
|
116
|
+
export type FunctionUpdateMessage = Message<"ar.v1.FunctionUpdateMessage"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string id = 1;
|
|
119
|
+
*/
|
|
120
|
+
id: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string name = 2;
|
|
124
|
+
*/
|
|
125
|
+
name: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: string icon = 3;
|
|
129
|
+
*/
|
|
130
|
+
icon: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: string description = 4;
|
|
134
|
+
*/
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message ar.v1.FunctionUpdateMessage.
|
|
140
|
+
* Use `create(FunctionUpdateMessageSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export const FunctionUpdateMessageSchema: GenMessage<FunctionUpdateMessage> = /*@__PURE__*/
|
|
143
|
+
messageDesc(file_ar_v1_function, 3);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from enum ar.v1.FunctionType
|
|
147
|
+
*/
|
|
148
|
+
export enum FunctionType {
|
|
149
|
+
/**
|
|
150
|
+
* @generated from enum value: FUNCTION_TYPE_UNSPECIFIED = 0;
|
|
151
|
+
*/
|
|
152
|
+
UNSPECIFIED = 0,
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from enum value: FUNCTION_TYPE_PROXIMITY = 10;
|
|
156
|
+
*/
|
|
157
|
+
PROXIMITY = 10,
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from enum value: FUNCTION_TYPE_STATIONARY = 11;
|
|
161
|
+
*/
|
|
162
|
+
STATIONARY = 11,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @generated from enum value: FUNCTION_TYPE_TIMER = 21;
|
|
166
|
+
*/
|
|
167
|
+
TIMER = 21,
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from enum value: FUNCTION_TYPE_PART_FOR_TASK = 40;
|
|
171
|
+
*/
|
|
172
|
+
PART_FOR_TASK = 40,
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum value: FUNCTION_TYPE_IS_PART_OF_TYPE = 50;
|
|
176
|
+
*/
|
|
177
|
+
IS_PART_OF_TYPE = 50,
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from enum value: FUNCTION_TYPE_STRING_FORMAT_1 = 60;
|
|
181
|
+
*/
|
|
182
|
+
STRING_FORMAT_1 = 60,
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from enum value: FUNCTION_TYPE_STRING_FORMAT_2 = 61;
|
|
186
|
+
*/
|
|
187
|
+
STRING_FORMAT_2 = 61,
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from enum value: FUNCTION_TYPE_AND = 100;
|
|
191
|
+
*/
|
|
192
|
+
AND = 100,
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from enum value: FUNCTION_TYPE_OR = 101;
|
|
196
|
+
*/
|
|
197
|
+
OR = 101,
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum value: FUNCTION_TYPE_NOT = 102;
|
|
201
|
+
*/
|
|
202
|
+
NOT = 102,
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the enum ar.v1.FunctionType.
|
|
207
|
+
*/
|
|
208
|
+
export const FunctionTypeSchema: GenEnum<FunctionType> = /*@__PURE__*/
|
|
209
|
+
enumDesc(file_ar_v1_function, 0);
|
|
210
|
+
|
|
@@ -132,6 +132,8 @@ export type PropertyDefinition = Message<"common.v1.PropertyDefinition"> & {
|
|
|
132
132
|
advanced: boolean;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
+
* TODO: is this parameter really needed? allowed_origins should already cover this
|
|
136
|
+
*
|
|
135
137
|
* @generated from field: bool disable_mirroring = 15;
|
|
136
138
|
*/
|
|
137
139
|
disableMirroring: boolean;
|
package/package.json
CHANGED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
-
// @generated from file ar/v1/helper_info.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 { ExchangeType, HandlerRequirement } from "./events_pb.ts";
|
|
8
|
-
import { file_ar_v1_events } from "./events_pb.ts";
|
|
9
|
-
import type { HelperType } from "./helper_pb.ts";
|
|
10
|
-
import { file_ar_v1_helper } from "./helper_pb.ts";
|
|
11
|
-
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
12
|
-
import { file_validation_v1_predefined_string_rules } from "../../validation/v1/predefined_string_rules_pb.ts";
|
|
13
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Describes the file ar/v1/helper_info.proto.
|
|
17
|
-
*/
|
|
18
|
-
export const file_ar_v1_helper_info: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("Chdhci92MS9oZWxwZXJfaW5mby5wcm90bxIFYXIudjEipgMKEUhlbHBlckluZm9NZXNzYWdlEhcKBG5hbWUYAiABKAlCCbpIBnIEgPEEARIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEiwKBHR5cGUYBSABKA4yES5hci52MS5IZWxwZXJUeXBlQgu6SAjIAQGCAQIQARIrCgVncm91cBgGIAEoDjISLmFyLnYxLkhlbHBlckdyb3VwQgi6SAWCAQIQARIVCg1yZXF1aXJlX2FnZW50GAcgASgIEhUKDXJlcXVpcmVfZnJhbWUYCCABKAgSLwoSY29uc3VtZXJzX3JlcXVpcmVkGAkgAygLMhMuYXIudjEuRXhjaGFuZ2VUeXBlEi8KEmNvbnN1bWVyc19vcHRpb25hbBgKIAMoCzITLmFyLnYxLkV4Y2hhbmdlVHlwZRI0ChFyZXF1aXJlZF9oYW5kbGVycxgLIAMoCzIZLmFyLnYxLkhhbmRsZXJSZXF1aXJlbWVudBIiCgVlbWl0cxgMIAMoCzITLmFyLnYxLkV4Y2hhbmdlVHlwZRIQCghkaXNhYmxlZBgNIAEoCCI9ChJIZWxwZXJJbmZvTWVzc2FnZXMSJwoFaW5mb3MYASADKAsyGC5hci52MS5IZWxwZXJJbmZvTWVzc2FnZSrfAQoLSGVscGVyR3JvdXASHAoYSEVMUEVSX0dST1VQX1VOU1BFQ0lGSUVEEAASGAoUSEVMUEVSX0dST1VQX0dFTkVSQUwQARIWChJIRUxQRVJfR1JPVVBfUk9CT1QQAhIVChFIRUxQRVJfR1JPVVBfVEFTSxADEhwKGEhFTFBFUl9HUk9VUF9FTlZJUk9OTUVOVBAEEhkKFUhFTFBFUl9HUk9VUF9PUEVSQVRPUhAFEhgKFEhFTFBFUl9HUk9VUF9TUEFUSUFMEAYSFgoSSEVMUEVSX0dST1VQX0xPR0lDEAdCiwEKCWNvbS5hci52MUIPSGVscGVySW5mb1Byb3RvUAFaL2dpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9hci92MTthcnYxogIDQVhYqgIOTWVzc2FnZXMuQVIuVjHKAgVBclxWMeICEUFyXFYxXEdQQk1ldGFkYXRh6gIGQXI6OlYxYgZwcm90bzM", [file_ar_v1_events, file_ar_v1_helper, file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @generated from message ar.v1.HelperInfoMessage
|
|
23
|
-
*/
|
|
24
|
-
export type HelperInfoMessage = Message<"ar.v1.HelperInfoMessage"> & {
|
|
25
|
-
/**
|
|
26
|
-
* @generated from field: string name = 2;
|
|
27
|
-
*/
|
|
28
|
-
name: string;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @generated from field: string icon = 3;
|
|
32
|
-
*/
|
|
33
|
-
icon: string;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @generated from field: string description = 4;
|
|
37
|
-
*/
|
|
38
|
-
description: string;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* @generated from field: ar.v1.HelperType type = 5;
|
|
42
|
-
*/
|
|
43
|
-
type: HelperType;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* @generated from field: ar.v1.HelperGroup group = 6;
|
|
47
|
-
*/
|
|
48
|
-
group: HelperGroup;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* @generated from field: bool require_agent = 7;
|
|
52
|
-
*/
|
|
53
|
-
requireAgent: boolean;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @generated from field: bool require_frame = 8;
|
|
57
|
-
*/
|
|
58
|
-
requireFrame: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Inputs the action expects to receive
|
|
62
|
-
*
|
|
63
|
-
* @generated from field: repeated ar.v1.ExchangeType consumers_required = 9;
|
|
64
|
-
*/
|
|
65
|
-
consumersRequired: ExchangeType[];
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Inputs that will enhance the action, but not needed to function
|
|
69
|
-
*
|
|
70
|
-
* @generated from field: repeated ar.v1.ExchangeType consumers_optional = 10;
|
|
71
|
-
*/
|
|
72
|
-
consumersOptional: ExchangeType[];
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Events that MUST have at least one handler somewhere else in the system. (i.e., if the action emits these, it expects the environment to react)
|
|
76
|
-
*
|
|
77
|
-
* @generated from field: repeated ar.v1.HandlerRequirement required_handlers = 11;
|
|
78
|
-
*/
|
|
79
|
-
requiredHandlers: HandlerRequirement[];
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* / Outputs the feedback publishes
|
|
83
|
-
*
|
|
84
|
-
* @generated from field: repeated ar.v1.ExchangeType emits = 12;
|
|
85
|
-
*/
|
|
86
|
-
emits: ExchangeType[];
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @generated from field: bool disabled = 13;
|
|
90
|
-
*/
|
|
91
|
-
disabled: boolean;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Describes the message ar.v1.HelperInfoMessage.
|
|
96
|
-
* Use `create(HelperInfoMessageSchema)` to create a new message.
|
|
97
|
-
*/
|
|
98
|
-
export const HelperInfoMessageSchema: GenMessage<HelperInfoMessage> = /*@__PURE__*/
|
|
99
|
-
messageDesc(file_ar_v1_helper_info, 0);
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @generated from message ar.v1.HelperInfoMessages
|
|
103
|
-
*/
|
|
104
|
-
export type HelperInfoMessages = Message<"ar.v1.HelperInfoMessages"> & {
|
|
105
|
-
/**
|
|
106
|
-
* @generated from field: repeated ar.v1.HelperInfoMessage infos = 1;
|
|
107
|
-
*/
|
|
108
|
-
infos: HelperInfoMessage[];
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Describes the message ar.v1.HelperInfoMessages.
|
|
113
|
-
* Use `create(HelperInfoMessagesSchema)` to create a new message.
|
|
114
|
-
*/
|
|
115
|
-
export const HelperInfoMessagesSchema: GenMessage<HelperInfoMessages> = /*@__PURE__*/
|
|
116
|
-
messageDesc(file_ar_v1_helper_info, 1);
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @generated from enum ar.v1.HelperGroup
|
|
120
|
-
*/
|
|
121
|
-
export enum HelperGroup {
|
|
122
|
-
/**
|
|
123
|
-
* @generated from enum value: HELPER_GROUP_UNSPECIFIED = 0;
|
|
124
|
-
*/
|
|
125
|
-
UNSPECIFIED = 0,
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from enum value: HELPER_GROUP_GENERAL = 1;
|
|
129
|
-
*/
|
|
130
|
-
GENERAL = 1,
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @generated from enum value: HELPER_GROUP_ROBOT = 2;
|
|
134
|
-
*/
|
|
135
|
-
ROBOT = 2,
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* @generated from enum value: HELPER_GROUP_TASK = 3;
|
|
139
|
-
*/
|
|
140
|
-
TASK = 3,
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @generated from enum value: HELPER_GROUP_ENVIRONMENT = 4;
|
|
144
|
-
*/
|
|
145
|
-
ENVIRONMENT = 4,
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @generated from enum value: HELPER_GROUP_OPERATOR = 5;
|
|
149
|
-
*/
|
|
150
|
-
OPERATOR = 5,
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @generated from enum value: HELPER_GROUP_SPATIAL = 6;
|
|
154
|
-
*/
|
|
155
|
-
SPATIAL = 6,
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @generated from enum value: HELPER_GROUP_LOGIC = 7;
|
|
159
|
-
*/
|
|
160
|
-
LOGIC = 7,
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Describes the enum ar.v1.HelperGroup.
|
|
165
|
-
*/
|
|
166
|
-
export const HelperGroupSchema: GenEnum<HelperGroup> = /*@__PURE__*/
|
|
167
|
-
enumDesc(file_ar_v1_helper_info, 0);
|
|
168
|
-
|
package/lib/ar/v1/helper_pb.ts
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
-
// @generated from file ar/v1/helper.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/helper.proto.
|
|
13
|
-
*/
|
|
14
|
-
export const file_ar_v1_helper: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("ChJhci92MS9oZWxwZXIucHJvdG8SBWFyLnYxIngKDUhlbHBlck1lc3NhZ2USCgoCaWQYASABKAkSFwoEbmFtZRgCIAEoCUIJukgGcgSA8QQBEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSHwoEdHlwZRgFIAEoDjIRLmFyLnYxLkhlbHBlclR5cGUiNwoOSGVscGVyTWVzc2FnZXMSJQoHaGVscGVycxgBIAMoCzIULmFyLnYxLkhlbHBlck1lc3NhZ2UijwEKEEhlbHBlckFkZE1lc3NhZ2USHAoJY29uZmlnX2lkGAEgASgJQgm6SAZyBJDxBAESDAoEbmFtZRgCIAEoCRIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEiwKBHR5cGUYBSABKA4yES5hci52MS5IZWxwZXJUeXBlQgu6SAjIAQGCAQIQASJdChNIZWxwZXJVcGRhdGVNZXNzYWdlEgoKAmlkGAEgASgJEhcKBG5hbWUYAiABKAlCCbpIBnIEgPEEARIMCgRpY29uGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJKrUBCgpIZWxwZXJUeXBlEhsKF0hFTFBFUl9UWVBFX1VOU1BFQ0lGSUVEEAASGQoVSEVMUEVSX1RZUEVfUFJPWElNSVRZEAoSGgoWSEVMUEVSX1RZUEVfU1RBVElPTkFSWRALEhUKEUhFTFBFUl9UWVBFX1RJTUVSEBUSEwoPSEVMUEVSX1RZUEVfQU5EEGQSEgoOSEVMUEVSX1RZUEVfT1IQZRITCg9IRUxQRVJfVFlQRV9OT1QQZkKHAQoJY29tLmFyLnYxQgtIZWxwZXJQcm90b1ABWi9naXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvYXIvdjE7YXJ2MaICA0FYWKoCDk1lc3NhZ2VzLkFSLlYxygIFQXJcVjHiAhFBclxWMVxHUEJNZXRhZGF0YeoCBkFyOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_validation_v1_predefined_string_rules]);
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @generated from message ar.v1.HelperMessage
|
|
19
|
-
*/
|
|
20
|
-
export type HelperMessage = Message<"ar.v1.HelperMessage"> & {
|
|
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
|
-
* @generated from field: ar.v1.HelperType type = 5;
|
|
43
|
-
*/
|
|
44
|
-
type: HelperType;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Describes the message ar.v1.HelperMessage.
|
|
49
|
-
* Use `create(HelperMessageSchema)` to create a new message.
|
|
50
|
-
*/
|
|
51
|
-
export const HelperMessageSchema: GenMessage<HelperMessage> = /*@__PURE__*/
|
|
52
|
-
messageDesc(file_ar_v1_helper, 0);
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @generated from message ar.v1.HelperMessages
|
|
56
|
-
*/
|
|
57
|
-
export type HelperMessages = Message<"ar.v1.HelperMessages"> & {
|
|
58
|
-
/**
|
|
59
|
-
* @generated from field: repeated ar.v1.HelperMessage helpers = 1;
|
|
60
|
-
*/
|
|
61
|
-
helpers: HelperMessage[];
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Describes the message ar.v1.HelperMessages.
|
|
66
|
-
* Use `create(HelperMessagesSchema)` to create a new message.
|
|
67
|
-
*/
|
|
68
|
-
export const HelperMessagesSchema: GenMessage<HelperMessages> = /*@__PURE__*/
|
|
69
|
-
messageDesc(file_ar_v1_helper, 1);
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from message ar.v1.HelperAddMessage
|
|
73
|
-
*/
|
|
74
|
-
export type HelperAddMessage = Message<"ar.v1.HelperAddMessage"> & {
|
|
75
|
-
/**
|
|
76
|
-
* @generated from field: string config_id = 1;
|
|
77
|
-
*/
|
|
78
|
-
configId: string;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @generated from field: string name = 2;
|
|
82
|
-
*/
|
|
83
|
-
name: string;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @generated from field: string icon = 3;
|
|
87
|
-
*/
|
|
88
|
-
icon: string;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @generated from field: string description = 4;
|
|
92
|
-
*/
|
|
93
|
-
description: string;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @generated from field: ar.v1.HelperType type = 5;
|
|
97
|
-
*/
|
|
98
|
-
type: HelperType;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Describes the message ar.v1.HelperAddMessage.
|
|
103
|
-
* Use `create(HelperAddMessageSchema)` to create a new message.
|
|
104
|
-
*/
|
|
105
|
-
export const HelperAddMessageSchema: GenMessage<HelperAddMessage> = /*@__PURE__*/
|
|
106
|
-
messageDesc(file_ar_v1_helper, 2);
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @generated from message ar.v1.HelperUpdateMessage
|
|
110
|
-
*/
|
|
111
|
-
export type HelperUpdateMessage = Message<"ar.v1.HelperUpdateMessage"> & {
|
|
112
|
-
/**
|
|
113
|
-
* @generated from field: string id = 1;
|
|
114
|
-
*/
|
|
115
|
-
id: string;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* @generated from field: string name = 2;
|
|
119
|
-
*/
|
|
120
|
-
name: string;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @generated from field: string icon = 3;
|
|
124
|
-
*/
|
|
125
|
-
icon: string;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @generated from field: string description = 4;
|
|
129
|
-
*/
|
|
130
|
-
description: string;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Describes the message ar.v1.HelperUpdateMessage.
|
|
135
|
-
* Use `create(HelperUpdateMessageSchema)` to create a new message.
|
|
136
|
-
*/
|
|
137
|
-
export const HelperUpdateMessageSchema: GenMessage<HelperUpdateMessage> = /*@__PURE__*/
|
|
138
|
-
messageDesc(file_ar_v1_helper, 3);
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @generated from enum ar.v1.HelperType
|
|
142
|
-
*/
|
|
143
|
-
export enum HelperType {
|
|
144
|
-
/**
|
|
145
|
-
* @generated from enum value: HELPER_TYPE_UNSPECIFIED = 0;
|
|
146
|
-
*/
|
|
147
|
-
UNSPECIFIED = 0,
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @generated from enum value: HELPER_TYPE_PROXIMITY = 10;
|
|
151
|
-
*/
|
|
152
|
-
PROXIMITY = 10,
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* @generated from enum value: HELPER_TYPE_STATIONARY = 11;
|
|
156
|
-
*/
|
|
157
|
-
STATIONARY = 11,
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @generated from enum value: HELPER_TYPE_TIMER = 21;
|
|
161
|
-
*/
|
|
162
|
-
TIMER = 21,
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* @generated from enum value: HELPER_TYPE_AND = 100;
|
|
166
|
-
*/
|
|
167
|
-
AND = 100,
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @generated from enum value: HELPER_TYPE_OR = 101;
|
|
171
|
-
*/
|
|
172
|
-
OR = 101,
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @generated from enum value: HELPER_TYPE_NOT = 102;
|
|
176
|
-
*/
|
|
177
|
-
NOT = 102,
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Describes the enum ar.v1.HelperType.
|
|
182
|
-
*/
|
|
183
|
-
export const HelperTypeSchema: GenEnum<HelperType> = /*@__PURE__*/
|
|
184
|
-
enumDesc(file_ar_v1_helper, 0);
|
|
185
|
-
|