@dxos/protocols 0.3.7-main.8c7953e → 0.3.7-main.9e59a07
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/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.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/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.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 +5 -5
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -58,181 +58,6 @@ import * as dxos_value from "../value";
|
|
|
58
58
|
import * as example_testing_data from "../../example/testing/data";
|
|
59
59
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
60
60
|
import * as google_protobuf from "../../google/protobuf";
|
|
61
|
-
/**
|
|
62
|
-
* Defined in:
|
|
63
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
64
|
-
*/
|
|
65
|
-
export interface Metrics {
|
|
66
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
67
|
-
values?: Metrics.KeyPair[];
|
|
68
|
-
}
|
|
69
|
-
export namespace Metrics {
|
|
70
|
-
/**
|
|
71
|
-
* Defined in:
|
|
72
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
73
|
-
*/
|
|
74
|
-
export interface KeyPair {
|
|
75
|
-
/**
|
|
76
|
-
* Options:
|
|
77
|
-
* - proto3_optional = true
|
|
78
|
-
*/
|
|
79
|
-
key?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Options:
|
|
82
|
-
* - proto3_optional = true
|
|
83
|
-
*/
|
|
84
|
-
value?: dxos_value.Value;
|
|
85
|
-
/**
|
|
86
|
-
* Options:
|
|
87
|
-
* - proto3_optional = true
|
|
88
|
-
*/
|
|
89
|
-
stats?: dxos_value.Stats;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Defined in:
|
|
94
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
95
|
-
*/
|
|
96
|
-
export interface ControlMetricsRequest {
|
|
97
|
-
/**
|
|
98
|
-
* Options:
|
|
99
|
-
* - proto3_optional = true
|
|
100
|
-
*/
|
|
101
|
-
reset?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Options:
|
|
104
|
-
* - proto3_optional = true
|
|
105
|
-
*/
|
|
106
|
-
record?: boolean;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Defined in:
|
|
110
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
111
|
-
*/
|
|
112
|
-
export interface ControlMetricsResponse {
|
|
113
|
-
/**
|
|
114
|
-
* Options:
|
|
115
|
-
* - proto3_optional = true
|
|
116
|
-
*/
|
|
117
|
-
recording?: boolean;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Defined in:
|
|
121
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
122
|
-
*/
|
|
123
|
-
export interface QueryMetricsRequest {
|
|
124
|
-
/**
|
|
125
|
-
* Options:
|
|
126
|
-
* - proto3_optional = true
|
|
127
|
-
*/
|
|
128
|
-
interval?: number;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Defined in:
|
|
132
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
133
|
-
*/
|
|
134
|
-
export interface QueryMetricsResponse {
|
|
135
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
136
|
-
metrics: Metrics;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Defined in:
|
|
140
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
141
|
-
*/
|
|
142
|
-
export enum LogLevel {
|
|
143
|
-
TRACE = 5,
|
|
144
|
-
DEBUG = 10,
|
|
145
|
-
INFO = 11,
|
|
146
|
-
WARN = 12,
|
|
147
|
-
ERROR = 13
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Defined in:
|
|
151
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
152
|
-
*/
|
|
153
|
-
export interface QueryLogsRequest {
|
|
154
|
-
filters?: QueryLogsRequest.Filter[];
|
|
155
|
-
/**
|
|
156
|
-
* Options:
|
|
157
|
-
* - proto3_optional = true
|
|
158
|
-
*/
|
|
159
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
160
|
-
}
|
|
161
|
-
export namespace QueryLogsRequest {
|
|
162
|
-
/**
|
|
163
|
-
* Defined in:
|
|
164
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
165
|
-
*/
|
|
166
|
-
export enum MatchingOptions {
|
|
167
|
-
INCLUSIVE = 1,
|
|
168
|
-
EXPLICIT = 2
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Defined in:
|
|
172
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
173
|
-
*/
|
|
174
|
-
export interface Filter {
|
|
175
|
-
level: LogLevel;
|
|
176
|
-
/**
|
|
177
|
-
* Options:
|
|
178
|
-
* - proto3_optional = true
|
|
179
|
-
*/
|
|
180
|
-
pattern?: string;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* Defined in:
|
|
185
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
186
|
-
*/
|
|
187
|
-
export interface LogEntry {
|
|
188
|
-
level: LogLevel;
|
|
189
|
-
message: string;
|
|
190
|
-
/**
|
|
191
|
-
* Options:
|
|
192
|
-
* - proto3_optional = true
|
|
193
|
-
*/
|
|
194
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
195
|
-
/**
|
|
196
|
-
* Options:
|
|
197
|
-
* - proto3_optional = true
|
|
198
|
-
*/
|
|
199
|
-
meta?: LogEntry.Meta;
|
|
200
|
-
/**
|
|
201
|
-
* Options:
|
|
202
|
-
* - proto3_optional = true
|
|
203
|
-
*/
|
|
204
|
-
error?: dxos_error.Error;
|
|
205
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
206
|
-
}
|
|
207
|
-
export namespace LogEntry {
|
|
208
|
-
/**
|
|
209
|
-
* Defined in:
|
|
210
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
211
|
-
*/
|
|
212
|
-
export interface Meta {
|
|
213
|
-
file: string;
|
|
214
|
-
line: number;
|
|
215
|
-
/**
|
|
216
|
-
* Options:
|
|
217
|
-
* - proto3_optional = true
|
|
218
|
-
*/
|
|
219
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
220
|
-
/**
|
|
221
|
-
* Options:
|
|
222
|
-
* - proto3_optional = true
|
|
223
|
-
*/
|
|
224
|
-
resourceId?: number;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Defined in:
|
|
229
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
230
|
-
*/
|
|
231
|
-
export interface LoggingService {
|
|
232
|
-
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
233
|
-
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
234
|
-
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
235
|
-
}
|
|
236
61
|
/**
|
|
237
62
|
* Defined in:
|
|
238
63
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -304,23 +129,23 @@ export interface SystemService {
|
|
|
304
129
|
/**
|
|
305
130
|
* Get the static config of the client.
|
|
306
131
|
*/
|
|
307
|
-
getConfig: (request: void) => Promise<dxos_config.Config>;
|
|
132
|
+
getConfig: (request: void, options?: RequestOptions) => Promise<dxos_config.Config>;
|
|
308
133
|
/**
|
|
309
134
|
* Get the diagnostics snapshot.
|
|
310
135
|
*/
|
|
311
|
-
getDiagnostics: (request: GetDiagnosticsRequest) => Promise<GetDiagnosticsResponse>;
|
|
136
|
+
getDiagnostics: (request: GetDiagnosticsRequest, options?: RequestOptions) => Promise<GetDiagnosticsResponse>;
|
|
312
137
|
/**
|
|
313
138
|
* Update the status of the client. Used to re-activate an inactive client.
|
|
314
139
|
*/
|
|
315
|
-
updateStatus: (request: UpdateStatusRequest) => Promise<void>;
|
|
140
|
+
updateStatus: (request: UpdateStatusRequest, options?: RequestOptions) => Promise<void>;
|
|
316
141
|
/**
|
|
317
142
|
* Stream the status of the client.
|
|
318
143
|
*/
|
|
319
|
-
queryStatus: (request: QueryStatusRequest) => Stream<QueryStatusResponse>;
|
|
144
|
+
queryStatus: (request: QueryStatusRequest, options?: RequestOptions) => Stream<QueryStatusResponse>;
|
|
320
145
|
/**
|
|
321
146
|
* Reset the client.
|
|
322
147
|
*/
|
|
323
|
-
reset: (request: void) => Promise<void>;
|
|
148
|
+
reset: (request: void, options?: RequestOptions) => Promise<void>;
|
|
324
149
|
}
|
|
325
150
|
/**
|
|
326
151
|
* Defined in:
|
|
@@ -374,11 +199,11 @@ export interface SignPresentationRequest {
|
|
|
374
199
|
* {@link file://./../../../dxos/client/services.proto}
|
|
375
200
|
*/
|
|
376
201
|
export interface IdentityService {
|
|
377
|
-
createIdentity: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
|
|
378
|
-
recoverIdentity: (request: RecoverIdentityRequest) => Promise<Identity>;
|
|
379
|
-
queryIdentity: (request: void) => Stream<QueryIdentityResponse>;
|
|
380
|
-
updateProfile: (request: dxos_halo_credentials.ProfileDocument) => Promise<Identity>;
|
|
381
|
-
signPresentation: (request: SignPresentationRequest) => Promise<dxos_halo_credentials.Presentation>;
|
|
202
|
+
createIdentity: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
203
|
+
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
204
|
+
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
205
|
+
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
206
|
+
signPresentation: (request: SignPresentationRequest, options?: RequestOptions) => Promise<dxos_halo_credentials.Presentation>;
|
|
382
207
|
}
|
|
383
208
|
/**
|
|
384
209
|
* Defined in:
|
|
@@ -413,8 +238,8 @@ export interface QueryDevicesResponse {
|
|
|
413
238
|
* {@link file://./../../../dxos/client/services.proto}
|
|
414
239
|
*/
|
|
415
240
|
export interface DevicesService {
|
|
416
|
-
updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument) => Promise<Device>;
|
|
417
|
-
queryDevices: (request: void) => Stream<QueryDevicesResponse>;
|
|
241
|
+
updateDevice: (request: dxos_halo_credentials.DeviceProfileDocument, options?: RequestOptions) => Promise<Device>;
|
|
242
|
+
queryDevices: (request: void, options?: RequestOptions) => Stream<QueryDevicesResponse>;
|
|
418
243
|
}
|
|
419
244
|
/**
|
|
420
245
|
* Defined in:
|
|
@@ -428,8 +253,8 @@ export interface Contact {
|
|
|
428
253
|
* {@link file://./../../../dxos/client/services.proto}
|
|
429
254
|
*/
|
|
430
255
|
export interface ContactsService {
|
|
431
|
-
updateContact: (request: void) => Promise<Contact>;
|
|
432
|
-
queryContacts: (request: void) => Stream<Contact>;
|
|
256
|
+
updateContact: (request: void, options?: RequestOptions) => Promise<Contact>;
|
|
257
|
+
queryContacts: (request: void, options?: RequestOptions) => Stream<Contact>;
|
|
433
258
|
}
|
|
434
259
|
/**
|
|
435
260
|
* Defined in:
|
|
@@ -702,26 +527,26 @@ export interface CreateEpochRequest {
|
|
|
702
527
|
* {@link file://./../../../dxos/client/services.proto}
|
|
703
528
|
*/
|
|
704
529
|
export interface SpacesService {
|
|
705
|
-
createSpace: (request: void) => Promise<Space>;
|
|
706
|
-
updateSpace: (request: UpdateSpaceRequest) => Promise<void>;
|
|
707
|
-
querySpaces: (request: void) => Stream<QuerySpacesResponse>;
|
|
530
|
+
createSpace: (request: void, options?: RequestOptions) => Promise<Space>;
|
|
531
|
+
updateSpace: (request: UpdateSpaceRequest, options?: RequestOptions) => Promise<void>;
|
|
532
|
+
querySpaces: (request: void, options?: RequestOptions) => Stream<QuerySpacesResponse>;
|
|
708
533
|
/**
|
|
709
534
|
* Broadcast an ephemeral message to the space swarm.
|
|
710
535
|
*/
|
|
711
|
-
postMessage: (request: PostMessageRequest) => Promise<void>;
|
|
536
|
+
postMessage: (request: PostMessageRequest, options?: RequestOptions) => Promise<void>;
|
|
712
537
|
/**
|
|
713
538
|
* Subscribe to messages from the space swarm.
|
|
714
539
|
*/
|
|
715
|
-
subscribeMessages: (request: SubscribeMessagesRequest) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
|
|
540
|
+
subscribeMessages: (request: SubscribeMessagesRequest, options?: RequestOptions) => Stream<dxos_mesh_teleport_gossip.GossipMessage>;
|
|
716
541
|
/**
|
|
717
542
|
* Write credentials to the space control feed.
|
|
718
543
|
*/
|
|
719
|
-
writeCredentials: (request: WriteCredentialsRequest) => Promise<void>;
|
|
544
|
+
writeCredentials: (request: WriteCredentialsRequest, options?: RequestOptions) => Promise<void>;
|
|
720
545
|
/**
|
|
721
546
|
* Query credentials from the space control feed.
|
|
722
547
|
*/
|
|
723
|
-
queryCredentials: (request: QueryCredentialsRequest) => Stream<dxos_halo_credentials.Credential>;
|
|
724
|
-
createEpoch: (request: CreateEpochRequest) => Promise<void>;
|
|
548
|
+
queryCredentials: (request: QueryCredentialsRequest, options?: RequestOptions) => Stream<dxos_halo_credentials.Credential>;
|
|
549
|
+
createEpoch: (request: CreateEpochRequest, options?: RequestOptions) => Promise<void>;
|
|
725
550
|
}
|
|
726
551
|
/**
|
|
727
552
|
* Represents the invitation state passed between client and service.
|
|
@@ -880,11 +705,11 @@ export namespace QueryInvitationsResponse {
|
|
|
880
705
|
* {@link file://./../../../dxos/client/services.proto}
|
|
881
706
|
*/
|
|
882
707
|
export interface InvitationsService {
|
|
883
|
-
createInvitation: (request: Invitation) => Stream<Invitation>;
|
|
884
|
-
acceptInvitation: (request: Invitation) => Stream<Invitation>;
|
|
885
|
-
authenticate: (request: AuthenticationRequest) => Promise<void>;
|
|
886
|
-
cancelInvitation: (request: CancelInvitationRequest) => Promise<void>;
|
|
887
|
-
queryInvitations: (request: void) => Stream<QueryInvitationsResponse>;
|
|
708
|
+
createInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
709
|
+
acceptInvitation: (request: Invitation, options?: RequestOptions) => Stream<Invitation>;
|
|
710
|
+
authenticate: (request: AuthenticationRequest, options?: RequestOptions) => Promise<void>;
|
|
711
|
+
cancelInvitation: (request: CancelInvitationRequest, options?: RequestOptions) => Promise<void>;
|
|
712
|
+
queryInvitations: (request: void, options?: RequestOptions) => Stream<QueryInvitationsResponse>;
|
|
888
713
|
}
|
|
889
714
|
/**
|
|
890
715
|
* Defined in:
|
|
@@ -924,6 +749,181 @@ export interface UpdateConfigRequest {
|
|
|
924
749
|
* {@link file://./../../../dxos/client/services.proto}
|
|
925
750
|
*/
|
|
926
751
|
export interface NetworkService {
|
|
927
|
-
updateConfig: (request: UpdateConfigRequest) => Promise<void>;
|
|
928
|
-
queryStatus: (request: void) => Stream<NetworkStatus>;
|
|
752
|
+
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
753
|
+
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Defined in:
|
|
757
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
758
|
+
*/
|
|
759
|
+
export interface Metrics {
|
|
760
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
761
|
+
values?: Metrics.KeyPair[];
|
|
762
|
+
}
|
|
763
|
+
export namespace Metrics {
|
|
764
|
+
/**
|
|
765
|
+
* Defined in:
|
|
766
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
767
|
+
*/
|
|
768
|
+
export interface KeyPair {
|
|
769
|
+
/**
|
|
770
|
+
* Options:
|
|
771
|
+
* - proto3_optional = true
|
|
772
|
+
*/
|
|
773
|
+
key?: string;
|
|
774
|
+
/**
|
|
775
|
+
* Options:
|
|
776
|
+
* - proto3_optional = true
|
|
777
|
+
*/
|
|
778
|
+
value?: dxos_value.Value;
|
|
779
|
+
/**
|
|
780
|
+
* Options:
|
|
781
|
+
* - proto3_optional = true
|
|
782
|
+
*/
|
|
783
|
+
stats?: dxos_value.Stats;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
/**
|
|
787
|
+
* Defined in:
|
|
788
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
789
|
+
*/
|
|
790
|
+
export interface ControlMetricsRequest {
|
|
791
|
+
/**
|
|
792
|
+
* Options:
|
|
793
|
+
* - proto3_optional = true
|
|
794
|
+
*/
|
|
795
|
+
reset?: boolean;
|
|
796
|
+
/**
|
|
797
|
+
* Options:
|
|
798
|
+
* - proto3_optional = true
|
|
799
|
+
*/
|
|
800
|
+
record?: boolean;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Defined in:
|
|
804
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
805
|
+
*/
|
|
806
|
+
export interface ControlMetricsResponse {
|
|
807
|
+
/**
|
|
808
|
+
* Options:
|
|
809
|
+
* - proto3_optional = true
|
|
810
|
+
*/
|
|
811
|
+
recording?: boolean;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Defined in:
|
|
815
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
816
|
+
*/
|
|
817
|
+
export interface QueryMetricsRequest {
|
|
818
|
+
/**
|
|
819
|
+
* Options:
|
|
820
|
+
* - proto3_optional = true
|
|
821
|
+
*/
|
|
822
|
+
interval?: number;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Defined in:
|
|
826
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
827
|
+
*/
|
|
828
|
+
export interface QueryMetricsResponse {
|
|
829
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
830
|
+
metrics: Metrics;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Defined in:
|
|
834
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
835
|
+
*/
|
|
836
|
+
export enum LogLevel {
|
|
837
|
+
TRACE = 5,
|
|
838
|
+
DEBUG = 10,
|
|
839
|
+
INFO = 11,
|
|
840
|
+
WARN = 12,
|
|
841
|
+
ERROR = 13
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Defined in:
|
|
845
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
846
|
+
*/
|
|
847
|
+
export interface QueryLogsRequest {
|
|
848
|
+
filters?: QueryLogsRequest.Filter[];
|
|
849
|
+
/**
|
|
850
|
+
* Options:
|
|
851
|
+
* - proto3_optional = true
|
|
852
|
+
*/
|
|
853
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
854
|
+
}
|
|
855
|
+
export namespace QueryLogsRequest {
|
|
856
|
+
/**
|
|
857
|
+
* Defined in:
|
|
858
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
859
|
+
*/
|
|
860
|
+
export enum MatchingOptions {
|
|
861
|
+
INCLUSIVE = 1,
|
|
862
|
+
EXPLICIT = 2
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Defined in:
|
|
866
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
867
|
+
*/
|
|
868
|
+
export interface Filter {
|
|
869
|
+
level: LogLevel;
|
|
870
|
+
/**
|
|
871
|
+
* Options:
|
|
872
|
+
* - proto3_optional = true
|
|
873
|
+
*/
|
|
874
|
+
pattern?: string;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Defined in:
|
|
879
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
880
|
+
*/
|
|
881
|
+
export interface LogEntry {
|
|
882
|
+
level: LogLevel;
|
|
883
|
+
message: string;
|
|
884
|
+
/**
|
|
885
|
+
* Options:
|
|
886
|
+
* - proto3_optional = true
|
|
887
|
+
*/
|
|
888
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
889
|
+
/**
|
|
890
|
+
* Options:
|
|
891
|
+
* - proto3_optional = true
|
|
892
|
+
*/
|
|
893
|
+
meta?: LogEntry.Meta;
|
|
894
|
+
/**
|
|
895
|
+
* Options:
|
|
896
|
+
* - proto3_optional = true
|
|
897
|
+
*/
|
|
898
|
+
error?: dxos_error.Error;
|
|
899
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
900
|
+
}
|
|
901
|
+
export namespace LogEntry {
|
|
902
|
+
/**
|
|
903
|
+
* Defined in:
|
|
904
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
905
|
+
*/
|
|
906
|
+
export interface Meta {
|
|
907
|
+
file: string;
|
|
908
|
+
line: number;
|
|
909
|
+
/**
|
|
910
|
+
* Options:
|
|
911
|
+
* - proto3_optional = true
|
|
912
|
+
*/
|
|
913
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
914
|
+
/**
|
|
915
|
+
* Options:
|
|
916
|
+
* - proto3_optional = true
|
|
917
|
+
*/
|
|
918
|
+
resourceId?: number;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Defined in:
|
|
923
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
924
|
+
*/
|
|
925
|
+
export interface LoggingService {
|
|
926
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
927
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
928
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
929
929
|
}
|
|
@@ -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_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "./agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -94,29 +94,29 @@ export interface FeedStats {
|
|
|
94
94
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
95
95
|
*/
|
|
96
96
|
export interface DevtoolsHost {
|
|
97
|
-
events: (request: void) => Stream<Event>;
|
|
98
|
-
getConfig: (request: void) => Promise<GetConfigResponse>;
|
|
99
|
-
getStorageInfo: (request: void) => Promise<StorageInfo>;
|
|
100
|
-
resetStorage: (request: ResetStorageRequest) => Promise<void>;
|
|
101
|
-
getBlobs: (request: void) => Promise<GetBlobsResponse>;
|
|
102
|
-
getSnapshots: (request: void) => Promise<GetSnapshotsResponse>;
|
|
103
|
-
enableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
|
|
104
|
-
disableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
|
|
105
|
-
subscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest) => Stream<SubscribeToKeyringKeysResponse>;
|
|
106
|
-
subscribeToCredentialMessages: (request: SubscribeToCredentialMessagesRequest) => Stream<SubscribeToCredentialMessagesResponse>;
|
|
107
|
-
subscribeToSpaces: (request: SubscribeToSpacesRequest) => Stream<SubscribeToSpacesResponse>;
|
|
108
|
-
subscribeToItems: (request: SubscribeToItemsRequest) => Stream<SubscribeToItemsResponse>;
|
|
109
|
-
subscribeToFeeds: (request: SubscribeToFeedsRequest) => Stream<SubscribeToFeedsResponse>;
|
|
110
|
-
subscribeToFeedBlocks: (request: SubscribeToFeedBlocksRequest) => Stream<SubscribeToFeedBlocksResponse>;
|
|
111
|
-
subscribeToMetadata: (request: void) => Stream<SubscribeToMetadataResponse>;
|
|
112
|
-
getSpaceSnapshot: (request: GetSpaceSnapshotRequest) => Promise<GetSpaceSnapshotResponse>;
|
|
113
|
-
saveSpaceSnapshot: (request: SaveSpaceSnapshotRequest) => Promise<SaveSpaceSnapshotResponse>;
|
|
114
|
-
clearSnapshots: (request: ClearSnapshotsRequest) => Promise<void>;
|
|
115
|
-
getNetworkPeers: (request: GetNetworkPeersRequest) => Promise<GetNetworkPeersResponse>;
|
|
116
|
-
subscribeToNetworkTopics: (request: void) => Stream<SubscribeToNetworkTopicsResponse>;
|
|
117
|
-
subscribeToSignalStatus: (request: void) => Stream<SubscribeToSignalStatusResponse>;
|
|
118
|
-
subscribeToSignal: (request: void) => Stream<SignalResponse>;
|
|
119
|
-
subscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest) => Stream<SubscribeToSwarmInfoResponse>;
|
|
97
|
+
events: (request: void, options?: RequestOptions) => Stream<Event>;
|
|
98
|
+
getConfig: (request: void, options?: RequestOptions) => Promise<GetConfigResponse>;
|
|
99
|
+
getStorageInfo: (request: void, options?: RequestOptions) => Promise<StorageInfo>;
|
|
100
|
+
resetStorage: (request: ResetStorageRequest, options?: RequestOptions) => Promise<void>;
|
|
101
|
+
getBlobs: (request: void, options?: RequestOptions) => Promise<GetBlobsResponse>;
|
|
102
|
+
getSnapshots: (request: void, options?: RequestOptions) => Promise<GetSnapshotsResponse>;
|
|
103
|
+
enableDebugLogging: (request: EnableDebugLoggingRequest, options?: RequestOptions) => Promise<EnableDebugLoggingResponse>;
|
|
104
|
+
disableDebugLogging: (request: EnableDebugLoggingRequest, options?: RequestOptions) => Promise<EnableDebugLoggingResponse>;
|
|
105
|
+
subscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest, options?: RequestOptions) => Stream<SubscribeToKeyringKeysResponse>;
|
|
106
|
+
subscribeToCredentialMessages: (request: SubscribeToCredentialMessagesRequest, options?: RequestOptions) => Stream<SubscribeToCredentialMessagesResponse>;
|
|
107
|
+
subscribeToSpaces: (request: SubscribeToSpacesRequest, options?: RequestOptions) => Stream<SubscribeToSpacesResponse>;
|
|
108
|
+
subscribeToItems: (request: SubscribeToItemsRequest, options?: RequestOptions) => Stream<SubscribeToItemsResponse>;
|
|
109
|
+
subscribeToFeeds: (request: SubscribeToFeedsRequest, options?: RequestOptions) => Stream<SubscribeToFeedsResponse>;
|
|
110
|
+
subscribeToFeedBlocks: (request: SubscribeToFeedBlocksRequest, options?: RequestOptions) => Stream<SubscribeToFeedBlocksResponse>;
|
|
111
|
+
subscribeToMetadata: (request: void, options?: RequestOptions) => Stream<SubscribeToMetadataResponse>;
|
|
112
|
+
getSpaceSnapshot: (request: GetSpaceSnapshotRequest, options?: RequestOptions) => Promise<GetSpaceSnapshotResponse>;
|
|
113
|
+
saveSpaceSnapshot: (request: SaveSpaceSnapshotRequest, options?: RequestOptions) => Promise<SaveSpaceSnapshotResponse>;
|
|
114
|
+
clearSnapshots: (request: ClearSnapshotsRequest, options?: RequestOptions) => Promise<void>;
|
|
115
|
+
getNetworkPeers: (request: GetNetworkPeersRequest, options?: RequestOptions) => Promise<GetNetworkPeersResponse>;
|
|
116
|
+
subscribeToNetworkTopics: (request: void, options?: RequestOptions) => Stream<SubscribeToNetworkTopicsResponse>;
|
|
117
|
+
subscribeToSignalStatus: (request: void, options?: RequestOptions) => Stream<SubscribeToSignalStatusResponse>;
|
|
118
|
+
subscribeToSignal: (request: void, options?: RequestOptions) => Stream<SignalResponse>;
|
|
119
|
+
subscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest, options?: RequestOptions) => Stream<SubscribeToSwarmInfoResponse>;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* Defined in:
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -140,7 +140,7 @@ export interface FlushRequest {
|
|
|
140
140
|
* {@link file://./../../../dxos/echo/service.proto}
|
|
141
141
|
*/
|
|
142
142
|
export interface DataService {
|
|
143
|
-
subscribe: (request: SubscribeRequest) => Stream<EchoEvent>;
|
|
144
|
-
write: (request: WriteRequest) => Promise<MutationReceipt>;
|
|
145
|
-
flush: (request: FlushRequest) => Promise<void>;
|
|
143
|
+
subscribe: (request: SubscribeRequest, options?: RequestOptions) => Stream<EchoEvent>;
|
|
144
|
+
write: (request: WriteRequest, options?: RequestOptions) => Promise<MutationReceipt>;
|
|
145
|
+
flush: (request: FlushRequest, options?: RequestOptions) => Promise<void>;
|
|
146
146
|
}
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "../agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "../agent/echoproxy";
|
|
@@ -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_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "./agent/echoproxy";
|
|
@@ -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_agent_dashboard from "./agent/dashboard";
|
|
4
4
|
import * as dxos_agent_echoproxy from "./agent/echoproxy";
|