@dxos/protocols 0.7.5-feature-compute.4d9d99a → 0.7.5-labs.5f04cf6

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.
@@ -257,184 +257,6 @@ export namespace Invitation {
257
257
  EXPIRED = 9
258
258
  }
259
259
  }
260
- /**
261
- * Defined in:
262
- * {@link file://./../../../dxos/client/logging.proto}
263
- */
264
- export interface Metrics {
265
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
266
- values?: Metrics.KeyPair[];
267
- }
268
- export namespace Metrics {
269
- /**
270
- * Defined in:
271
- * {@link file://./../../../dxos/client/logging.proto}
272
- */
273
- export interface KeyPair {
274
- /**
275
- * Options:
276
- * - proto3_optional = true
277
- */
278
- key?: string;
279
- /**
280
- * Options:
281
- * - proto3_optional = true
282
- */
283
- value?: dxos_value.Value;
284
- /**
285
- * Options:
286
- * - proto3_optional = true
287
- */
288
- stats?: dxos_value.Stats;
289
- }
290
- }
291
- /**
292
- * Defined in:
293
- * {@link file://./../../../dxos/client/logging.proto}
294
- */
295
- export interface ControlMetricsRequest {
296
- /**
297
- * Options:
298
- * - proto3_optional = true
299
- */
300
- reset?: boolean;
301
- /**
302
- * Options:
303
- * - proto3_optional = true
304
- */
305
- record?: boolean;
306
- }
307
- /**
308
- * Defined in:
309
- * {@link file://./../../../dxos/client/logging.proto}
310
- */
311
- export interface ControlMetricsResponse {
312
- /**
313
- * Options:
314
- * - proto3_optional = true
315
- */
316
- recording?: boolean;
317
- }
318
- /**
319
- * Defined in:
320
- * {@link file://./../../../dxos/client/logging.proto}
321
- */
322
- export interface QueryMetricsRequest {
323
- /**
324
- * Options:
325
- * - proto3_optional = true
326
- */
327
- interval?: number;
328
- }
329
- /**
330
- * Defined in:
331
- * {@link file://./../../../dxos/client/logging.proto}
332
- */
333
- export interface QueryMetricsResponse {
334
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
335
- metrics: Metrics;
336
- }
337
- /**
338
- * Defined in:
339
- * {@link file://./../../../dxos/client/logging.proto}
340
- */
341
- export enum LogLevel {
342
- NONE = 0,
343
- TRACE = 5,
344
- DEBUG = 10,
345
- VERBOSE = 11,
346
- INFO = 12,
347
- WARN = 13,
348
- ERROR = 14
349
- }
350
- /**
351
- * Defined in:
352
- * {@link file://./../../../dxos/client/logging.proto}
353
- */
354
- export interface QueryLogsRequest {
355
- filters?: QueryLogsRequest.Filter[];
356
- /**
357
- * Options:
358
- * - proto3_optional = true
359
- */
360
- options?: QueryLogsRequest.MatchingOptions;
361
- }
362
- export namespace QueryLogsRequest {
363
- /**
364
- * Defined in:
365
- * {@link file://./../../../dxos/client/logging.proto}
366
- */
367
- export enum MatchingOptions {
368
- NONE = 0,
369
- INCLUSIVE = 1,
370
- EXPLICIT = 2
371
- }
372
- /**
373
- * Defined in:
374
- * {@link file://./../../../dxos/client/logging.proto}
375
- */
376
- export interface Filter {
377
- level: LogLevel;
378
- /**
379
- * Options:
380
- * - proto3_optional = true
381
- */
382
- pattern?: string;
383
- }
384
- }
385
- /**
386
- * Defined in:
387
- * {@link file://./../../../dxos/client/logging.proto}
388
- */
389
- export interface LogEntry {
390
- level: LogLevel;
391
- message: string;
392
- /**
393
- * Options:
394
- * - proto3_optional = true
395
- */
396
- context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
397
- /**
398
- * Options:
399
- * - proto3_optional = true
400
- */
401
- meta?: LogEntry.Meta;
402
- /**
403
- * Options:
404
- * - proto3_optional = true
405
- */
406
- error?: dxos_error.Error;
407
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
408
- }
409
- export namespace LogEntry {
410
- /**
411
- * Defined in:
412
- * {@link file://./../../../dxos/client/logging.proto}
413
- */
414
- export interface Meta {
415
- file: string;
416
- line: number;
417
- /**
418
- * Options:
419
- * - proto3_optional = true
420
- */
421
- scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
422
- /**
423
- * Options:
424
- * - proto3_optional = true
425
- */
426
- resourceId?: number;
427
- }
428
- }
429
- /**
430
- * Defined in:
431
- * {@link file://./../../../dxos/client/logging.proto}
432
- */
433
- export interface LoggingService {
434
- controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
435
- queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
436
- queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
437
- }
438
260
  /**
439
261
  * Defined in:
440
262
  * {@link file://./../../../dxos/client/services.proto}
@@ -1316,3 +1138,181 @@ export namespace QueryAgentStatusResponse {
1316
1138
  NOT_FOUND = 3
1317
1139
  }
1318
1140
  }
1141
+ /**
1142
+ * Defined in:
1143
+ * {@link file://./../../../dxos/client/logging.proto}
1144
+ */
1145
+ export interface Metrics {
1146
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1147
+ values?: Metrics.KeyPair[];
1148
+ }
1149
+ export namespace Metrics {
1150
+ /**
1151
+ * Defined in:
1152
+ * {@link file://./../../../dxos/client/logging.proto}
1153
+ */
1154
+ export interface KeyPair {
1155
+ /**
1156
+ * Options:
1157
+ * - proto3_optional = true
1158
+ */
1159
+ key?: string;
1160
+ /**
1161
+ * Options:
1162
+ * - proto3_optional = true
1163
+ */
1164
+ value?: dxos_value.Value;
1165
+ /**
1166
+ * Options:
1167
+ * - proto3_optional = true
1168
+ */
1169
+ stats?: dxos_value.Stats;
1170
+ }
1171
+ }
1172
+ /**
1173
+ * Defined in:
1174
+ * {@link file://./../../../dxos/client/logging.proto}
1175
+ */
1176
+ export interface ControlMetricsRequest {
1177
+ /**
1178
+ * Options:
1179
+ * - proto3_optional = true
1180
+ */
1181
+ reset?: boolean;
1182
+ /**
1183
+ * Options:
1184
+ * - proto3_optional = true
1185
+ */
1186
+ record?: boolean;
1187
+ }
1188
+ /**
1189
+ * Defined in:
1190
+ * {@link file://./../../../dxos/client/logging.proto}
1191
+ */
1192
+ export interface ControlMetricsResponse {
1193
+ /**
1194
+ * Options:
1195
+ * - proto3_optional = true
1196
+ */
1197
+ recording?: boolean;
1198
+ }
1199
+ /**
1200
+ * Defined in:
1201
+ * {@link file://./../../../dxos/client/logging.proto}
1202
+ */
1203
+ export interface QueryMetricsRequest {
1204
+ /**
1205
+ * Options:
1206
+ * - proto3_optional = true
1207
+ */
1208
+ interval?: number;
1209
+ }
1210
+ /**
1211
+ * Defined in:
1212
+ * {@link file://./../../../dxos/client/logging.proto}
1213
+ */
1214
+ export interface QueryMetricsResponse {
1215
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1216
+ metrics: Metrics;
1217
+ }
1218
+ /**
1219
+ * Defined in:
1220
+ * {@link file://./../../../dxos/client/logging.proto}
1221
+ */
1222
+ export enum LogLevel {
1223
+ NONE = 0,
1224
+ TRACE = 5,
1225
+ DEBUG = 10,
1226
+ VERBOSE = 11,
1227
+ INFO = 12,
1228
+ WARN = 13,
1229
+ ERROR = 14
1230
+ }
1231
+ /**
1232
+ * Defined in:
1233
+ * {@link file://./../../../dxos/client/logging.proto}
1234
+ */
1235
+ export interface QueryLogsRequest {
1236
+ filters?: QueryLogsRequest.Filter[];
1237
+ /**
1238
+ * Options:
1239
+ * - proto3_optional = true
1240
+ */
1241
+ options?: QueryLogsRequest.MatchingOptions;
1242
+ }
1243
+ export namespace QueryLogsRequest {
1244
+ /**
1245
+ * Defined in:
1246
+ * {@link file://./../../../dxos/client/logging.proto}
1247
+ */
1248
+ export enum MatchingOptions {
1249
+ NONE = 0,
1250
+ INCLUSIVE = 1,
1251
+ EXPLICIT = 2
1252
+ }
1253
+ /**
1254
+ * Defined in:
1255
+ * {@link file://./../../../dxos/client/logging.proto}
1256
+ */
1257
+ export interface Filter {
1258
+ level: LogLevel;
1259
+ /**
1260
+ * Options:
1261
+ * - proto3_optional = true
1262
+ */
1263
+ pattern?: string;
1264
+ }
1265
+ }
1266
+ /**
1267
+ * Defined in:
1268
+ * {@link file://./../../../dxos/client/logging.proto}
1269
+ */
1270
+ export interface LogEntry {
1271
+ level: LogLevel;
1272
+ message: string;
1273
+ /**
1274
+ * Options:
1275
+ * - proto3_optional = true
1276
+ */
1277
+ context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1278
+ /**
1279
+ * Options:
1280
+ * - proto3_optional = true
1281
+ */
1282
+ meta?: LogEntry.Meta;
1283
+ /**
1284
+ * Options:
1285
+ * - proto3_optional = true
1286
+ */
1287
+ error?: dxos_error.Error;
1288
+ timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1289
+ }
1290
+ export namespace LogEntry {
1291
+ /**
1292
+ * Defined in:
1293
+ * {@link file://./../../../dxos/client/logging.proto}
1294
+ */
1295
+ export interface Meta {
1296
+ file: string;
1297
+ line: number;
1298
+ /**
1299
+ * Options:
1300
+ * - proto3_optional = true
1301
+ */
1302
+ scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1303
+ /**
1304
+ * Options:
1305
+ * - proto3_optional = true
1306
+ */
1307
+ resourceId?: number;
1308
+ }
1309
+ }
1310
+ /**
1311
+ * Defined in:
1312
+ * {@link file://./../../../dxos/client/logging.proto}
1313
+ */
1314
+ export interface LoggingService {
1315
+ controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
1316
+ queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
1317
+ queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
1318
+ }
@@ -84,14 +84,14 @@ export enum NullValue {
84
84
  export interface ListValue {
85
85
  values?: Value[];
86
86
  }
87
- export interface Timestamp {
88
- seconds: string;
89
- nanos: number;
90
- }
91
87
  export interface Any {
92
88
  type_url: string;
93
89
  value: Uint8Array;
94
90
  }
91
+ export interface Timestamp {
92
+ seconds: string;
93
+ nanos: number;
94
+ }
95
95
  export interface FileDescriptorSet {
96
96
  file?: FileDescriptorProto[];
97
97
  }