@dxos/protocols 0.6.3 → 0.6.4
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 +177 -177
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +27 -27
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +177 -177
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +26 -26
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/package.json +6 -6
- package/src/proto/gen/dxos/client/services.ts +177 -177
|
@@ -247,183 +247,6 @@ export namespace Invitation {
|
|
|
247
247
|
EXPIRED = 9
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
/**
|
|
251
|
-
* Defined in:
|
|
252
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
253
|
-
*/
|
|
254
|
-
export interface Metrics {
|
|
255
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
256
|
-
values?: Metrics.KeyPair[];
|
|
257
|
-
}
|
|
258
|
-
export namespace Metrics {
|
|
259
|
-
/**
|
|
260
|
-
* Defined in:
|
|
261
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
262
|
-
*/
|
|
263
|
-
export interface KeyPair {
|
|
264
|
-
/**
|
|
265
|
-
* Options:
|
|
266
|
-
* - proto3_optional = true
|
|
267
|
-
*/
|
|
268
|
-
key?: string;
|
|
269
|
-
/**
|
|
270
|
-
* Options:
|
|
271
|
-
* - proto3_optional = true
|
|
272
|
-
*/
|
|
273
|
-
value?: dxos_value.Value;
|
|
274
|
-
/**
|
|
275
|
-
* Options:
|
|
276
|
-
* - proto3_optional = true
|
|
277
|
-
*/
|
|
278
|
-
stats?: dxos_value.Stats;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* Defined in:
|
|
283
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
284
|
-
*/
|
|
285
|
-
export interface ControlMetricsRequest {
|
|
286
|
-
/**
|
|
287
|
-
* Options:
|
|
288
|
-
* - proto3_optional = true
|
|
289
|
-
*/
|
|
290
|
-
reset?: boolean;
|
|
291
|
-
/**
|
|
292
|
-
* Options:
|
|
293
|
-
* - proto3_optional = true
|
|
294
|
-
*/
|
|
295
|
-
record?: boolean;
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Defined in:
|
|
299
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
300
|
-
*/
|
|
301
|
-
export interface ControlMetricsResponse {
|
|
302
|
-
/**
|
|
303
|
-
* Options:
|
|
304
|
-
* - proto3_optional = true
|
|
305
|
-
*/
|
|
306
|
-
recording?: boolean;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* Defined in:
|
|
310
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
311
|
-
*/
|
|
312
|
-
export interface QueryMetricsRequest {
|
|
313
|
-
/**
|
|
314
|
-
* Options:
|
|
315
|
-
* - proto3_optional = true
|
|
316
|
-
*/
|
|
317
|
-
interval?: number;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* Defined in:
|
|
321
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
322
|
-
*/
|
|
323
|
-
export interface QueryMetricsResponse {
|
|
324
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
325
|
-
metrics: Metrics;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Defined in:
|
|
329
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
330
|
-
*/
|
|
331
|
-
export enum LogLevel {
|
|
332
|
-
NONE = 0,
|
|
333
|
-
TRACE = 5,
|
|
334
|
-
DEBUG = 10,
|
|
335
|
-
INFO = 11,
|
|
336
|
-
WARN = 12,
|
|
337
|
-
ERROR = 13
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* Defined in:
|
|
341
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
342
|
-
*/
|
|
343
|
-
export interface QueryLogsRequest {
|
|
344
|
-
filters?: QueryLogsRequest.Filter[];
|
|
345
|
-
/**
|
|
346
|
-
* Options:
|
|
347
|
-
* - proto3_optional = true
|
|
348
|
-
*/
|
|
349
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
350
|
-
}
|
|
351
|
-
export namespace QueryLogsRequest {
|
|
352
|
-
/**
|
|
353
|
-
* Defined in:
|
|
354
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
355
|
-
*/
|
|
356
|
-
export enum MatchingOptions {
|
|
357
|
-
NONE = 0,
|
|
358
|
-
INCLUSIVE = 1,
|
|
359
|
-
EXPLICIT = 2
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Defined in:
|
|
363
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
364
|
-
*/
|
|
365
|
-
export interface Filter {
|
|
366
|
-
level: LogLevel;
|
|
367
|
-
/**
|
|
368
|
-
* Options:
|
|
369
|
-
* - proto3_optional = true
|
|
370
|
-
*/
|
|
371
|
-
pattern?: string;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Defined in:
|
|
376
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
377
|
-
*/
|
|
378
|
-
export interface LogEntry {
|
|
379
|
-
level: LogLevel;
|
|
380
|
-
message: string;
|
|
381
|
-
/**
|
|
382
|
-
* Options:
|
|
383
|
-
* - proto3_optional = true
|
|
384
|
-
*/
|
|
385
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
386
|
-
/**
|
|
387
|
-
* Options:
|
|
388
|
-
* - proto3_optional = true
|
|
389
|
-
*/
|
|
390
|
-
meta?: LogEntry.Meta;
|
|
391
|
-
/**
|
|
392
|
-
* Options:
|
|
393
|
-
* - proto3_optional = true
|
|
394
|
-
*/
|
|
395
|
-
error?: dxos_error.Error;
|
|
396
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
397
|
-
}
|
|
398
|
-
export namespace LogEntry {
|
|
399
|
-
/**
|
|
400
|
-
* Defined in:
|
|
401
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
402
|
-
*/
|
|
403
|
-
export interface Meta {
|
|
404
|
-
file: string;
|
|
405
|
-
line: number;
|
|
406
|
-
/**
|
|
407
|
-
* Options:
|
|
408
|
-
* - proto3_optional = true
|
|
409
|
-
*/
|
|
410
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
411
|
-
/**
|
|
412
|
-
* Options:
|
|
413
|
-
* - proto3_optional = true
|
|
414
|
-
*/
|
|
415
|
-
resourceId?: number;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
/**
|
|
419
|
-
* Defined in:
|
|
420
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
421
|
-
*/
|
|
422
|
-
export interface LoggingService {
|
|
423
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
424
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
425
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
426
|
-
}
|
|
427
250
|
/**
|
|
428
251
|
* Defined in:
|
|
429
252
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -1229,3 +1052,180 @@ export interface NetworkService {
|
|
|
1229
1052
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
1230
1053
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
1231
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* Defined in:
|
|
1057
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1058
|
+
*/
|
|
1059
|
+
export interface Metrics {
|
|
1060
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1061
|
+
values?: Metrics.KeyPair[];
|
|
1062
|
+
}
|
|
1063
|
+
export namespace Metrics {
|
|
1064
|
+
/**
|
|
1065
|
+
* Defined in:
|
|
1066
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1067
|
+
*/
|
|
1068
|
+
export interface KeyPair {
|
|
1069
|
+
/**
|
|
1070
|
+
* Options:
|
|
1071
|
+
* - proto3_optional = true
|
|
1072
|
+
*/
|
|
1073
|
+
key?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* Options:
|
|
1076
|
+
* - proto3_optional = true
|
|
1077
|
+
*/
|
|
1078
|
+
value?: dxos_value.Value;
|
|
1079
|
+
/**
|
|
1080
|
+
* Options:
|
|
1081
|
+
* - proto3_optional = true
|
|
1082
|
+
*/
|
|
1083
|
+
stats?: dxos_value.Stats;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Defined in:
|
|
1088
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1089
|
+
*/
|
|
1090
|
+
export interface ControlMetricsRequest {
|
|
1091
|
+
/**
|
|
1092
|
+
* Options:
|
|
1093
|
+
* - proto3_optional = true
|
|
1094
|
+
*/
|
|
1095
|
+
reset?: boolean;
|
|
1096
|
+
/**
|
|
1097
|
+
* Options:
|
|
1098
|
+
* - proto3_optional = true
|
|
1099
|
+
*/
|
|
1100
|
+
record?: boolean;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* Defined in:
|
|
1104
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1105
|
+
*/
|
|
1106
|
+
export interface ControlMetricsResponse {
|
|
1107
|
+
/**
|
|
1108
|
+
* Options:
|
|
1109
|
+
* - proto3_optional = true
|
|
1110
|
+
*/
|
|
1111
|
+
recording?: boolean;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* Defined in:
|
|
1115
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1116
|
+
*/
|
|
1117
|
+
export interface QueryMetricsRequest {
|
|
1118
|
+
/**
|
|
1119
|
+
* Options:
|
|
1120
|
+
* - proto3_optional = true
|
|
1121
|
+
*/
|
|
1122
|
+
interval?: number;
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Defined in:
|
|
1126
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1127
|
+
*/
|
|
1128
|
+
export interface QueryMetricsResponse {
|
|
1129
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1130
|
+
metrics: Metrics;
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* Defined in:
|
|
1134
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1135
|
+
*/
|
|
1136
|
+
export enum LogLevel {
|
|
1137
|
+
NONE = 0,
|
|
1138
|
+
TRACE = 5,
|
|
1139
|
+
DEBUG = 10,
|
|
1140
|
+
INFO = 11,
|
|
1141
|
+
WARN = 12,
|
|
1142
|
+
ERROR = 13
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Defined in:
|
|
1146
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1147
|
+
*/
|
|
1148
|
+
export interface QueryLogsRequest {
|
|
1149
|
+
filters?: QueryLogsRequest.Filter[];
|
|
1150
|
+
/**
|
|
1151
|
+
* Options:
|
|
1152
|
+
* - proto3_optional = true
|
|
1153
|
+
*/
|
|
1154
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
1155
|
+
}
|
|
1156
|
+
export namespace QueryLogsRequest {
|
|
1157
|
+
/**
|
|
1158
|
+
* Defined in:
|
|
1159
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1160
|
+
*/
|
|
1161
|
+
export enum MatchingOptions {
|
|
1162
|
+
NONE = 0,
|
|
1163
|
+
INCLUSIVE = 1,
|
|
1164
|
+
EXPLICIT = 2
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
* Defined in:
|
|
1168
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1169
|
+
*/
|
|
1170
|
+
export interface Filter {
|
|
1171
|
+
level: LogLevel;
|
|
1172
|
+
/**
|
|
1173
|
+
* Options:
|
|
1174
|
+
* - proto3_optional = true
|
|
1175
|
+
*/
|
|
1176
|
+
pattern?: string;
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
/**
|
|
1180
|
+
* Defined in:
|
|
1181
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1182
|
+
*/
|
|
1183
|
+
export interface LogEntry {
|
|
1184
|
+
level: LogLevel;
|
|
1185
|
+
message: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Options:
|
|
1188
|
+
* - proto3_optional = true
|
|
1189
|
+
*/
|
|
1190
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Options:
|
|
1193
|
+
* - proto3_optional = true
|
|
1194
|
+
*/
|
|
1195
|
+
meta?: LogEntry.Meta;
|
|
1196
|
+
/**
|
|
1197
|
+
* Options:
|
|
1198
|
+
* - proto3_optional = true
|
|
1199
|
+
*/
|
|
1200
|
+
error?: dxos_error.Error;
|
|
1201
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1202
|
+
}
|
|
1203
|
+
export namespace LogEntry {
|
|
1204
|
+
/**
|
|
1205
|
+
* Defined in:
|
|
1206
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1207
|
+
*/
|
|
1208
|
+
export interface Meta {
|
|
1209
|
+
file: string;
|
|
1210
|
+
line: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* Options:
|
|
1213
|
+
* - proto3_optional = true
|
|
1214
|
+
*/
|
|
1215
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1216
|
+
/**
|
|
1217
|
+
* Options:
|
|
1218
|
+
* - proto3_optional = true
|
|
1219
|
+
*/
|
|
1220
|
+
resourceId?: number;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Defined in:
|
|
1225
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1226
|
+
*/
|
|
1227
|
+
export interface LoggingService {
|
|
1228
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1229
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1230
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1231
|
+
}
|