@dxos/protocols 0.1.2 → 0.1.3
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/src/proto/gen/dxos/bot.d.ts +11 -11
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.d.ts +247 -0
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/client/services.js +32 -0
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -0
- package/dist/src/proto/gen/dxos/client.d.ts +49 -68
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +0 -16
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +0 -12
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +52 -21
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/{swarmLog.d.ts → swarm.d.ts} +4 -4
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/devtools/{swarmLog.js → swarm.js} +1 -1
- package/dist/src/proto/gen/dxos/devtools/swarm.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +5 -5
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +3 -3
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +2 -2
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts +3 -3
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +25 -27
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js +5 -5
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts +10 -44
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.js +0 -13
- package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -2
- package/dist/src/proto/gen/dxos/halo/keys.js +1 -1
- package/dist/src/proto/gen/dxos/halo/signed.d.ts +1 -1
- package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/scheduler.d.ts +1 -1
- package/dist/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
- package/dist/src/proto/gen/index.d.ts +56 -41
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/package.json +5 -5
- package/proto/dxos/client/services.d.ts +2 -0
- package/proto/dxos/{devtools/swarmLog.d.ts.map → client/services.d.ts.map} +2 -2
- package/proto/dxos/client/services.js +2 -0
- package/proto/dxos/devtools/diagnostics.d.ts +2 -0
- package/proto/dxos/devtools/diagnostics.d.ts.map +10 -0
- package/proto/dxos/devtools/diagnostics.js +2 -0
- package/proto/dxos/devtools/swarm.d.ts +2 -0
- package/proto/dxos/{halo/credentials/party.d.ts.map → devtools/swarm.d.ts.map} +2 -2
- package/proto/dxos/devtools/{swarmLog.js → swarm.js} +1 -1
- package/src/proto/dxos/bot.proto +11 -11
- package/src/proto/dxos/client/services.proto +197 -0
- package/src/proto/dxos/client.proto +49 -55
- package/src/proto/dxos/config.proto +2 -15
- package/src/proto/dxos/devtools/diagnostics.proto +28 -0
- package/src/proto/dxos/devtools/host.proto +21 -23
- package/src/proto/dxos/devtools/{swarmLog.proto → swarm.proto} +1 -1
- package/src/proto/dxos/echo/metadata.proto +6 -6
- package/src/proto/dxos/echo/service.proto +3 -3
- package/src/proto/dxos/echo/snapshot.proto +5 -5
- package/src/proto/dxos/echo/timeframe.proto +1 -1
- package/src/proto/dxos/halo/credentials/auth.proto +3 -3
- package/src/proto/dxos/halo/credentials/greet.proto +19 -19
- package/src/proto/dxos/halo/credentials.proto +21 -20
- package/src/proto/dxos/halo/invitations.proto +9 -27
- package/src/proto/dxos/halo/keys.proto +2 -2
- package/src/proto/dxos/halo/signed.proto +1 -1
- package/src/proto/dxos/service/scheduler.proto +1 -1
- package/src/proto/gen/dxos/bot.ts +12 -12
- package/src/proto/gen/dxos/client/services.ts +283 -0
- package/src/proto/gen/dxos/client.ts +50 -69
- package/src/proto/gen/dxos/config.ts +2 -18
- package/src/proto/gen/dxos/devtools/host.ts +53 -22
- package/src/proto/gen/dxos/devtools/{swarmLog.ts → swarm.ts} +4 -4
- package/src/proto/gen/dxos/echo/feed.ts +2 -2
- package/src/proto/gen/dxos/echo/metadata.ts +7 -7
- package/src/proto/gen/dxos/echo/model/messenger.ts +2 -2
- package/src/proto/gen/dxos/echo/model/object.ts +2 -2
- package/src/proto/gen/dxos/echo/model/text.ts +2 -2
- package/src/proto/gen/dxos/echo/service.ts +5 -5
- package/src/proto/gen/dxos/echo/snapshot.ts +4 -4
- package/src/proto/gen/dxos/echo/timeframe.ts +2 -2
- package/src/proto/gen/dxos/halo/credentials/auth.ts +5 -5
- package/src/proto/gen/dxos/halo/credentials/greet.ts +3 -3
- package/src/proto/gen/dxos/halo/credentials/identity.ts +2 -2
- package/src/proto/gen/dxos/halo/credentials.ts +27 -29
- package/src/proto/gen/dxos/halo/invitations.ts +12 -46
- package/src/proto/gen/dxos/halo/keyring.ts +2 -2
- package/src/proto/gen/dxos/halo/keys.ts +4 -4
- package/src/proto/gen/dxos/halo/signed.ts +3 -3
- package/src/proto/gen/dxos/iframe.ts +2 -2
- package/src/proto/gen/dxos/keys.ts +2 -2
- package/src/proto/gen/dxos/mesh/bridge.ts +2 -2
- package/src/proto/gen/dxos/mesh/broadcast.ts +2 -2
- package/src/proto/gen/dxos/mesh/messaging.ts +2 -2
- package/src/proto/gen/dxos/mesh/presence.ts +2 -2
- package/src/proto/gen/dxos/mesh/protocol.ts +2 -2
- package/src/proto/gen/dxos/mesh/replicator.ts +2 -2
- package/src/proto/gen/dxos/mesh/signal.ts +2 -2
- package/src/proto/gen/dxos/mesh/swarm.ts +2 -2
- package/src/proto/gen/dxos/registry.ts +2 -2
- package/src/proto/gen/dxos/rpc.ts +2 -2
- package/src/proto/gen/dxos/service/publisher.ts +2 -2
- package/src/proto/gen/dxos/service/scheduler.ts +3 -3
- package/src/proto/gen/dxos/type.ts +2 -2
- package/src/proto/gen/example/testing/data.ts +2 -2
- package/src/proto/gen/example/testing/rpc.ts +2 -2
- package/src/proto/gen/google/protobuf.ts +2 -2
- package/src/proto/gen/index.ts +57 -42
- package/dist/src/proto/gen/dxos/devtools/swarmLog.d.ts.map +0 -1
- package/dist/src/proto/gen/dxos/devtools/swarmLog.js.map +0 -1
- package/dist/src/proto/gen/dxos/halo/credentials/party.d.ts +0 -82
- package/dist/src/proto/gen/dxos/halo/credentials/party.d.ts.map +0 -1
- package/dist/src/proto/gen/dxos/halo/credentials/party.js +0 -19
- package/dist/src/proto/gen/dxos/halo/credentials/party.js.map +0 -1
- package/proto/dxos/devtools/swarmLog.d.ts +0 -2
- package/proto/dxos/halo/credentials/party.d.ts +0 -2
- package/proto/dxos/halo/credentials/party.js +0 -2
- package/src/proto/dxos/halo/credentials/party.proto +0 -127
- package/src/proto/gen/dxos/halo/credentials/party.ts +0 -119
|
@@ -2,8 +2,9 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
|
-
import * as
|
|
7
|
+
import * as dxos_devtools_swarm from "./swarm";
|
|
7
8
|
import * as dxos_echo_feed from "../echo/feed";
|
|
8
9
|
import * as dxos_echo_metadata from "../echo/metadata";
|
|
9
10
|
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -39,6 +39,37 @@ import * as dxos_type from "../type";
|
|
|
39
39
|
import * as example_testing_data from "../../example/testing/data";
|
|
40
40
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
41
|
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Services {
|
|
47
|
+
spaces?: SpaceStats[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Defined in:
|
|
51
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
52
|
+
*/
|
|
53
|
+
export interface SpaceStats {
|
|
54
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
55
|
+
peers?: PeerStats[];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Defined in:
|
|
59
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
60
|
+
*/
|
|
61
|
+
export interface PeerStats {
|
|
62
|
+
controlFeed: FeedStats;
|
|
63
|
+
dataFeed: FeedStats;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Defined in:
|
|
67
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
68
|
+
*/
|
|
69
|
+
export interface FeedStats {
|
|
70
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
71
|
+
length: number;
|
|
72
|
+
}
|
|
42
73
|
/**
|
|
43
74
|
* Defined in:
|
|
44
75
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -51,12 +82,12 @@ export interface DevtoolsHost {
|
|
|
51
82
|
disableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
|
|
52
83
|
subscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest) => Stream<SubscribeToKeyringKeysResponse>;
|
|
53
84
|
subscribeToCredentialMessages: (request: SubscribeToCredentialMessagesRequest) => Stream<SubscribeToCredentialMessagesResponse>;
|
|
54
|
-
|
|
85
|
+
subscribeToSpaces: (request: SubscribeToSpacesRequest) => Stream<SubscribeToSpacesResponse>;
|
|
55
86
|
subscribeToItems: (request: SubscribeToItemsRequest) => Stream<SubscribeToItemsResponse>;
|
|
56
87
|
subscribeToFeeds: (request: SubscribeToFeedsRequest) => Stream<SubscribeToFeedsResponse>;
|
|
57
88
|
subscribeToFeedBlocks: (request: SubscribeToFeedBlocksRequest) => Stream<SubscribeToFeedBlocksResponse>;
|
|
58
|
-
|
|
59
|
-
|
|
89
|
+
getSpaceSnapshot: (request: GetSpaceSnapshotRequest) => Promise<GetSpaceSnapshotResponse>;
|
|
90
|
+
saveSpaceSnapshot: (request: SaveSpaceSnapshotRequest) => Promise<SaveSpaceSnapshotResponse>;
|
|
60
91
|
clearSnapshots: (request: ClearSnapshotsRequest) => Promise<void>;
|
|
61
92
|
getNetworkPeers: (request: GetNetworkPeersRequest) => Promise<GetNetworkPeersResponse>;
|
|
62
93
|
subscribeToNetworkTopics: (request: void) => Stream<SubscribeToNetworkTopicsResponse>;
|
|
@@ -150,7 +181,7 @@ export interface SubscribeToCredentialMessagesRequest {
|
|
|
150
181
|
* Options:
|
|
151
182
|
* - proto3_optional = true
|
|
152
183
|
*/
|
|
153
|
-
|
|
184
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
154
185
|
}
|
|
155
186
|
/**
|
|
156
187
|
* Defined in:
|
|
@@ -194,22 +225,22 @@ export namespace GetNetworkPeersResponse {
|
|
|
194
225
|
* Defined in:
|
|
195
226
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
196
227
|
*/
|
|
197
|
-
export interface
|
|
198
|
-
|
|
228
|
+
export interface SubscribeToSpacesRequest {
|
|
229
|
+
spaceKeys?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
199
230
|
}
|
|
200
231
|
/**
|
|
201
232
|
* Defined in:
|
|
202
233
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
203
234
|
*/
|
|
204
|
-
export interface
|
|
205
|
-
|
|
235
|
+
export interface SubscribeToSpacesResponse {
|
|
236
|
+
spaces?: SubscribeToSpacesResponse.SpaceInfo[];
|
|
206
237
|
}
|
|
207
|
-
export namespace
|
|
238
|
+
export namespace SubscribeToSpacesResponse {
|
|
208
239
|
/**
|
|
209
240
|
* Defined in:
|
|
210
241
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
211
242
|
*/
|
|
212
|
-
export interface
|
|
243
|
+
export interface SpaceInfo {
|
|
213
244
|
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
214
245
|
isOpen: boolean;
|
|
215
246
|
timeframe: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
@@ -264,7 +295,7 @@ export interface SubscribeToFeedBlocksRequest {
|
|
|
264
295
|
* Options:
|
|
265
296
|
* - proto3_optional = true
|
|
266
297
|
*/
|
|
267
|
-
|
|
298
|
+
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
268
299
|
/**
|
|
269
300
|
* Options:
|
|
270
301
|
* - proto3_optional = true
|
|
@@ -298,37 +329,37 @@ export namespace SubscribeToFeedBlocksResponse {
|
|
|
298
329
|
* Defined in:
|
|
299
330
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
300
331
|
*/
|
|
301
|
-
export interface
|
|
302
|
-
|
|
332
|
+
export interface GetSpaceSnapshotRequest {
|
|
333
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
303
334
|
}
|
|
304
335
|
/**
|
|
305
336
|
* Defined in:
|
|
306
337
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
307
338
|
*/
|
|
308
|
-
export interface
|
|
339
|
+
export interface GetSpaceSnapshotResponse {
|
|
309
340
|
/**
|
|
310
341
|
* Options:
|
|
311
342
|
* - proto3_optional = true
|
|
312
343
|
*/
|
|
313
|
-
snapshot?: dxos_echo_snapshot.
|
|
344
|
+
snapshot?: dxos_echo_snapshot.SpaceSnapshot;
|
|
314
345
|
}
|
|
315
346
|
/**
|
|
316
347
|
* Defined in:
|
|
317
348
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
318
349
|
*/
|
|
319
|
-
export interface
|
|
320
|
-
|
|
350
|
+
export interface SaveSpaceSnapshotRequest {
|
|
351
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
321
352
|
}
|
|
322
353
|
/**
|
|
323
354
|
* Defined in:
|
|
324
355
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
325
356
|
*/
|
|
326
|
-
export interface
|
|
357
|
+
export interface SaveSpaceSnapshotResponse {
|
|
327
358
|
/**
|
|
328
359
|
* Options:
|
|
329
360
|
* - proto3_optional = true
|
|
330
361
|
*/
|
|
331
|
-
snapshot?: dxos_echo_snapshot.
|
|
362
|
+
snapshot?: dxos_echo_snapshot.SpaceSnapshot;
|
|
332
363
|
}
|
|
333
364
|
/**
|
|
334
365
|
* Defined in:
|
|
@@ -400,7 +431,7 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
400
431
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
401
432
|
*/
|
|
402
433
|
export interface SubscribeToSwarmInfoResponse {
|
|
403
|
-
data?:
|
|
434
|
+
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
404
435
|
}
|
|
405
436
|
/**
|
|
406
437
|
* Defined in:
|
|
@@ -2,6 +2,7 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "./host";
|
|
7
8
|
import * as dxos_echo_feed from "../echo/feed";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -41,7 +41,7 @@ import * as example_testing_rpc from "../../example/testing/rpc";
|
|
|
41
41
|
import * as google_protobuf from "../../google/protobuf";
|
|
42
42
|
/**
|
|
43
43
|
* Defined in:
|
|
44
|
-
* {@link file://./../../../dxos/devtools/
|
|
44
|
+
* {@link file://./../../../dxos/devtools/swarm.proto}
|
|
45
45
|
*/
|
|
46
46
|
export interface SwarmInfo {
|
|
47
47
|
id: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
@@ -56,7 +56,7 @@ export interface SwarmInfo {
|
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Defined in:
|
|
59
|
-
* {@link file://./../../../dxos/devtools/
|
|
59
|
+
* {@link file://./../../../dxos/devtools/swarm.proto}
|
|
60
60
|
*/
|
|
61
61
|
export interface ConnectionInfo {
|
|
62
62
|
state: string;
|
|
@@ -72,7 +72,7 @@ export interface ConnectionInfo {
|
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Defined in:
|
|
75
|
-
* {@link file://./../../../dxos/devtools/
|
|
75
|
+
* {@link file://./../../../dxos/devtools/swarm.proto}
|
|
76
76
|
*/
|
|
77
77
|
export interface ConnectionEvent {
|
|
78
78
|
type: string;
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_metadata from "./metadata";
|
|
9
10
|
import * as dxos_echo_model_messenger from "./model/messenger";
|
|
10
11
|
import * as dxos_echo_model_object from "./model/object";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "./feed";
|
|
9
10
|
import * as dxos_echo_model_messenger from "./model/messenger";
|
|
10
11
|
import * as dxos_echo_model_object from "./model/object";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -58,17 +58,17 @@ export interface EchoMetadata {
|
|
|
58
58
|
*/
|
|
59
59
|
identity?: dxos_halo_credentials.IdentityRecord;
|
|
60
60
|
/**
|
|
61
|
-
* List of the data
|
|
61
|
+
* List of the data spaces.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
spaces?: SpaceMetadata[];
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Defined in:
|
|
67
67
|
* {@link file://./../../../dxos/echo/metadata.proto}
|
|
68
68
|
*/
|
|
69
|
-
export interface
|
|
69
|
+
export interface SpaceMetadata {
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Space key.
|
|
72
72
|
*/
|
|
73
73
|
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
74
74
|
/**
|
|
@@ -84,7 +84,7 @@ export interface PartyMetadata {
|
|
|
84
84
|
*/
|
|
85
85
|
controlFeedKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
86
86
|
/**
|
|
87
|
-
* List of all feed associated with the
|
|
87
|
+
* List of all feed associated with the space.
|
|
88
88
|
*/
|
|
89
89
|
feedKeys?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
90
90
|
/**
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../metadata";
|
|
10
11
|
import * as dxos_echo_model_object from "./object";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../../halo/keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "./messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../../halo/keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "./messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../../halo/keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "./feed";
|
|
9
10
|
import * as dxos_echo_metadata from "./metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "./model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -44,7 +44,7 @@ import * as google_protobuf from "../../google/protobuf";
|
|
|
44
44
|
* {@link file://./../../../dxos/echo/service.proto}
|
|
45
45
|
*/
|
|
46
46
|
export interface SubscribeEntitySetRequest {
|
|
47
|
-
|
|
47
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Defined in:
|
|
@@ -59,7 +59,7 @@ export interface SubscribeEntitySetResponse {
|
|
|
59
59
|
* {@link file://./../../../dxos/echo/service.proto}
|
|
60
60
|
*/
|
|
61
61
|
export interface SubscribeEntityStreamRequest {
|
|
62
|
-
|
|
62
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
63
63
|
itemId: string;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
@@ -97,7 +97,7 @@ export namespace SubscribeEntityStreamResponse {
|
|
|
97
97
|
* {@link file://./../../../dxos/echo/service.proto}
|
|
98
98
|
*/
|
|
99
99
|
export interface WriteRequest {
|
|
100
|
-
|
|
100
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
101
101
|
mutation: dxos_echo_feed.EchoEnvelope;
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "./feed";
|
|
9
10
|
import * as dxos_echo_metadata from "./metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "./model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -43,8 +43,8 @@ import * as google_protobuf from "../../google/protobuf";
|
|
|
43
43
|
* Defined in:
|
|
44
44
|
* {@link file://./../../../dxos/echo/snapshot.proto}
|
|
45
45
|
*/
|
|
46
|
-
export interface
|
|
47
|
-
|
|
46
|
+
export interface SpaceSnapshot {
|
|
47
|
+
spaceKey: Uint8Array;
|
|
48
48
|
/**
|
|
49
49
|
* Options:
|
|
50
50
|
* - proto3_optional = true
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "./feed";
|
|
9
10
|
import * as dxos_echo_metadata from "./metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "./model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_halo_credentials from "../halo/credentials";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "../halo/invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../halo/keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../halo/keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../../echo/feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
|
16
17
|
import * as dxos_halo_credentials from "../credentials";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "./greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "./identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "./party";
|
|
20
20
|
import * as dxos_halo_invitations from "../invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../keys";
|
|
@@ -47,9 +47,9 @@ import * as google_protobuf from "../../../google/protobuf";
|
|
|
47
47
|
*/
|
|
48
48
|
export interface Auth {
|
|
49
49
|
/**
|
|
50
|
-
* The publicKey of the target
|
|
50
|
+
* The publicKey of the target Space for these credentials.
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
53
53
|
/**
|
|
54
54
|
* The publicKey of the authenticating Device.
|
|
55
55
|
*/
|
|
@@ -66,7 +66,7 @@ export interface Auth {
|
|
|
66
66
|
*/
|
|
67
67
|
feedKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
68
68
|
/**
|
|
69
|
-
* FeedAdmit message to the should be written to a control feed in case the `feed_key` is not admitted to the
|
|
69
|
+
* FeedAdmit message to the should be written to a control feed in case the `feed_key` is not admitted to the space.
|
|
70
70
|
*
|
|
71
71
|
* Options:
|
|
72
72
|
* - proto3_optional = true
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../../echo/feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
|
16
17
|
import * as dxos_halo_credentials from "../credentials";
|
|
17
18
|
import * as dxos_halo_credentials_auth from "./auth";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "./identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "./party";
|
|
20
20
|
import * as dxos_halo_invitations from "../invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../keys";
|
|
@@ -80,7 +80,7 @@ export interface BeginResponse {
|
|
|
80
80
|
*/
|
|
81
81
|
export interface HandshakeResponse {
|
|
82
82
|
nonce: Uint8Array;
|
|
83
|
-
|
|
83
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
86
|
* Defined in:
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../../bot";
|
|
4
4
|
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
5
6
|
import * as dxos_config from "../../config";
|
|
6
7
|
import * as dxos_devtools_host from "../../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../../echo/feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
|
16
17
|
import * as dxos_halo_credentials from "../credentials";
|
|
17
18
|
import * as dxos_halo_credentials_auth from "./auth";
|
|
18
19
|
import * as dxos_halo_credentials_greet from "./greet";
|
|
19
|
-
import * as dxos_halo_credentials_party from "./party";
|
|
20
20
|
import * as dxos_halo_invitations from "../invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "../keyring";
|
|
22
22
|
import * as dxos_halo_keys from "../keys";
|
|
@@ -2,9 +2,10 @@ import type { Stream } from "@dxos/codec-protobuf";
|
|
|
2
2
|
import substitutions from "../../../substitutions";
|
|
3
3
|
import * as dxos_bot from "../bot";
|
|
4
4
|
import * as dxos_client from "../client";
|
|
5
|
+
import * as dxos_client_services from "../client/services";
|
|
5
6
|
import * as dxos_config from "../config";
|
|
6
7
|
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
-
import * as
|
|
8
|
+
import * as dxos_devtools_swarm from "../devtools/swarm";
|
|
8
9
|
import * as dxos_echo_feed from "../echo/feed";
|
|
9
10
|
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
11
|
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
@@ -16,7 +17,6 @@ import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
|
16
17
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
17
18
|
import * as dxos_halo_credentials_greet from "./credentials/greet";
|
|
18
19
|
import * as dxos_halo_credentials_identity from "./credentials/identity";
|
|
19
|
-
import * as dxos_halo_credentials_party from "./credentials/party";
|
|
20
20
|
import * as dxos_halo_invitations from "./invitations";
|
|
21
21
|
import * as dxos_halo_keyring from "./keyring";
|
|
22
22
|
import * as dxos_halo_keys from "./keys";
|
|
@@ -43,18 +43,18 @@ import * as google_protobuf from "../../google/protobuf";
|
|
|
43
43
|
* Defined in:
|
|
44
44
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
45
45
|
*/
|
|
46
|
-
export interface
|
|
47
|
-
|
|
46
|
+
export interface SpaceGenesis {
|
|
47
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Defined in:
|
|
51
51
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
52
52
|
*/
|
|
53
|
-
export interface
|
|
54
|
-
|
|
55
|
-
role:
|
|
53
|
+
export interface SpaceMember {
|
|
54
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
55
|
+
role: SpaceMember.Role;
|
|
56
56
|
}
|
|
57
|
-
export namespace
|
|
57
|
+
export namespace SpaceMember {
|
|
58
58
|
/**
|
|
59
59
|
* Defined in:
|
|
60
60
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
@@ -79,7 +79,7 @@ export interface AuthorizedDevice {
|
|
|
79
79
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
80
80
|
*/
|
|
81
81
|
export interface AdmittedFeed {
|
|
82
|
-
|
|
82
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
83
83
|
/**
|
|
84
84
|
* Owning identity.
|
|
85
85
|
*/
|
|
@@ -127,6 +127,22 @@ export interface IdentityRecovery {
|
|
|
127
127
|
*/
|
|
128
128
|
recoveryKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Defined in:
|
|
132
|
+
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
133
|
+
*/
|
|
134
|
+
export interface ProfileDocument {
|
|
135
|
+
/**
|
|
136
|
+
* Options:
|
|
137
|
+
* - proto3_optional = true
|
|
138
|
+
*/
|
|
139
|
+
displayName?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Options:
|
|
142
|
+
* - proto3_optional = true
|
|
143
|
+
*/
|
|
144
|
+
avatarCid?: string;
|
|
145
|
+
}
|
|
130
146
|
/**
|
|
131
147
|
* Sets profile information.
|
|
132
148
|
*
|
|
@@ -134,25 +150,7 @@ export interface IdentityRecovery {
|
|
|
134
150
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
135
151
|
*/
|
|
136
152
|
export interface IdentityProfile {
|
|
137
|
-
profile:
|
|
138
|
-
}
|
|
139
|
-
export namespace IdentityProfile {
|
|
140
|
-
/**
|
|
141
|
-
* Defined in:
|
|
142
|
-
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
143
|
-
*/
|
|
144
|
-
export interface ProfileDocument {
|
|
145
|
-
/**
|
|
146
|
-
* Options:
|
|
147
|
-
* - proto3_optional = true
|
|
148
|
-
*/
|
|
149
|
-
displayName?: string;
|
|
150
|
-
/**
|
|
151
|
-
* Options:
|
|
152
|
-
* - proto3_optional = true
|
|
153
|
-
*/
|
|
154
|
-
avatarCid?: string;
|
|
155
|
-
}
|
|
153
|
+
profile: ProfileDocument;
|
|
156
154
|
}
|
|
157
155
|
/**
|
|
158
156
|
* Subject must be a key being referenced.
|
|
@@ -307,5 +305,5 @@ export interface IdentityRecord {
|
|
|
307
305
|
* Options:
|
|
308
306
|
* - proto3_optional = true
|
|
309
307
|
*/
|
|
310
|
-
profile?:
|
|
308
|
+
profile?: ProfileDocument;
|
|
311
309
|
}
|