@dxos/protocols 0.6.14-staging.e15392e → 0.7.1-staging.599df14
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/dist/cjs/src/proto/gen/dxos/client/services.d.ts +178 -178
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +28 -28
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +8 -8
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +178 -178
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +27 -27
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +8 -8
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/package.json +7 -7
- package/src/proto/gen/dxos/client/services.ts +178 -178
- package/src/proto/gen/google/protobuf.ts +8 -8
|
@@ -255,6 +255,184 @@ export namespace Invitation {
|
|
|
255
255
|
EXPIRED = 9
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* Defined in:
|
|
260
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
261
|
+
*/
|
|
262
|
+
export interface Metrics {
|
|
263
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
264
|
+
values?: Metrics.KeyPair[];
|
|
265
|
+
}
|
|
266
|
+
export namespace Metrics {
|
|
267
|
+
/**
|
|
268
|
+
* Defined in:
|
|
269
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
270
|
+
*/
|
|
271
|
+
export interface KeyPair {
|
|
272
|
+
/**
|
|
273
|
+
* Options:
|
|
274
|
+
* - proto3_optional = true
|
|
275
|
+
*/
|
|
276
|
+
key?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Options:
|
|
279
|
+
* - proto3_optional = true
|
|
280
|
+
*/
|
|
281
|
+
value?: dxos_value.Value;
|
|
282
|
+
/**
|
|
283
|
+
* Options:
|
|
284
|
+
* - proto3_optional = true
|
|
285
|
+
*/
|
|
286
|
+
stats?: dxos_value.Stats;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Defined in:
|
|
291
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
292
|
+
*/
|
|
293
|
+
export interface ControlMetricsRequest {
|
|
294
|
+
/**
|
|
295
|
+
* Options:
|
|
296
|
+
* - proto3_optional = true
|
|
297
|
+
*/
|
|
298
|
+
reset?: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Options:
|
|
301
|
+
* - proto3_optional = true
|
|
302
|
+
*/
|
|
303
|
+
record?: boolean;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Defined in:
|
|
307
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
308
|
+
*/
|
|
309
|
+
export interface ControlMetricsResponse {
|
|
310
|
+
/**
|
|
311
|
+
* Options:
|
|
312
|
+
* - proto3_optional = true
|
|
313
|
+
*/
|
|
314
|
+
recording?: boolean;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Defined in:
|
|
318
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
319
|
+
*/
|
|
320
|
+
export interface QueryMetricsRequest {
|
|
321
|
+
/**
|
|
322
|
+
* Options:
|
|
323
|
+
* - proto3_optional = true
|
|
324
|
+
*/
|
|
325
|
+
interval?: number;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Defined in:
|
|
329
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
330
|
+
*/
|
|
331
|
+
export interface QueryMetricsResponse {
|
|
332
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
333
|
+
metrics: Metrics;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Defined in:
|
|
337
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
338
|
+
*/
|
|
339
|
+
export enum LogLevel {
|
|
340
|
+
NONE = 0,
|
|
341
|
+
TRACE = 5,
|
|
342
|
+
DEBUG = 10,
|
|
343
|
+
VERBOSE = 11,
|
|
344
|
+
INFO = 12,
|
|
345
|
+
WARN = 13,
|
|
346
|
+
ERROR = 14
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Defined in:
|
|
350
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
351
|
+
*/
|
|
352
|
+
export interface QueryLogsRequest {
|
|
353
|
+
filters?: QueryLogsRequest.Filter[];
|
|
354
|
+
/**
|
|
355
|
+
* Options:
|
|
356
|
+
* - proto3_optional = true
|
|
357
|
+
*/
|
|
358
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
359
|
+
}
|
|
360
|
+
export namespace QueryLogsRequest {
|
|
361
|
+
/**
|
|
362
|
+
* Defined in:
|
|
363
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
364
|
+
*/
|
|
365
|
+
export enum MatchingOptions {
|
|
366
|
+
NONE = 0,
|
|
367
|
+
INCLUSIVE = 1,
|
|
368
|
+
EXPLICIT = 2
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Defined in:
|
|
372
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
373
|
+
*/
|
|
374
|
+
export interface Filter {
|
|
375
|
+
level: LogLevel;
|
|
376
|
+
/**
|
|
377
|
+
* Options:
|
|
378
|
+
* - proto3_optional = true
|
|
379
|
+
*/
|
|
380
|
+
pattern?: string;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Defined in:
|
|
385
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
386
|
+
*/
|
|
387
|
+
export interface LogEntry {
|
|
388
|
+
level: LogLevel;
|
|
389
|
+
message: string;
|
|
390
|
+
/**
|
|
391
|
+
* Options:
|
|
392
|
+
* - proto3_optional = true
|
|
393
|
+
*/
|
|
394
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
395
|
+
/**
|
|
396
|
+
* Options:
|
|
397
|
+
* - proto3_optional = true
|
|
398
|
+
*/
|
|
399
|
+
meta?: LogEntry.Meta;
|
|
400
|
+
/**
|
|
401
|
+
* Options:
|
|
402
|
+
* - proto3_optional = true
|
|
403
|
+
*/
|
|
404
|
+
error?: dxos_error.Error;
|
|
405
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
406
|
+
}
|
|
407
|
+
export namespace LogEntry {
|
|
408
|
+
/**
|
|
409
|
+
* Defined in:
|
|
410
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
411
|
+
*/
|
|
412
|
+
export interface Meta {
|
|
413
|
+
file: string;
|
|
414
|
+
line: number;
|
|
415
|
+
/**
|
|
416
|
+
* Options:
|
|
417
|
+
* - proto3_optional = true
|
|
418
|
+
*/
|
|
419
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
420
|
+
/**
|
|
421
|
+
* Options:
|
|
422
|
+
* - proto3_optional = true
|
|
423
|
+
*/
|
|
424
|
+
resourceId?: number;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Defined in:
|
|
429
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
430
|
+
*/
|
|
431
|
+
export interface LoggingService {
|
|
432
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
433
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
434
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
435
|
+
}
|
|
258
436
|
/**
|
|
259
437
|
* Defined in:
|
|
260
438
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -1105,181 +1283,3 @@ export namespace QueryAgentStatusResponse {
|
|
|
1105
1283
|
NOT_FOUND = 3
|
|
1106
1284
|
}
|
|
1107
1285
|
}
|
|
1108
|
-
/**
|
|
1109
|
-
* Defined in:
|
|
1110
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1111
|
-
*/
|
|
1112
|
-
export interface Metrics {
|
|
1113
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1114
|
-
values?: Metrics.KeyPair[];
|
|
1115
|
-
}
|
|
1116
|
-
export namespace Metrics {
|
|
1117
|
-
/**
|
|
1118
|
-
* Defined in:
|
|
1119
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1120
|
-
*/
|
|
1121
|
-
export interface KeyPair {
|
|
1122
|
-
/**
|
|
1123
|
-
* Options:
|
|
1124
|
-
* - proto3_optional = true
|
|
1125
|
-
*/
|
|
1126
|
-
key?: string;
|
|
1127
|
-
/**
|
|
1128
|
-
* Options:
|
|
1129
|
-
* - proto3_optional = true
|
|
1130
|
-
*/
|
|
1131
|
-
value?: dxos_value.Value;
|
|
1132
|
-
/**
|
|
1133
|
-
* Options:
|
|
1134
|
-
* - proto3_optional = true
|
|
1135
|
-
*/
|
|
1136
|
-
stats?: dxos_value.Stats;
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* Defined in:
|
|
1141
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1142
|
-
*/
|
|
1143
|
-
export interface ControlMetricsRequest {
|
|
1144
|
-
/**
|
|
1145
|
-
* Options:
|
|
1146
|
-
* - proto3_optional = true
|
|
1147
|
-
*/
|
|
1148
|
-
reset?: boolean;
|
|
1149
|
-
/**
|
|
1150
|
-
* Options:
|
|
1151
|
-
* - proto3_optional = true
|
|
1152
|
-
*/
|
|
1153
|
-
record?: boolean;
|
|
1154
|
-
}
|
|
1155
|
-
/**
|
|
1156
|
-
* Defined in:
|
|
1157
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1158
|
-
*/
|
|
1159
|
-
export interface ControlMetricsResponse {
|
|
1160
|
-
/**
|
|
1161
|
-
* Options:
|
|
1162
|
-
* - proto3_optional = true
|
|
1163
|
-
*/
|
|
1164
|
-
recording?: boolean;
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* Defined in:
|
|
1168
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1169
|
-
*/
|
|
1170
|
-
export interface QueryMetricsRequest {
|
|
1171
|
-
/**
|
|
1172
|
-
* Options:
|
|
1173
|
-
* - proto3_optional = true
|
|
1174
|
-
*/
|
|
1175
|
-
interval?: number;
|
|
1176
|
-
}
|
|
1177
|
-
/**
|
|
1178
|
-
* Defined in:
|
|
1179
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1180
|
-
*/
|
|
1181
|
-
export interface QueryMetricsResponse {
|
|
1182
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1183
|
-
metrics: Metrics;
|
|
1184
|
-
}
|
|
1185
|
-
/**
|
|
1186
|
-
* Defined in:
|
|
1187
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1188
|
-
*/
|
|
1189
|
-
export enum LogLevel {
|
|
1190
|
-
NONE = 0,
|
|
1191
|
-
TRACE = 5,
|
|
1192
|
-
DEBUG = 10,
|
|
1193
|
-
VERBOSE = 11,
|
|
1194
|
-
INFO = 12,
|
|
1195
|
-
WARN = 13,
|
|
1196
|
-
ERROR = 14
|
|
1197
|
-
}
|
|
1198
|
-
/**
|
|
1199
|
-
* Defined in:
|
|
1200
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1201
|
-
*/
|
|
1202
|
-
export interface QueryLogsRequest {
|
|
1203
|
-
filters?: QueryLogsRequest.Filter[];
|
|
1204
|
-
/**
|
|
1205
|
-
* Options:
|
|
1206
|
-
* - proto3_optional = true
|
|
1207
|
-
*/
|
|
1208
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
1209
|
-
}
|
|
1210
|
-
export namespace QueryLogsRequest {
|
|
1211
|
-
/**
|
|
1212
|
-
* Defined in:
|
|
1213
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1214
|
-
*/
|
|
1215
|
-
export enum MatchingOptions {
|
|
1216
|
-
NONE = 0,
|
|
1217
|
-
INCLUSIVE = 1,
|
|
1218
|
-
EXPLICIT = 2
|
|
1219
|
-
}
|
|
1220
|
-
/**
|
|
1221
|
-
* Defined in:
|
|
1222
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1223
|
-
*/
|
|
1224
|
-
export interface Filter {
|
|
1225
|
-
level: LogLevel;
|
|
1226
|
-
/**
|
|
1227
|
-
* Options:
|
|
1228
|
-
* - proto3_optional = true
|
|
1229
|
-
*/
|
|
1230
|
-
pattern?: string;
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
/**
|
|
1234
|
-
* Defined in:
|
|
1235
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1236
|
-
*/
|
|
1237
|
-
export interface LogEntry {
|
|
1238
|
-
level: LogLevel;
|
|
1239
|
-
message: string;
|
|
1240
|
-
/**
|
|
1241
|
-
* Options:
|
|
1242
|
-
* - proto3_optional = true
|
|
1243
|
-
*/
|
|
1244
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1245
|
-
/**
|
|
1246
|
-
* Options:
|
|
1247
|
-
* - proto3_optional = true
|
|
1248
|
-
*/
|
|
1249
|
-
meta?: LogEntry.Meta;
|
|
1250
|
-
/**
|
|
1251
|
-
* Options:
|
|
1252
|
-
* - proto3_optional = true
|
|
1253
|
-
*/
|
|
1254
|
-
error?: dxos_error.Error;
|
|
1255
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1256
|
-
}
|
|
1257
|
-
export namespace LogEntry {
|
|
1258
|
-
/**
|
|
1259
|
-
* Defined in:
|
|
1260
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1261
|
-
*/
|
|
1262
|
-
export interface Meta {
|
|
1263
|
-
file: string;
|
|
1264
|
-
line: number;
|
|
1265
|
-
/**
|
|
1266
|
-
* Options:
|
|
1267
|
-
* - proto3_optional = true
|
|
1268
|
-
*/
|
|
1269
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1270
|
-
/**
|
|
1271
|
-
* Options:
|
|
1272
|
-
* - proto3_optional = true
|
|
1273
|
-
*/
|
|
1274
|
-
resourceId?: number;
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
/**
|
|
1278
|
-
* Defined in:
|
|
1279
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
1280
|
-
*/
|
|
1281
|
-
export interface LoggingService {
|
|
1282
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1283
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1284
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1285
|
-
}
|
|
@@ -65,14 +65,6 @@ import * as example_testing_data from "../example/testing/data.js";
|
|
|
65
65
|
import * as example_testing_rpc from "../example/testing/rpc.js";
|
|
66
66
|
export interface Empty {
|
|
67
67
|
}
|
|
68
|
-
export interface Timestamp {
|
|
69
|
-
seconds: string;
|
|
70
|
-
nanos: number;
|
|
71
|
-
}
|
|
72
|
-
export interface Any {
|
|
73
|
-
type_url: string;
|
|
74
|
-
value: Uint8Array;
|
|
75
|
-
}
|
|
76
68
|
export interface Struct {
|
|
77
69
|
fields?: Partial<Record<string, Value>>;
|
|
78
70
|
}
|
|
@@ -90,6 +82,14 @@ export enum NullValue {
|
|
|
90
82
|
export interface ListValue {
|
|
91
83
|
values?: Value[];
|
|
92
84
|
}
|
|
85
|
+
export interface Timestamp {
|
|
86
|
+
seconds: string;
|
|
87
|
+
nanos: number;
|
|
88
|
+
}
|
|
89
|
+
export interface Any {
|
|
90
|
+
type_url: string;
|
|
91
|
+
value: Uint8Array;
|
|
92
|
+
}
|
|
93
93
|
export interface FileDescriptorSet {
|
|
94
94
|
file?: FileDescriptorProto[];
|
|
95
95
|
}
|