@cobotar/protocol 0.21.10 → 1.0.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.
- package/README.md +1 -1
- package/lib/common/v1/log_pb.ts +334 -0
- package/lib/robot/v1/popup_pb.ts +4 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file common/v1/log.proto (package common.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 type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file common/v1/log.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_common_v1_log: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("ChNjb21tb24vdjEvbG9nLnByb3RvEgljb21tb24udjEiwgEKEUxvZ0F0dHJpYnV0ZVZhbHVlEhQKDHN0cmluZ192YWx1ZRgBIAEoCRISCgpib29sX3ZhbHVlGAIgASgIEhEKCWludF92YWx1ZRgDIAEoAxIUCgxkb3VibGVfdmFsdWUYBCABKAESEwoLYnl0ZXNfdmFsdWUYBSABKAw6RbpIQiJACgxzdHJpbmdfdmFsdWUKCmJvb2xfdmFsdWUKCWludF92YWx1ZQoMZG91YmxlX3ZhbHVlCgtieXRlc192YWx1ZSJRCgxMb2dBdHRyaWJ1dGUSFAoDa2V5GAEgASgJQge6SARy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TE9HX1NFVkVSSVRZX1VOU1BFQ0lGSUVEEAASFgoSTE9HX1NFVkVSSVRZX1RSQUNFEAESFgoSTE9HX1NFVkVSSVRZX0RFQlVHEAISFQoRTE9HX1NFVkVSSVRZX0lORk8QAxIVChFMT0dfU0VWRVJJVFlfV0FSThAEEhYKEkxPR19TRVZFUklUWV9FUlJPUhAFEhYKEkxPR19TRVZFUklUWV9GQVRBTBAGQqABCg1jb20uY29tbW9uLnYxQghMb2dQcm90b1ABWjdnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvY29tbW9uL3YxO2NvbW1vbnYxogIDQ1hYqgISTWVzc2FnZXMuQ29tbW9uLlYxygIJQ29tbW9uXFYx4gIVQ29tbW9uXFYxXEdQQk1ldGFkYXRh6gIKQ29tbW9uOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Typed value attached to a log record.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message common.v1.LogAttributeValue
|
|
22
|
+
*/
|
|
23
|
+
export type LogAttributeValue = Message<"common.v1.LogAttributeValue"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string string_value = 1;
|
|
26
|
+
*/
|
|
27
|
+
stringValue: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: bool bool_value = 2;
|
|
31
|
+
*/
|
|
32
|
+
boolValue: boolean;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: int64 int_value = 3;
|
|
36
|
+
*/
|
|
37
|
+
intValue: bigint;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: double double_value = 4;
|
|
41
|
+
*/
|
|
42
|
+
doubleValue: number;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: bytes bytes_value = 5;
|
|
46
|
+
*/
|
|
47
|
+
bytesValue: Uint8Array;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message common.v1.LogAttributeValue.
|
|
52
|
+
* Use `create(LogAttributeValueSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const LogAttributeValueSchema: GenMessage<LogAttributeValue> = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_common_v1_log, 0);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Structured attribute associated with a log record.
|
|
59
|
+
*
|
|
60
|
+
* @generated from message common.v1.LogAttribute
|
|
61
|
+
*/
|
|
62
|
+
export type LogAttribute = Message<"common.v1.LogAttribute"> & {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string key = 1;
|
|
65
|
+
*/
|
|
66
|
+
key: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: common.v1.LogAttributeValue value = 2;
|
|
70
|
+
*/
|
|
71
|
+
value?: LogAttributeValue;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message common.v1.LogAttribute.
|
|
76
|
+
* Use `create(LogAttributeSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const LogAttributeSchema: GenMessage<LogAttribute> = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_common_v1_log, 1);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Identifies the application or component that produced the record.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message common.v1.LogResource
|
|
85
|
+
*/
|
|
86
|
+
export type LogResource = Message<"common.v1.LogResource"> & {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: string service_name = 1;
|
|
89
|
+
*/
|
|
90
|
+
serviceName: string;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: string service_version = 2;
|
|
94
|
+
*/
|
|
95
|
+
serviceVersion: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string service_instance_id = 3;
|
|
99
|
+
*/
|
|
100
|
+
serviceInstanceId: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: string environment = 4;
|
|
104
|
+
*/
|
|
105
|
+
environment: string;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Examples: backend, web, unity, importer, robot-driver.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: string application_type = 5;
|
|
111
|
+
*/
|
|
112
|
+
applicationType: string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message common.v1.LogResource.
|
|
117
|
+
* Use `create(LogResourceSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const LogResourceSchema: GenMessage<LogResource> = /*@__PURE__*/
|
|
120
|
+
messageDesc(file_common_v1_log, 2);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Source-code location when available.
|
|
124
|
+
*
|
|
125
|
+
* @generated from message common.v1.LogSource
|
|
126
|
+
*/
|
|
127
|
+
export type LogSource = Message<"common.v1.LogSource"> & {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: string file = 1;
|
|
130
|
+
*/
|
|
131
|
+
file: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: int32 line = 2;
|
|
135
|
+
*/
|
|
136
|
+
line: number;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string function = 3;
|
|
140
|
+
*/
|
|
141
|
+
function: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message common.v1.LogSource.
|
|
146
|
+
* Use `create(LogSourceSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export const LogSourceSchema: GenMessage<LogSource> = /*@__PURE__*/
|
|
149
|
+
messageDesc(file_common_v1_log, 3);
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Exception/error information when applicable.
|
|
153
|
+
*
|
|
154
|
+
* @generated from message common.v1.LogException
|
|
155
|
+
*/
|
|
156
|
+
export type LogException = Message<"common.v1.LogException"> & {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string type = 1;
|
|
159
|
+
*/
|
|
160
|
+
type: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string message = 2;
|
|
164
|
+
*/
|
|
165
|
+
message: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string stack_trace = 3;
|
|
169
|
+
*/
|
|
170
|
+
stackTrace: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message common.v1.LogException.
|
|
175
|
+
* Use `create(LogExceptionSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export const LogExceptionSchema: GenMessage<LogException> = /*@__PURE__*/
|
|
178
|
+
messageDesc(file_common_v1_log, 4);
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* A structured diagnostic log record.
|
|
182
|
+
*
|
|
183
|
+
* The structure is inspired by the OpenTelemetry LogRecord model while
|
|
184
|
+
* remaining convenient for NATS/protobuf applications.
|
|
185
|
+
*
|
|
186
|
+
* @generated from message common.v1.LogRecord
|
|
187
|
+
*/
|
|
188
|
+
export type LogRecord = Message<"common.v1.LogRecord"> & {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: string id = 1;
|
|
191
|
+
*/
|
|
192
|
+
id: string;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Time at which the application created the log record.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 2;
|
|
198
|
+
*/
|
|
199
|
+
timestamp?: Timestamp;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Time at which the logging transport observed/received the record.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: google.protobuf.Timestamp observed_at = 3;
|
|
205
|
+
*/
|
|
206
|
+
observedAt?: Timestamp;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: common.v1.LogSeverity severity = 4;
|
|
210
|
+
*/
|
|
211
|
+
severity: LogSeverity;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: string severity_text = 5;
|
|
215
|
+
*/
|
|
216
|
+
severityText: string;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Human-readable log message.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string body = 6;
|
|
222
|
+
*/
|
|
223
|
+
body: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from field: common.v1.LogResource resource = 7;
|
|
227
|
+
*/
|
|
228
|
+
resource?: LogResource;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @generated from field: repeated common.v1.LogAttribute attributes = 8;
|
|
232
|
+
*/
|
|
233
|
+
attributes: LogAttribute[];
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: common.v1.LogSource source = 9;
|
|
237
|
+
*/
|
|
238
|
+
source?: LogSource;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @generated from field: common.v1.LogException exception = 10;
|
|
242
|
+
*/
|
|
243
|
+
exception?: LogException;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Logger/category name, such as a Go slog logger name or C# category.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string logger_name = 13;
|
|
249
|
+
*/
|
|
250
|
+
loggerName: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Optional monotonically increasing client-local sequence number.
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: uint64 sequence_number = 14;
|
|
256
|
+
*/
|
|
257
|
+
sequenceNumber: bigint;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message common.v1.LogRecord.
|
|
262
|
+
* Use `create(LogRecordSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export const LogRecordSchema: GenMessage<LogRecord> = /*@__PURE__*/
|
|
265
|
+
messageDesc(file_common_v1_log, 5);
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from message common.v1.LogRecords
|
|
269
|
+
*/
|
|
270
|
+
export type LogRecords = Message<"common.v1.LogRecords"> & {
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: repeated common.v1.LogRecord items = 1;
|
|
273
|
+
*/
|
|
274
|
+
items: LogRecord[];
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Describes the message common.v1.LogRecords.
|
|
279
|
+
* Use `create(LogRecordsSchema)` to create a new message.
|
|
280
|
+
*/
|
|
281
|
+
export const LogRecordsSchema: GenMessage<LogRecords> = /*@__PURE__*/
|
|
282
|
+
messageDesc(file_common_v1_log, 6);
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Severity of a diagnostic log record.
|
|
286
|
+
*
|
|
287
|
+
* This deliberately describes technical diagnostic severity, not domain-event
|
|
288
|
+
* importance or process-run issue severity.
|
|
289
|
+
*
|
|
290
|
+
* @generated from enum common.v1.LogSeverity
|
|
291
|
+
*/
|
|
292
|
+
export enum LogSeverity {
|
|
293
|
+
/**
|
|
294
|
+
* @generated from enum value: LOG_SEVERITY_UNSPECIFIED = 0;
|
|
295
|
+
*/
|
|
296
|
+
UNSPECIFIED = 0,
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: LOG_SEVERITY_TRACE = 1;
|
|
300
|
+
*/
|
|
301
|
+
TRACE = 1,
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from enum value: LOG_SEVERITY_DEBUG = 2;
|
|
305
|
+
*/
|
|
306
|
+
DEBUG = 2,
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from enum value: LOG_SEVERITY_INFO = 3;
|
|
310
|
+
*/
|
|
311
|
+
INFO = 3,
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from enum value: LOG_SEVERITY_WARN = 4;
|
|
315
|
+
*/
|
|
316
|
+
WARN = 4,
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @generated from enum value: LOG_SEVERITY_ERROR = 5;
|
|
320
|
+
*/
|
|
321
|
+
ERROR = 5,
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @generated from enum value: LOG_SEVERITY_FATAL = 6;
|
|
325
|
+
*/
|
|
326
|
+
FATAL = 6,
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Describes the enum common.v1.LogSeverity.
|
|
331
|
+
*/
|
|
332
|
+
export const LogSeveritySchema: GenEnum<LogSeverity> = /*@__PURE__*/
|
|
333
|
+
enumDesc(file_common_v1_log, 0);
|
|
334
|
+
|
package/lib/robot/v1/popup_pb.ts
CHANGED
|
@@ -10,24 +10,19 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
10
10
|
* Describes the file robot/v1/popup.proto.
|
|
11
11
|
*/
|
|
12
12
|
export const file_robot_v1_popup: GenFile = /*@__PURE__*/
|
|
13
|
-
fileDesc("
|
|
13
|
+
fileDesc("ChRyb2JvdC92MS9wb3B1cC5wcm90bxIIcm9ib3QudjEiNwoVUm9ib3RTaG93UG9wdXBSZXF1ZXN0EhAKCHJvYm90X2lkGAEgASgJEgwKBHRleHQYAiABKAkiKQoVUm9ib3RIaWRlUG9wdXBSZXF1ZXN0EhAKCHJvYm90X2lkGAEgASgJQpwBCgxjb20ucm9ib3QudjFCClBvcHVwUHJvdG9QAVo1Z2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL3JvYm90L3YxO3JvYm90djGiAgNSWFiqAhJNZXNzYWdlcy5Db21tb24uVjHKAghSb2JvdFxWMeICFFJvYm90XFYxXEdQQk1ldGFkYXRh6gIJUm9ib3Q6OlYxYgZwcm90bzM");
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from message robot.v1.RobotShowPopupRequest
|
|
17
17
|
*/
|
|
18
18
|
export type RobotShowPopupRequest = Message<"robot.v1.RobotShowPopupRequest"> & {
|
|
19
19
|
/**
|
|
20
|
-
* @generated from field: string
|
|
21
|
-
*/
|
|
22
|
-
requestId: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @generated from field: string robot_id = 2;
|
|
20
|
+
* @generated from field: string robot_id = 1;
|
|
26
21
|
*/
|
|
27
22
|
robotId: string;
|
|
28
23
|
|
|
29
24
|
/**
|
|
30
|
-
* @generated from field: string text =
|
|
25
|
+
* @generated from field: string text = 2;
|
|
31
26
|
*/
|
|
32
27
|
text: string;
|
|
33
28
|
};
|
|
@@ -44,12 +39,7 @@ export const RobotShowPopupRequestSchema: GenMessage<RobotShowPopupRequest> = /*
|
|
|
44
39
|
*/
|
|
45
40
|
export type RobotHidePopupRequest = Message<"robot.v1.RobotHidePopupRequest"> & {
|
|
46
41
|
/**
|
|
47
|
-
* @generated from field: string
|
|
48
|
-
*/
|
|
49
|
-
requestId: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @generated from field: string robot_id = 2;
|
|
42
|
+
* @generated from field: string robot_id = 1;
|
|
53
43
|
*/
|
|
54
44
|
robotId: string;
|
|
55
45
|
};
|