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