@dxos/protocols 0.3.7-main.8f93ef7 → 0.3.7-main.bfe6796
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/agent/dashboard.d.ts +3 -3
- package/dist/cjs/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/agent/functions.d.ts +3 -2
- package/dist/cjs/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/bot.d.ts +14 -14
- package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +205 -205
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +25 -25
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +24 -24
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts +4 -4
- package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts +5 -4
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +5 -4
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts +5 -5
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts +4 -4
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -2
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -2
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +2 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +2 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +4 -3
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts +4 -3
- package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts +6 -5
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/tunnel.d.ts +3 -2
- package/dist/cjs/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts +2 -2
- package/dist/cjs/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts +8 -8
- package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts +3 -3
- package/dist/esm/src/proto/gen/dxos/agent/dashboard.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/functions.d.ts +3 -2
- package/dist/esm/src/proto/gen/dxos/agent/functions.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/bot.d.ts +14 -14
- package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +205 -205
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +24 -24
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +24 -24
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/service.d.ts +4 -4
- package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts +5 -4
- package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts +5 -4
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts +5 -5
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts +4 -4
- package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts +2 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts +3 -2
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/blobsync.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts +3 -2
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts +2 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts +2 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +4 -3
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts +4 -3
- package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts +6 -5
- package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/tunnel.d.ts +3 -2
- package/dist/esm/src/proto/gen/dxos/service/tunnel.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts +2 -2
- package/dist/esm/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/example/testing/rpc.d.ts +8 -8
- package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/proto/gen/dxos/agent/dashboard.ts +3 -3
- package/src/proto/gen/dxos/agent/echoproxy.ts +1 -1
- package/src/proto/gen/dxos/agent/epoch.ts +1 -1
- package/src/proto/gen/dxos/agent/functions.ts +3 -3
- package/src/proto/gen/dxos/agent/query.ts +1 -1
- package/src/proto/gen/dxos/bot.ts +14 -14
- package/src/proto/gen/dxos/client/services.ts +205 -205
- package/src/proto/gen/dxos/config.ts +1 -1
- package/src/proto/gen/dxos/devtools/host.ts +24 -24
- package/src/proto/gen/dxos/devtools/swarm.ts +1 -1
- package/src/proto/gen/dxos/echo/blob.ts +1 -1
- package/src/proto/gen/dxos/echo/feed.ts +1 -1
- package/src/proto/gen/dxos/echo/filter.ts +1 -1
- package/src/proto/gen/dxos/echo/metadata.ts +1 -1
- package/src/proto/gen/dxos/echo/model/document.ts +1 -1
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -1
- package/src/proto/gen/dxos/echo/model/text.ts +1 -1
- package/src/proto/gen/dxos/echo/object.ts +1 -1
- package/src/proto/gen/dxos/echo/service.ts +4 -4
- package/src/proto/gen/dxos/echo/snapshot.ts +1 -1
- package/src/proto/gen/dxos/echo/timeframe.ts +1 -1
- package/src/proto/gen/dxos/error.ts +1 -1
- package/src/proto/gen/dxos/gravity.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -1
- package/src/proto/gen/dxos/halo/credentials.ts +1 -1
- package/src/proto/gen/dxos/halo/invitations.ts +5 -5
- package/src/proto/gen/dxos/halo/keyring.ts +1 -1
- package/src/proto/gen/dxos/halo/keys.ts +1 -1
- package/src/proto/gen/dxos/halo/signed.ts +1 -1
- package/src/proto/gen/dxos/iframe.ts +5 -5
- package/src/proto/gen/dxos/keys.ts +1 -1
- package/src/proto/gen/dxos/mesh/bridge.ts +5 -5
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -1
- package/src/proto/gen/dxos/mesh/messaging.ts +1 -1
- package/src/proto/gen/dxos/mesh/muxer.ts +1 -1
- package/src/proto/gen/dxos/mesh/presence.ts +1 -1
- package/src/proto/gen/dxos/mesh/protocol.ts +1 -1
- package/src/proto/gen/dxos/mesh/replicator.ts +1 -1
- package/src/proto/gen/dxos/mesh/signal.ts +4 -4
- package/src/proto/gen/dxos/mesh/swarm.ts +1 -1
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +2 -2
- package/src/proto/gen/dxos/mesh/teleport/blobsync.ts +3 -3
- package/src/proto/gen/dxos/mesh/teleport/control.ts +3 -3
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +2 -2
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +2 -2
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +4 -4
- package/src/proto/gen/dxos/registry.ts +1 -1
- package/src/proto/gen/dxos/rpc.ts +1 -1
- package/src/proto/gen/dxos/service/publisher.ts +4 -4
- package/src/proto/gen/dxos/service/supervisor.ts +6 -6
- package/src/proto/gen/dxos/service/tunnel.ts +3 -3
- package/src/proto/gen/dxos/tracing.ts +2 -2
- package/src/proto/gen/dxos/type.ts +1 -1
- package/src/proto/gen/dxos/value.ts +1 -1
- package/src/proto/gen/example/testing/data.ts +1 -1
- package/src/proto/gen/example/testing/rpc.ts +8 -8
- package/src/proto/gen/google/protobuf.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Stream } from "@dxos/codec-protobuf";
|
|
1
|
+
import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
|
|
2
2
|
import * as dxos_config from "../config";
|
|
3
3
|
/**
|
|
4
4
|
* Defined in:
|
|
@@ -51,7 +51,7 @@ export interface PluginState {
|
|
|
51
51
|
* {@link file://./../../../dxos/agent/dashboard.proto}
|
|
52
52
|
*/
|
|
53
53
|
export interface DashboardService {
|
|
54
|
-
status: (request: void) => Stream<AgentStatus>;
|
|
55
|
-
changePluginConfig: (request: PluginState) => Promise<void>;
|
|
54
|
+
status: (request: void, options?: RequestOptions) => Stream<AgentStatus>;
|
|
55
|
+
changePluginConfig: (request: PluginState, options?: RequestOptions) => Promise<void>;
|
|
56
56
|
}
|
|
57
57
|
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/dashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAQnE,OAAO,KAAK,WAAW,MAAM,WAAW,CAAC;AAoDzC;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;CAC3B;AACD,yBAAiB,WAAW,CAAC;IACzB;;;OAGG;IACH,KAAY,MAAM;QACd,EAAE,IAAI;QACN,GAAG,IAAI;KACV;IACD;;;OAGG;IACH,UAAiB,MAAM;QACnB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KACpB;CACJ;AACD;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;CAC5C;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,MAAM,CAAC,WAAW,CAAC,CAAC;IACzE,kBAAkB,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACzF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RequestOptions } from "@dxos/codec-protobuf";
|
|
1
2
|
/**
|
|
2
3
|
* Defined in:
|
|
3
4
|
* {@link file://./../../../dxos/agent/functions.proto}
|
|
@@ -43,7 +44,7 @@ export interface UnregisterRequest {
|
|
|
43
44
|
* {@link file://./../../../dxos/agent/functions.proto}
|
|
44
45
|
*/
|
|
45
46
|
export interface FunctionRegistryService {
|
|
46
|
-
register: (request: RegisterRequest) => Promise<RegisterResponse>;
|
|
47
|
-
unregister: (request: UnregisterRequest) => Promise<void>;
|
|
47
|
+
register: (request: RegisterRequest, options?: RequestOptions) => Promise<RegisterResponse>;
|
|
48
|
+
unregister: (request: UnregisterRequest, options?: RequestOptions) => Promise<void>;
|
|
48
49
|
}
|
|
49
50
|
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/functions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../../../src/proto/gen/dxos/agent/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA4DnE;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AACD;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,cAAc,EAAE,MAAM,CAAC;CAC1B;AACD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5F,UAAU,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACvF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Stream } from "@dxos/codec-protobuf";
|
|
1
|
+
import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
|
|
2
2
|
import substitutions from "../../substitutions";
|
|
3
3
|
import * as dxos_client_services from "./client/services";
|
|
4
4
|
import * as dxos_config from "./config";
|
|
@@ -190,14 +190,14 @@ export interface BotReport {
|
|
|
190
190
|
* {@link file://./../../dxos/bot.proto}
|
|
191
191
|
*/
|
|
192
192
|
export interface BotFactoryService {
|
|
193
|
-
getBots: (request: void) => Promise<GetBotsResponse>;
|
|
194
|
-
spawnBot: (request: SpawnBotRequest) => Promise<Bot>;
|
|
195
|
-
start: (request: Bot) => Promise<Bot>;
|
|
196
|
-
stop: (request: Bot) => Promise<Bot>;
|
|
197
|
-
remove: (request: Bot) => Promise<void>;
|
|
198
|
-
getLogs: (request: GetLogsRequest) => Stream<GetLogsResponse>;
|
|
199
|
-
sendCommand: (request: SendCommandRequest) => Promise<SendCommandResponse>;
|
|
200
|
-
removeAll: (request: void) => Promise<void>;
|
|
193
|
+
getBots: (request: void, options?: RequestOptions) => Promise<GetBotsResponse>;
|
|
194
|
+
spawnBot: (request: SpawnBotRequest, options?: RequestOptions) => Promise<Bot>;
|
|
195
|
+
start: (request: Bot, options?: RequestOptions) => Promise<Bot>;
|
|
196
|
+
stop: (request: Bot, options?: RequestOptions) => Promise<Bot>;
|
|
197
|
+
remove: (request: Bot, options?: RequestOptions) => Promise<void>;
|
|
198
|
+
getLogs: (request: GetLogsRequest, options?: RequestOptions) => Stream<GetLogsResponse>;
|
|
199
|
+
sendCommand: (request: SendCommandRequest, options?: RequestOptions) => Promise<SendCommandResponse>;
|
|
200
|
+
removeAll: (request: void, options?: RequestOptions) => Promise<void>;
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
203
|
* Defined in:
|
|
@@ -246,22 +246,22 @@ export interface BotService {
|
|
|
246
246
|
/**
|
|
247
247
|
* Initialize Client, create profile, and join a space.
|
|
248
248
|
*/
|
|
249
|
-
initialize: (request: InitializeRequest) => Promise<void>;
|
|
249
|
+
initialize: (request: InitializeRequest, options?: RequestOptions) => Promise<void>;
|
|
250
250
|
/**
|
|
251
251
|
* Start an initialized bot.
|
|
252
252
|
*/
|
|
253
|
-
start: (request: StartRequest) => Promise<void>;
|
|
253
|
+
start: (request: StartRequest, options?: RequestOptions) => Promise<void>;
|
|
254
254
|
/**
|
|
255
255
|
* Custom commands sent to the bot factory.
|
|
256
256
|
*/
|
|
257
|
-
command: (request: SendCommandRequest) => Promise<SendCommandResponse>;
|
|
257
|
+
command: (request: SendCommandRequest, options?: RequestOptions) => Promise<SendCommandResponse>;
|
|
258
258
|
/**
|
|
259
259
|
* Stop the bot.
|
|
260
260
|
*/
|
|
261
|
-
stop: (request: void) => Promise<void>;
|
|
261
|
+
stop: (request: void, options?: RequestOptions) => Promise<void>;
|
|
262
262
|
/**
|
|
263
263
|
* Send periodic reports of the bot's state.
|
|
264
264
|
*/
|
|
265
|
-
startReporting: (request: void) => Stream<BotReport>;
|
|
265
|
+
startReporting: (request: void, options?: RequestOptions) => Stream<BotReport>;
|
|
266
266
|
}
|
|
267
267
|
//# sourceMappingURL=bot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/bot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"bot.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/bot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAMhD,OAAO,KAAK,oBAAoB,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,WAAW,MAAM,UAAU,CAAC;AAoDxC;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,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AEG;IACH,IAAI,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE;;OAEG;IACH,cAAc,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE,cAAc,KAAK,MAAM,CAAC,SAAS,CAAC,CAAC;CAClF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Stream } from "@dxos/codec-protobuf";
|
|
1
|
+
import type { Stream, RequestOptions } from "@dxos/codec-protobuf";
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_config from "../config";
|
|
4
4
|
import * as dxos_echo_metadata from "../echo/metadata";
|
|
@@ -8,6 +8,181 @@ import * as dxos_mesh_presence from "../mesh/presence";
|
|
|
8
8
|
import * as dxos_mesh_signal from "../mesh/signal";
|
|
9
9
|
import * as dxos_mesh_teleport_gossip from "../mesh/teleport/gossip";
|
|
10
10
|
import * as dxos_value from "../value";
|
|
11
|
+
/**
|
|
12
|
+
* Defined in:
|
|
13
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
14
|
+
*/
|
|
15
|
+
export interface Metrics {
|
|
16
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
17
|
+
values?: Metrics.KeyPair[];
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Metrics {
|
|
20
|
+
/**
|
|
21
|
+
* Defined in:
|
|
22
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
23
|
+
*/
|
|
24
|
+
interface KeyPair {
|
|
25
|
+
/**
|
|
26
|
+
* Options:
|
|
27
|
+
* - proto3_optional = true
|
|
28
|
+
*/
|
|
29
|
+
key?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Options:
|
|
32
|
+
* - proto3_optional = true
|
|
33
|
+
*/
|
|
34
|
+
value?: dxos_value.Value;
|
|
35
|
+
/**
|
|
36
|
+
* Options:
|
|
37
|
+
* - proto3_optional = true
|
|
38
|
+
*/
|
|
39
|
+
stats?: dxos_value.Stats;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface ControlMetricsRequest {
|
|
47
|
+
/**
|
|
48
|
+
* Options:
|
|
49
|
+
* - proto3_optional = true
|
|
50
|
+
*/
|
|
51
|
+
reset?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Options:
|
|
54
|
+
* - proto3_optional = true
|
|
55
|
+
*/
|
|
56
|
+
record?: boolean;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Defined in:
|
|
60
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
61
|
+
*/
|
|
62
|
+
export interface ControlMetricsResponse {
|
|
63
|
+
/**
|
|
64
|
+
* Options:
|
|
65
|
+
* - proto3_optional = true
|
|
66
|
+
*/
|
|
67
|
+
recording?: boolean;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Defined in:
|
|
71
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
72
|
+
*/
|
|
73
|
+
export interface QueryMetricsRequest {
|
|
74
|
+
/**
|
|
75
|
+
* Options:
|
|
76
|
+
* - proto3_optional = true
|
|
77
|
+
*/
|
|
78
|
+
interval?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Defined in:
|
|
82
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
83
|
+
*/
|
|
84
|
+
export interface QueryMetricsResponse {
|
|
85
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
86
|
+
metrics: Metrics;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Defined in:
|
|
90
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
91
|
+
*/
|
|
92
|
+
export declare enum LogLevel {
|
|
93
|
+
TRACE = 5,
|
|
94
|
+
DEBUG = 10,
|
|
95
|
+
INFO = 11,
|
|
96
|
+
WARN = 12,
|
|
97
|
+
ERROR = 13
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Defined in:
|
|
101
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
102
|
+
*/
|
|
103
|
+
export interface QueryLogsRequest {
|
|
104
|
+
filters?: QueryLogsRequest.Filter[];
|
|
105
|
+
/**
|
|
106
|
+
* Options:
|
|
107
|
+
* - proto3_optional = true
|
|
108
|
+
*/
|
|
109
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace QueryLogsRequest {
|
|
112
|
+
/**
|
|
113
|
+
* Defined in:
|
|
114
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
115
|
+
*/
|
|
116
|
+
enum MatchingOptions {
|
|
117
|
+
INCLUSIVE = 1,
|
|
118
|
+
EXPLICIT = 2
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Defined in:
|
|
122
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
123
|
+
*/
|
|
124
|
+
interface Filter {
|
|
125
|
+
level: LogLevel;
|
|
126
|
+
/**
|
|
127
|
+
* Options:
|
|
128
|
+
* - proto3_optional = true
|
|
129
|
+
*/
|
|
130
|
+
pattern?: string;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Defined in:
|
|
135
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
136
|
+
*/
|
|
137
|
+
export interface LogEntry {
|
|
138
|
+
level: LogLevel;
|
|
139
|
+
message: string;
|
|
140
|
+
/**
|
|
141
|
+
* Options:
|
|
142
|
+
* - proto3_optional = true
|
|
143
|
+
*/
|
|
144
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
145
|
+
/**
|
|
146
|
+
* Options:
|
|
147
|
+
* - proto3_optional = true
|
|
148
|
+
*/
|
|
149
|
+
meta?: LogEntry.Meta;
|
|
150
|
+
/**
|
|
151
|
+
* Options:
|
|
152
|
+
* - proto3_optional = true
|
|
153
|
+
*/
|
|
154
|
+
error?: dxos_error.Error;
|
|
155
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace LogEntry {
|
|
158
|
+
/**
|
|
159
|
+
* Defined in:
|
|
160
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
161
|
+
*/
|
|
162
|
+
interface Meta {
|
|
163
|
+
file: string;
|
|
164
|
+
line: number;
|
|
165
|
+
/**
|
|
166
|
+
* Options:
|
|
167
|
+
* - proto3_optional = true
|
|
168
|
+
*/
|
|
169
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
170
|
+
/**
|
|
171
|
+
* Options:
|
|
172
|
+
* - proto3_optional = true
|
|
173
|
+
*/
|
|
174
|
+
resourceId?: number;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Defined in:
|
|
179
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
180
|
+
*/
|
|
181
|
+
export interface LoggingService {
|
|
182
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
183
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
184
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
185
|
+
}
|
|
11
186
|
/**
|
|
12
187
|
* Defined in:
|
|
13
188
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -79,23 +254,23 @@ export interface SystemService {
|
|
|
79
254
|
/**
|
|
80
255
|
* Get the static config of the client.
|
|
81
256
|
*/
|
|
82
|
-
getConfig: (request: void) => Promise<dxos_config.Config>;
|
|
257
|
+
getConfig: (request: void, options?: RequestOptions) => Promise<dxos_config.Config>;
|
|
83
258
|
/**
|
|
84
259
|
* Get the diagnostics snapshot.
|
|
85
260
|
*/
|
|
86
|
-
getDiagnostics: (request: GetDiagnosticsRequest) => Promise<GetDiagnosticsResponse>;
|
|
261
|
+
getDiagnostics: (request: GetDiagnosticsRequest, options?: RequestOptions) => Promise<GetDiagnosticsResponse>;
|
|
87
262
|
/**
|
|
88
263
|
* Update the status of the client. Used to re-activate an inactive client.
|
|
89
264
|
*/
|
|
90
|
-
updateStatus: (request: UpdateStatusRequest) => Promise<void>;
|
|
265
|
+
updateStatus: (request: UpdateStatusRequest, options?: RequestOptions) => Promise<void>;
|
|
91
266
|
/**
|
|
92
267
|
* Stream the status of the client.
|
|
93
268
|
*/
|
|
94
|
-
queryStatus: (request: QueryStatusRequest) => Stream<QueryStatusResponse>;
|
|
269
|
+
queryStatus: (request: QueryStatusRequest, options?: RequestOptions) => Stream<QueryStatusResponse>;
|
|
95
270
|
/**
|
|
96
271
|
* Reset the client.
|
|
97
272
|
*/
|
|
98
|
-
reset: (request: void) => Promise<void>;
|
|
273
|
+
reset: (request: void, options?: RequestOptions) => Promise<void>;
|
|
99
274
|
}
|
|
100
275
|
/**
|
|
101
276
|
* Defined in:
|
|
@@ -149,11 +324,11 @@ export interface SignPresentationRequest {
|
|
|
149
324
|
* {@link file://./../../../dxos/client/services.proto}
|
|
150
325
|
*/
|
|
151
326
|
export interface IdentityService {
|
|
152
|
-
createIdentity: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
|
|
153
|
-
recoverIdentity: (request: RecoverIdentityRequest) => Promise<Identity>;
|
|
154
|
-
queryIdentity: (request: void) => Stream<QueryIdentityResponse>;
|
|
155
|
-
updateProfile: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
|
|
156
|
-
signPresentation: (request: SignPresentationRequest) => Promise<dxos_halo_credentials.Presentation>;
|
|
327
|
+
createIdentity: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
328
|
+
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
329
|
+
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
330
|
+
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
331
|
+
signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
|
|
157
332
|
}
|
|
158
333
|
/**
|
|
159
334
|
* Defined in:
|
|
@@ -188,8 +363,8 @@ export interface QueryDevicesResponse {
|
|
|
188
363
|
* {@link file://./../../../dxos/client/services.proto}
|
|
189
364
|
*/
|
|
190
365
|
export interface DevicesService {
|
|
191
|
-
updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument) => Promise<Device>;
|
|
192
|
-
queryDevices: (request: void) => Stream<QueryDevicesResponse>;
|
|
366
|
+
updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument, options?: RequestOptions) => Promise<Device>;
|
|
367
|
+
queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
|
|
193
368
|
}
|
|
194
369
|
/**
|
|
195
370
|
* Defined in:
|
|
@@ -203,8 +378,8 @@ export interface Contact {
|
|
|
203
378
|
* {@link file://./../../../dxos/client/services.proto}
|
|
204
379
|
*/
|
|
205
380
|
export interface ContactsService {
|
|
206
|
-
updateContact: (request: void) => Promise<Contact>;
|
|
207
|
-
queryContacts: (request: void) => Stream<Contact>;
|
|
381
|
+
updateContact: (request: void, options?: RequestOptions) => Promise<Contact>;
|
|
382
|
+
queryContacts: (request: void, options?: RequestOptions) => Stream<Contact>;
|
|
208
383
|
}
|
|
209
384
|
/**
|
|
210
385
|
* Defined in:
|
|
@@ -477,26 +652,26 @@ export interface CreateEpochRequest {
|
|
|
477
652
|
* {@link file://./../../../dxos/client/services.proto}
|
|
478
653
|
*/
|
|
479
654
|
export interface SpacesService {
|
|
480
|
-
createSpace: (request: void) => Promise<Space>;
|
|
481
|
-
updateSpace: (request: UpdateSpaceRequest) => Promise<void>;
|
|
482
|
-
querySpaces: (request: void) => Stream<QuerySpacesResponse>;
|
|
655
|
+
createSpace: (request: void, options?: RequestOptions) => Promise<Space>;
|
|
656
|
+
updateSpace: (request: UpdateSpaceRequest, options?: RequestOptions) => Promise<void>;
|
|
657
|
+
querySpaces: (request: void, options?: RequestOptions) => Stream<QuerySpacesResponse>;
|
|
483
658
|
/**
|
|
484
659
|
* Broadcast an ephemeral message to the space swarm.
|
|
485
660
|
*/
|
|
486
|
-
postMessage: (request: PostMessageRequest) => Promise<void>;
|
|
661
|
+
postMessage: (request: PostMessageRequest, options?: RequestOptions) => Promise<void>;
|
|
487
662
|
/**
|
|
488
663
|
* Subscribe to messages from the space swarm.
|
|
489
664
|
*/
|
|
490
|
-
subscribeMessages: (request: SubscribeMessagesRequest) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
|
|
665
|
+
subscribeMessages: (request: SubscribeMessagesRequest, options?: RequestOptions) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
|
|
491
666
|
/**
|
|
492
667
|
* Write credentials to the space control feed.
|
|
493
668
|
*/
|
|
494
|
-
writeCredentials: (request: WriteCredentialsRequest) => Promise<void>;
|
|
669
|
+
writeCredentials: (request: WriteCredentialsRequest, options?: RequestOptions) => Promise<void>;
|
|
495
670
|
/**
|
|
496
671
|
* Query credentials from the space control feed.
|
|
497
672
|
*/
|
|
498
|
-
queryCredentials: (request: QueryCredentialsRequest) => Stream<dxos_halo_credentials.Credential>;
|
|
499
|
-
createEpoch: (request: CreateEpochRequest) => Promise<void>;
|
|
673
|
+
queryCredentials: (request: QueryCredentialsRequest, options?: RequestOptions) => Stream<dxos_halo_credentials.Credential>;
|
|
674
|
+
createEpoch: (request: CreateEpochRequest, options?: RequestOptions) => Promise<void>;
|
|
500
675
|
}
|
|
501
676
|
/**
|
|
502
677
|
* Represents the invitation state passed between client and service.
|
|
@@ -655,11 +830,11 @@ export declare namespace QueryInvitationsResponse {
|
|
|
655
830
|
* {@link file://./../../../dxos/client/services.proto}
|
|
656
831
|
*/
|
|
657
832
|
export interface InvitationsService {
|
|
658
|
-
createInvitation: (request: Invitation) => Stream<Invitation>;
|
|
659
|
-
acceptInvitation: (request: Invitation) => Stream<Invitation>;
|
|
660
|
-
authenticate: (request: AuthenticationRequest) => Promise<void>;
|
|
661
|
-
cancelInvitation: (request: CancelInvitationRequest) => Promise<void>;
|
|
662
|
-
queryInvitations: (request: void) => Stream<QueryInvitationsResponse>;
|
|
833
|
+
createInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
834
|
+
acceptInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
835
|
+
authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
|
|
836
|
+
cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
|
|
837
|
+
queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
|
|
663
838
|
}
|
|
664
839
|
/**
|
|
665
840
|
* Defined in:
|
|
@@ -699,182 +874,7 @@ export interface UpdateConfigRequest {
|
|
|
699
874
|
* {@link file://./../../../dxos/client/services.proto}
|
|
700
875
|
*/
|
|
701
876
|
export interface NetworkService {
|
|
702
|
-
updateConfig: (request: UpdateConfigRequest) => Promise<void>;
|
|
703
|
-
queryStatus: (request: void) => Stream<NetworkStatus>;
|
|
704
|
-
}
|
|
705
|
-
/**
|
|
706
|
-
* Defined in:
|
|
707
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
708
|
-
*/
|
|
709
|
-
export interface Metrics {
|
|
710
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
711
|
-
values?: Metrics.KeyPair[];
|
|
712
|
-
}
|
|
713
|
-
export declare namespace Metrics {
|
|
714
|
-
/**
|
|
715
|
-
* Defined in:
|
|
716
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
717
|
-
*/
|
|
718
|
-
interface KeyPair {
|
|
719
|
-
/**
|
|
720
|
-
* Options:
|
|
721
|
-
* - proto3_optional = true
|
|
722
|
-
*/
|
|
723
|
-
key?: string;
|
|
724
|
-
/**
|
|
725
|
-
* Options:
|
|
726
|
-
* - proto3_optional = true
|
|
727
|
-
*/
|
|
728
|
-
value?: dxos_value.Value;
|
|
729
|
-
/**
|
|
730
|
-
* Options:
|
|
731
|
-
* - proto3_optional = true
|
|
732
|
-
*/
|
|
733
|
-
stats?: dxos_value.Stats;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
/**
|
|
737
|
-
* Defined in:
|
|
738
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
739
|
-
*/
|
|
740
|
-
export interface ControlMetricsRequest {
|
|
741
|
-
/**
|
|
742
|
-
* Options:
|
|
743
|
-
* - proto3_optional = true
|
|
744
|
-
*/
|
|
745
|
-
reset?: boolean;
|
|
746
|
-
/**
|
|
747
|
-
* Options:
|
|
748
|
-
* - proto3_optional = true
|
|
749
|
-
*/
|
|
750
|
-
record?: boolean;
|
|
751
|
-
}
|
|
752
|
-
/**
|
|
753
|
-
* Defined in:
|
|
754
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
755
|
-
*/
|
|
756
|
-
export interface ControlMetricsResponse {
|
|
757
|
-
/**
|
|
758
|
-
* Options:
|
|
759
|
-
* - proto3_optional = true
|
|
760
|
-
*/
|
|
761
|
-
recording?: boolean;
|
|
762
|
-
}
|
|
763
|
-
/**
|
|
764
|
-
* Defined in:
|
|
765
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
766
|
-
*/
|
|
767
|
-
export interface QueryMetricsRequest {
|
|
768
|
-
/**
|
|
769
|
-
* Options:
|
|
770
|
-
* - proto3_optional = true
|
|
771
|
-
*/
|
|
772
|
-
interval?: number;
|
|
773
|
-
}
|
|
774
|
-
/**
|
|
775
|
-
* Defined in:
|
|
776
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
777
|
-
*/
|
|
778
|
-
export interface QueryMetricsResponse {
|
|
779
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
780
|
-
metrics: Metrics;
|
|
781
|
-
}
|
|
782
|
-
/**
|
|
783
|
-
* Defined in:
|
|
784
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
785
|
-
*/
|
|
786
|
-
export declare enum LogLevel {
|
|
787
|
-
TRACE = 5,
|
|
788
|
-
DEBUG = 10,
|
|
789
|
-
INFO = 11,
|
|
790
|
-
WARN = 12,
|
|
791
|
-
ERROR = 13
|
|
792
|
-
}
|
|
793
|
-
/**
|
|
794
|
-
* Defined in:
|
|
795
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
796
|
-
*/
|
|
797
|
-
export interface QueryLogsRequest {
|
|
798
|
-
filters?: QueryLogsRequest.Filter[];
|
|
799
|
-
/**
|
|
800
|
-
* Options:
|
|
801
|
-
* - proto3_optional = true
|
|
802
|
-
*/
|
|
803
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
804
|
-
}
|
|
805
|
-
export declare namespace QueryLogsRequest {
|
|
806
|
-
/**
|
|
807
|
-
* Defined in:
|
|
808
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
809
|
-
*/
|
|
810
|
-
enum MatchingOptions {
|
|
811
|
-
INCLUSIVE = 1,
|
|
812
|
-
EXPLICIT = 2
|
|
813
|
-
}
|
|
814
|
-
/**
|
|
815
|
-
* Defined in:
|
|
816
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
817
|
-
*/
|
|
818
|
-
interface Filter {
|
|
819
|
-
level: LogLevel;
|
|
820
|
-
/**
|
|
821
|
-
* Options:
|
|
822
|
-
* - proto3_optional = true
|
|
823
|
-
*/
|
|
824
|
-
pattern?: string;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* Defined in:
|
|
829
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
830
|
-
*/
|
|
831
|
-
export interface LogEntry {
|
|
832
|
-
level: LogLevel;
|
|
833
|
-
message: string;
|
|
834
|
-
/**
|
|
835
|
-
* Options:
|
|
836
|
-
* - proto3_optional = true
|
|
837
|
-
*/
|
|
838
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
839
|
-
/**
|
|
840
|
-
* Options:
|
|
841
|
-
* - proto3_optional = true
|
|
842
|
-
*/
|
|
843
|
-
meta?: LogEntry.Meta;
|
|
844
|
-
/**
|
|
845
|
-
* Options:
|
|
846
|
-
* - proto3_optional = true
|
|
847
|
-
*/
|
|
848
|
-
error?: dxos_error.Error;
|
|
849
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
850
|
-
}
|
|
851
|
-
export declare namespace LogEntry {
|
|
852
|
-
/**
|
|
853
|
-
* Defined in:
|
|
854
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
855
|
-
*/
|
|
856
|
-
interface Meta {
|
|
857
|
-
file: string;
|
|
858
|
-
line: number;
|
|
859
|
-
/**
|
|
860
|
-
* Options:
|
|
861
|
-
* - proto3_optional = true
|
|
862
|
-
*/
|
|
863
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
864
|
-
/**
|
|
865
|
-
* Options:
|
|
866
|
-
* - proto3_optional = true
|
|
867
|
-
*/
|
|
868
|
-
resourceId?: number;
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
/**
|
|
872
|
-
* Defined in:
|
|
873
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
874
|
-
*/
|
|
875
|
-
export interface LoggingService {
|
|
876
|
-
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
877
|
-
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
878
|
-
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
877
|
+
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
878
|
+
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
879
879
|
}
|
|
880
880
|
//# sourceMappingURL=services.d.ts.map
|