@dxos/protocols 2.33.9-dev.d9963f00 → 2.33.9-dev.eb69ac10
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 +139 -4
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.js +4 -0
- package/dist/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/src/proto/gen/dxos/client.d.ts +216 -18
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js +4 -0
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +457 -0
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +10 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/auth.d.ts +12 -3
- package/dist/src/proto/gen/dxos/credentials/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/greet.d.ts +39 -8
- package/dist/src/proto/gen/dxos/credentials/greet.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/greet.js +4 -0
- package/dist/src/proto/gen/dxos/credentials/greet.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/identity.d.ts +12 -4
- package/dist/src/proto/gen/dxos/credentials/identity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/party.d.ts +50 -18
- package/dist/src/proto/gen/dxos/credentials/party.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/party.js +4 -0
- package/dist/src/proto/gen/dxos/credentials/party.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials.d.ts +39 -0
- package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools.d.ts +266 -30
- package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +65 -6
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.js +4 -0
- package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts +19 -3
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.js +6 -0
- package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +26 -4
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +49 -13
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +45 -13
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +9 -2
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +44 -2
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.js +4 -0
- package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +58 -8
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js +4 -0
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/test/echo.d.ts +15 -3
- package/dist/src/proto/gen/dxos/test/echo.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts +89 -89
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- 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/dist/src/public-key.d.ts +2 -2
- package/dist/src/public-key.d.ts.map +1 -1
- package/dist/src/public-key.js +26 -2
- package/dist/src/public-key.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/proto/dxos/bot.proto +21 -21
- package/src/proto/dxos/client.proto +17 -17
- package/src/proto/dxos/config.proto +90 -90
- package/src/proto/dxos/devtools.proto +15 -15
- package/src/proto/dxos/echo/feed.proto +9 -9
- package/src/proto/dxos/echo/invitation.proto +2 -2
- package/src/proto/dxos/echo/metadata.proto +4 -4
- package/src/proto/dxos/echo/snapshot.proto +5 -4
- package/src/proto/dxos/halo/auth.proto +2 -2
- package/src/proto/dxos/halo/greet.proto +1 -1
- package/src/proto/dxos/halo/keys.proto +6 -6
- package/src/proto/dxos/halo/signed.proto +14 -7
- package/src/proto/dxos/rpc.proto +14 -4
- package/src/proto/gen/dxos/bot.ts +139 -4
- package/src/proto/gen/dxos/client.ts +216 -18
- package/src/proto/gen/dxos/config.ts +457 -0
- package/src/proto/gen/dxos/credentials/auth.ts +12 -3
- package/src/proto/gen/dxos/credentials/greet.ts +39 -8
- package/src/proto/gen/dxos/credentials/identity.ts +12 -4
- package/src/proto/gen/dxos/credentials/party.ts +50 -18
- package/src/proto/gen/dxos/credentials.ts +39 -0
- package/src/proto/gen/dxos/devtools.ts +266 -30
- package/src/proto/gen/dxos/echo/feed.ts +65 -6
- package/src/proto/gen/dxos/echo/invitation.ts +19 -3
- package/src/proto/gen/dxos/echo/metadata.ts +26 -4
- package/src/proto/gen/dxos/echo/service.ts +49 -13
- package/src/proto/gen/dxos/echo/snapshot.ts +45 -13
- package/src/proto/gen/dxos/echo/timeframe.ts +9 -2
- package/src/proto/gen/dxos/halo/keys.ts +44 -2
- package/src/proto/gen/dxos/rpc.ts +58 -8
- package/src/proto/gen/dxos/test/echo.ts +15 -3
- package/src/proto/gen/google/protobuf.ts +89 -89
- package/src/proto/gen/index.ts +1 -1
- package/src/public-key.ts +31 -3
|
@@ -5,6 +5,10 @@ import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
|
5
5
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
6
6
|
import * as dxos_halo_keys from "./halo/keys";
|
|
7
7
|
import * as dxos_rpc from "./rpc";
|
|
8
|
+
/**
|
|
9
|
+
* Defined in:
|
|
10
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
11
|
+
*/
|
|
8
12
|
export interface DevtoolsHost {
|
|
9
13
|
events: (request: void) => Stream<Event>;
|
|
10
14
|
getConfig: (request: void) => Promise<GetConfigResponse>;
|
|
@@ -26,176 +30,408 @@ export interface DevtoolsHost {
|
|
|
26
30
|
subscribeToSignalTrace: (request: void) => Stream<SubscribeToSignalTraceResponse>;
|
|
27
31
|
subscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest) => Stream<SubscribeToSwarmInfoResponse>;
|
|
28
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Defined in:
|
|
35
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
36
|
+
*/
|
|
29
37
|
export interface Event {
|
|
30
38
|
ready?: ReadyEvent;
|
|
31
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Defined in:
|
|
42
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
43
|
+
*/
|
|
32
44
|
export interface ReadyEvent {
|
|
33
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Defined in:
|
|
48
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
49
|
+
*/
|
|
34
50
|
export interface GetConfigResponse {
|
|
35
|
-
config
|
|
51
|
+
config: string;
|
|
36
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Defined in:
|
|
55
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
56
|
+
*/
|
|
37
57
|
export interface EnableDebugLoggingRequest {
|
|
58
|
+
/**
|
|
59
|
+
* Options:
|
|
60
|
+
* - proto3_optional = true
|
|
61
|
+
*/
|
|
38
62
|
namespaces?: string;
|
|
39
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* Defined in:
|
|
66
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
67
|
+
*/
|
|
40
68
|
export interface EnableDebugLoggingResponse {
|
|
69
|
+
/**
|
|
70
|
+
* Options:
|
|
71
|
+
* - proto3_optional = true
|
|
72
|
+
*/
|
|
41
73
|
enabledNamespaces?: string;
|
|
42
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Defined in:
|
|
77
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
78
|
+
*/
|
|
43
79
|
export interface DisableDebugLoggingRequest {
|
|
80
|
+
/**
|
|
81
|
+
* Options:
|
|
82
|
+
* - proto3_optional = true
|
|
83
|
+
*/
|
|
44
84
|
namespaces?: string;
|
|
45
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Defined in:
|
|
88
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
89
|
+
*/
|
|
46
90
|
export interface DisableDebugLoggingResponse {
|
|
91
|
+
/**
|
|
92
|
+
* Options:
|
|
93
|
+
* - proto3_optional = true
|
|
94
|
+
*/
|
|
47
95
|
enabledNamespaces?: string;
|
|
48
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Defined in:
|
|
99
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
100
|
+
*/
|
|
49
101
|
export interface SubscribeToKeyringKeysRequest {
|
|
50
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Defined in:
|
|
105
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
106
|
+
*/
|
|
51
107
|
export interface SubscribeToKeyringKeysResponse {
|
|
52
108
|
keys?: dxos_halo_keys.KeyRecord[];
|
|
53
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Defined in:
|
|
112
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
113
|
+
*/
|
|
54
114
|
export interface SubscribeToCredentialMessagesRequest {
|
|
115
|
+
/**
|
|
116
|
+
* Options:
|
|
117
|
+
* - proto3_optional = true
|
|
118
|
+
*/
|
|
55
119
|
partyKey?: dxos_halo_keys.PubKey;
|
|
56
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Defined in:
|
|
123
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
124
|
+
*/
|
|
57
125
|
export interface SubscribeToCredentialMessagesResponse {
|
|
58
126
|
messages?: dxos_credentials.SignedMessage[];
|
|
59
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Defined in:
|
|
130
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
131
|
+
*/
|
|
60
132
|
export interface ResetStorageRequest {
|
|
61
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* Defined in:
|
|
136
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
137
|
+
*/
|
|
62
138
|
export interface GetNetworkPeersRequest {
|
|
63
|
-
topic
|
|
139
|
+
topic: Uint8Array;
|
|
64
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Defined in:
|
|
143
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
144
|
+
*/
|
|
65
145
|
export interface GetNetworkPeersResponse {
|
|
66
146
|
peers?: GetNetworkPeersResponse.PeerInfo[];
|
|
67
147
|
}
|
|
68
148
|
export declare namespace GetNetworkPeersResponse {
|
|
149
|
+
/**
|
|
150
|
+
* Defined in:
|
|
151
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
152
|
+
*/
|
|
69
153
|
interface PeerInfo {
|
|
70
|
-
id
|
|
71
|
-
state
|
|
154
|
+
id: dxos_halo_keys.PubKey;
|
|
155
|
+
state: string;
|
|
72
156
|
connections?: Uint8Array[];
|
|
73
157
|
}
|
|
74
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Defined in:
|
|
161
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
162
|
+
*/
|
|
75
163
|
export interface SubscribeToPartiesRequest {
|
|
76
164
|
partyKeys?: dxos_halo_keys.PubKey[];
|
|
77
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Defined in:
|
|
168
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
169
|
+
*/
|
|
78
170
|
export interface SubscribeToPartiesResponse {
|
|
79
171
|
parties?: SubscribeToPartiesResponse.PartyInfo[];
|
|
80
172
|
}
|
|
81
173
|
export declare namespace SubscribeToPartiesResponse {
|
|
174
|
+
/**
|
|
175
|
+
* Defined in:
|
|
176
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
177
|
+
*/
|
|
82
178
|
interface PartyInfo {
|
|
83
|
-
key
|
|
84
|
-
isOpen
|
|
85
|
-
isActive
|
|
86
|
-
timeframe
|
|
179
|
+
key: dxos_halo_keys.PubKey;
|
|
180
|
+
isOpen: boolean;
|
|
181
|
+
isActive: boolean;
|
|
182
|
+
timeframe: dxos_echo_timeframe.TimeframeVector;
|
|
87
183
|
feeds?: dxos_halo_keys.PubKey[];
|
|
88
184
|
properties?: Partial<Record<string, string>>;
|
|
89
185
|
}
|
|
90
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* Defined in:
|
|
189
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
190
|
+
*/
|
|
91
191
|
export interface SubscribeToItemsRequest {
|
|
92
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* Defined in:
|
|
195
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
196
|
+
*/
|
|
93
197
|
export interface SubscribeToItemsResponse {
|
|
94
|
-
data
|
|
198
|
+
data: string;
|
|
95
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Defined in:
|
|
202
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
203
|
+
*/
|
|
96
204
|
export interface SubscribeToFeedsRequest {
|
|
97
|
-
partyKey
|
|
205
|
+
partyKey: dxos_halo_keys.PubKey;
|
|
98
206
|
feedKeys?: dxos_halo_keys.PubKey[];
|
|
99
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* Defined in:
|
|
210
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
211
|
+
*/
|
|
100
212
|
export interface SubscribeToFeedsResponse {
|
|
101
213
|
feeds?: SubscribeToFeedsResponse.Feed[];
|
|
102
214
|
}
|
|
103
215
|
export declare namespace SubscribeToFeedsResponse {
|
|
216
|
+
/**
|
|
217
|
+
* Defined in:
|
|
218
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
219
|
+
*/
|
|
104
220
|
interface Feed {
|
|
105
|
-
feedKey
|
|
106
|
-
length
|
|
221
|
+
feedKey: dxos_halo_keys.PubKey;
|
|
222
|
+
length: number;
|
|
107
223
|
}
|
|
108
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* Defined in:
|
|
227
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
228
|
+
*/
|
|
109
229
|
export interface SubscribeToFeedBlocksRequest {
|
|
230
|
+
/**
|
|
231
|
+
* Options:
|
|
232
|
+
* - proto3_optional = true
|
|
233
|
+
*/
|
|
110
234
|
partyKey?: dxos_halo_keys.PubKey;
|
|
235
|
+
/**
|
|
236
|
+
* Options:
|
|
237
|
+
* - proto3_optional = true
|
|
238
|
+
*/
|
|
111
239
|
feedKey?: dxos_halo_keys.PubKey;
|
|
240
|
+
/**
|
|
241
|
+
* Options:
|
|
242
|
+
* - proto3_optional = true
|
|
243
|
+
*/
|
|
112
244
|
maxBlocks?: number;
|
|
113
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* Defined in:
|
|
248
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
249
|
+
*/
|
|
114
250
|
export interface SubscribeToFeedBlocksResponse {
|
|
115
251
|
blocks?: SubscribeToFeedBlocksResponse.Block[];
|
|
116
252
|
}
|
|
117
253
|
export declare namespace SubscribeToFeedBlocksResponse {
|
|
254
|
+
/**
|
|
255
|
+
* Defined in:
|
|
256
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
257
|
+
*/
|
|
118
258
|
interface Block {
|
|
119
|
-
key
|
|
120
|
-
seq
|
|
121
|
-
sync
|
|
122
|
-
path
|
|
123
|
-
data
|
|
259
|
+
key: Uint8Array;
|
|
260
|
+
seq: number;
|
|
261
|
+
sync: boolean;
|
|
262
|
+
path: string;
|
|
263
|
+
data: dxos_echo_feed.FeedMessage;
|
|
124
264
|
}
|
|
125
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* Defined in:
|
|
268
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
269
|
+
*/
|
|
126
270
|
export interface GetPartySnapshotRequest {
|
|
127
271
|
partyKey: dxos_halo_keys.PubKey;
|
|
128
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* Defined in:
|
|
275
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
276
|
+
*/
|
|
129
277
|
export interface GetPartySnapshotResponse {
|
|
278
|
+
/**
|
|
279
|
+
* Options:
|
|
280
|
+
* - proto3_optional = true
|
|
281
|
+
*/
|
|
130
282
|
snapshot?: dxos_echo_snapshot.PartySnapshot;
|
|
131
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* Defined in:
|
|
286
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
287
|
+
*/
|
|
132
288
|
export interface SavePartySnapshotRequest {
|
|
133
289
|
partyKey: dxos_halo_keys.PubKey;
|
|
134
290
|
}
|
|
291
|
+
/**
|
|
292
|
+
* Defined in:
|
|
293
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
294
|
+
*/
|
|
135
295
|
export interface SavePartySnapshotResponse {
|
|
296
|
+
/**
|
|
297
|
+
* Options:
|
|
298
|
+
* - proto3_optional = true
|
|
299
|
+
*/
|
|
136
300
|
snapshot?: dxos_echo_snapshot.PartySnapshot;
|
|
137
301
|
}
|
|
302
|
+
/**
|
|
303
|
+
* Defined in:
|
|
304
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
305
|
+
*/
|
|
138
306
|
export interface ClearSnapshotsRequest {
|
|
139
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* Defined in:
|
|
310
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
311
|
+
*/
|
|
140
312
|
export interface SubscribeToNetworkTopicsResponse {
|
|
141
313
|
topics?: SubscribeToNetworkTopicsResponse.Topic[];
|
|
142
314
|
}
|
|
143
315
|
export declare namespace SubscribeToNetworkTopicsResponse {
|
|
316
|
+
/**
|
|
317
|
+
* Defined in:
|
|
318
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
319
|
+
*/
|
|
144
320
|
interface Topic {
|
|
145
|
-
topic
|
|
321
|
+
topic: dxos_halo_keys.PubKey;
|
|
322
|
+
/**
|
|
323
|
+
* Options:
|
|
324
|
+
* - proto3_optional = true
|
|
325
|
+
*/
|
|
146
326
|
label?: string;
|
|
147
327
|
}
|
|
148
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* Defined in:
|
|
331
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
332
|
+
*/
|
|
149
333
|
export interface SubscribeToSignalStatusResponse {
|
|
150
334
|
servers?: SubscribeToSignalStatusResponse.SignalServer[];
|
|
151
335
|
}
|
|
152
336
|
export declare namespace SubscribeToSignalStatusResponse {
|
|
337
|
+
/**
|
|
338
|
+
* Defined in:
|
|
339
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
340
|
+
*/
|
|
153
341
|
interface SignalServer {
|
|
154
|
-
host
|
|
155
|
-
state
|
|
342
|
+
host: string;
|
|
343
|
+
state: string;
|
|
344
|
+
/**
|
|
345
|
+
* Options:
|
|
346
|
+
* - proto3_optional = true
|
|
347
|
+
*/
|
|
156
348
|
error?: string;
|
|
157
|
-
reconnectIn
|
|
158
|
-
connectionStarted
|
|
159
|
-
lastStateChange
|
|
349
|
+
reconnectIn: number;
|
|
350
|
+
connectionStarted: number;
|
|
351
|
+
lastStateChange: number;
|
|
160
352
|
}
|
|
161
353
|
}
|
|
354
|
+
/**
|
|
355
|
+
* Defined in:
|
|
356
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
357
|
+
*/
|
|
162
358
|
export interface SubscribeToSignalTraceResponse {
|
|
163
359
|
events?: string[];
|
|
164
360
|
}
|
|
361
|
+
/**
|
|
362
|
+
* Defined in:
|
|
363
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
364
|
+
*/
|
|
165
365
|
export interface SubscribeToSwarmInfoRequest {
|
|
166
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Defined in:
|
|
369
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
370
|
+
*/
|
|
167
371
|
export interface SubscribeToSwarmInfoResponse {
|
|
168
372
|
data?: SubscribeToSwarmInfoResponse.SwarmInfo[];
|
|
169
373
|
}
|
|
170
374
|
export declare namespace SubscribeToSwarmInfoResponse {
|
|
375
|
+
/**
|
|
376
|
+
* Defined in:
|
|
377
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
378
|
+
*/
|
|
171
379
|
interface SwarmInfo {
|
|
172
|
-
id
|
|
173
|
-
topic
|
|
380
|
+
id: dxos_halo_keys.PubKey;
|
|
381
|
+
topic: dxos_halo_keys.PubKey;
|
|
382
|
+
/**
|
|
383
|
+
* Options:
|
|
384
|
+
* - proto3_optional = true
|
|
385
|
+
*/
|
|
174
386
|
label?: string;
|
|
175
|
-
isActive
|
|
387
|
+
isActive: boolean;
|
|
176
388
|
connections?: SubscribeToSwarmInfoResponse.SwarmInfo.ConnectionInfo[];
|
|
177
389
|
}
|
|
178
390
|
namespace SwarmInfo {
|
|
391
|
+
/**
|
|
392
|
+
* Defined in:
|
|
393
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
394
|
+
*/
|
|
179
395
|
interface ConnectionInfo {
|
|
180
|
-
state
|
|
181
|
-
sessionId
|
|
182
|
-
remotePeerId
|
|
396
|
+
state: string;
|
|
397
|
+
sessionId: dxos_halo_keys.PubKey;
|
|
398
|
+
remotePeerId: dxos_halo_keys.PubKey;
|
|
399
|
+
/**
|
|
400
|
+
* Options:
|
|
401
|
+
* - proto3_optional = true
|
|
402
|
+
*/
|
|
183
403
|
transport?: string;
|
|
184
404
|
protocolExtensions?: string[];
|
|
185
405
|
events?: SubscribeToSwarmInfoResponse.SwarmInfo.ConnectionInfo.Json[];
|
|
186
406
|
}
|
|
187
407
|
namespace ConnectionInfo {
|
|
408
|
+
/**
|
|
409
|
+
* Defined in:
|
|
410
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
411
|
+
*/
|
|
188
412
|
interface Json {
|
|
413
|
+
/**
|
|
414
|
+
* Options:
|
|
415
|
+
* - proto3_optional = true
|
|
416
|
+
*/
|
|
189
417
|
data?: string;
|
|
190
418
|
}
|
|
191
419
|
}
|
|
192
420
|
}
|
|
193
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Defined in:
|
|
424
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
425
|
+
*/
|
|
194
426
|
export interface TracingService {
|
|
195
427
|
setTracingOptions: (request: SetTracingOptionsRequest) => Promise<void>;
|
|
196
428
|
subscribeToRpcTrace: (request: void) => Stream<dxos_rpc.RpcMessage>;
|
|
197
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* Defined in:
|
|
432
|
+
* {@link file://./../../dxos/devtools.proto}
|
|
433
|
+
*/
|
|
198
434
|
export interface SetTracingOptionsRequest {
|
|
199
|
-
enable
|
|
435
|
+
enable: boolean;
|
|
200
436
|
}
|
|
201
437
|
//# sourceMappingURL=devtools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools.d.ts","sourceRoot":"","sources":["../../../../../src/proto/gen/dxos/devtools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAC;AAKlD,OAAO,KAAK,cAAc,MAAM,aAAa,CAAC;AAI9C,OAAO,KAAK,kBAAkB,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,cAAc,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAC;AAGlC,MAAM,W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AC;YACnB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;YAC9B,MAAM,CAAC,EAAE,4BAA4B,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;SACzE;QACD,UAAiB,cAAc,CAAC;YAC5B;;;eAGG;YACH,UAAiB,IAAI;gBACjB;;;mBAGG;gBACH,IAAI,CAAC,EAAE,MAAM,CAAC;aACjB;SACJ;KACJ;CACJ;AACD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B,iBAAiB,EAAE,CAAC,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,mBAAmB,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;CACvE;AACD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACrC,MAAM,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -3,49 +3,108 @@ import * as dxos_echo_timeframe from "./timeframe";
|
|
|
3
3
|
/**
|
|
4
4
|
* Outer message type decoded by Codec.
|
|
5
5
|
* This is what is written to the feeds.
|
|
6
|
+
*
|
|
7
|
+
* Defined in:
|
|
8
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
6
9
|
*/
|
|
7
10
|
export interface FeedMessage {
|
|
8
|
-
timeframe
|
|
11
|
+
timeframe: dxos_echo_timeframe.TimeframeVector;
|
|
9
12
|
halo?: CredentialsMessage;
|
|
10
13
|
echo?: EchoEnvelope;
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
16
|
* A container for dxos.credentials.Message
|
|
17
|
+
*
|
|
18
|
+
* Defined in:
|
|
19
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
14
20
|
*/
|
|
15
21
|
export interface CredentialsMessage {
|
|
16
|
-
data
|
|
22
|
+
data: Uint8Array;
|
|
17
23
|
}
|
|
18
24
|
/**
|
|
19
25
|
* Wrapper for all ECHO messages.
|
|
26
|
+
*
|
|
27
|
+
* Defined in:
|
|
28
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
20
29
|
*/
|
|
21
30
|
export interface EchoEnvelope {
|
|
22
|
-
itemId
|
|
31
|
+
itemId: string;
|
|
32
|
+
/**
|
|
33
|
+
* Options:
|
|
34
|
+
* - proto3_optional = true
|
|
35
|
+
*/
|
|
23
36
|
genesis?: ItemGenesis;
|
|
37
|
+
/**
|
|
38
|
+
* Options:
|
|
39
|
+
* - proto3_optional = true
|
|
40
|
+
*/
|
|
24
41
|
itemMutation?: ItemMutation;
|
|
42
|
+
/**
|
|
43
|
+
* Options:
|
|
44
|
+
* - proto3_optional = true
|
|
45
|
+
*/
|
|
25
46
|
mutation?: Uint8Array;
|
|
26
47
|
/**
|
|
27
48
|
* Set the model to the provided snapshot.
|
|
49
|
+
*
|
|
50
|
+
* Options:
|
|
51
|
+
* - proto3_optional = true
|
|
28
52
|
*/
|
|
29
53
|
snapshot?: dxos_echo_snapshot.ModelSnapshot;
|
|
30
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Defined in:
|
|
57
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
58
|
+
*/
|
|
31
59
|
export interface LinkData {
|
|
32
|
-
source
|
|
33
|
-
target
|
|
60
|
+
source: string;
|
|
61
|
+
target: string;
|
|
34
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Defined in:
|
|
65
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
66
|
+
*/
|
|
35
67
|
export interface ItemGenesis {
|
|
68
|
+
/**
|
|
69
|
+
* Options:
|
|
70
|
+
* - proto3_optional = true
|
|
71
|
+
*/
|
|
36
72
|
itemType?: string;
|
|
37
|
-
modelType
|
|
73
|
+
modelType: string;
|
|
74
|
+
/**
|
|
75
|
+
* Options:
|
|
76
|
+
* - proto3_optional = true
|
|
77
|
+
*/
|
|
38
78
|
modelVersion?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Options:
|
|
81
|
+
* - proto3_optional = true
|
|
82
|
+
*/
|
|
39
83
|
link?: LinkData;
|
|
40
84
|
}
|
|
41
85
|
/**
|
|
42
86
|
* Item mutation.
|
|
87
|
+
*
|
|
88
|
+
* Defined in:
|
|
89
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
43
90
|
*/
|
|
44
91
|
export interface ItemMutation {
|
|
92
|
+
/**
|
|
93
|
+
* Options:
|
|
94
|
+
* - proto3_optional = true
|
|
95
|
+
*/
|
|
45
96
|
parentId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Options:
|
|
99
|
+
* - proto3_optional = true
|
|
100
|
+
*/
|
|
46
101
|
action?: ItemMutation.Action;
|
|
47
102
|
}
|
|
48
103
|
export declare namespace ItemMutation {
|
|
104
|
+
/**
|
|
105
|
+
* Defined in:
|
|
106
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
107
|
+
*/
|
|
49
108
|
enum Action {
|
|
50
109
|
NOOP = 0,
|
|
51
110
|
DELETE = 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/feed.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,kBAAkB,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,mBAAmB,MAAM,aAAa,CAAC;AAKnD
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/feed.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,kBAAkB,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,mBAAmB,MAAM,aAAa,CAAC;AAKnD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IACxB,SAAS,EAAE,mBAAmB,CAAC,eAAe,CAAC;IAC/C,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,IAAI,CAAC,EAAE,YAAY,CAAC;CACvB;AACD;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,UAAU,CAAC;CACpB;AACD;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC;CAC/C;AACD;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AACD;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB;AACD;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;CAChC;AACD,yBAAiB,YAAY,CAAC;IAC1B;;;OAGG;IACH,KAAY,MAAM;QACd,IAAI,IAAI;QACR,MAAM,IAAI;QACV,OAAO,IAAI;KACd;CACJ"}
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ItemMutation = void 0;
|
|
4
4
|
var ItemMutation;
|
|
5
5
|
(function (ItemMutation) {
|
|
6
|
+
/**
|
|
7
|
+
* Defined in:
|
|
8
|
+
* {@link file://./../../../dxos/echo/feed.proto}
|
|
9
|
+
*/
|
|
6
10
|
let Action;
|
|
7
11
|
(function (Action) {
|
|
8
12
|
Action[Action["NOOP"] = 0] = "NOOP";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/feed.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"feed.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/feed.ts"],"names":[],"mappings":";;;AAuHA,IAAiB,YAAY,CAU5B;AAVD,WAAiB,YAAY;IACzB;;;OAGG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,mCAAQ,CAAA;QACR,uCAAU,CAAA;QACV,yCAAW,CAAA;IACf,CAAC,EAJW,MAAM,GAAN,mBAAM,KAAN,mBAAM,QAIjB;AACL,CAAC,EAVgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAU5B"}
|
|
@@ -1,17 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defined in:
|
|
3
|
+
* {@link file://./../../../dxos/echo/invitation.proto}
|
|
4
|
+
*/
|
|
1
5
|
export interface InvitationDescriptor {
|
|
2
|
-
type
|
|
3
|
-
swarmKey
|
|
4
|
-
invitation
|
|
6
|
+
type: InvitationDescriptor.Type;
|
|
7
|
+
swarmKey: Uint8Array;
|
|
8
|
+
invitation: Uint8Array;
|
|
5
9
|
/**
|
|
6
10
|
* Only present if type == OFFLINE.
|
|
11
|
+
*
|
|
12
|
+
* Options:
|
|
13
|
+
* - proto3_optional = true
|
|
7
14
|
*/
|
|
8
15
|
identityKey?: Uint8Array;
|
|
9
16
|
/**
|
|
10
17
|
* Must be stripped out when passing to another peer.
|
|
18
|
+
*
|
|
19
|
+
* Options:
|
|
20
|
+
* - proto3_optional = true
|
|
11
21
|
*/
|
|
12
22
|
secret?: Uint8Array;
|
|
13
23
|
}
|
|
14
24
|
export declare namespace InvitationDescriptor {
|
|
25
|
+
/**
|
|
26
|
+
* Defines an invitation type.
|
|
27
|
+
*
|
|
28
|
+
* Defined in:
|
|
29
|
+
* {@link file://./../../../dxos/echo/invitation.proto}
|
|
30
|
+
*/
|
|
15
31
|
enum Type {
|
|
16
32
|
INTERACTIVE = 1,
|
|
17
33
|
OFFLINE = 2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/invitation.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,oBAAoB;IACjC,IAAI,
|
|
1
|
+
{"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/invitation.ts"],"names":[],"mappings":"AAmBA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAChC,QAAQ,EAAE,UAAU,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;IACvB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB;AACD,yBAAiB,oBAAoB,CAAC;IAClC;;;;;OAKG;IACH,KAAY,IAAI;QACZ,WAAW,IAAI;QACf,OAAO,IAAI;KACd;CACJ"}
|
|
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.InvitationDescriptor = void 0;
|
|
4
4
|
var InvitationDescriptor;
|
|
5
5
|
(function (InvitationDescriptor) {
|
|
6
|
+
/**
|
|
7
|
+
* Defines an invitation type.
|
|
8
|
+
*
|
|
9
|
+
* Defined in:
|
|
10
|
+
* {@link file://./../../../dxos/echo/invitation.proto}
|
|
11
|
+
*/
|
|
6
12
|
let Type;
|
|
7
13
|
(function (Type) {
|
|
8
14
|
Type[Type["INTERACTIVE"] = 1] = "INTERACTIVE";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/invitation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"invitation.js","sourceRoot":"","sources":["../../../../../../src/proto/gen/dxos/echo/invitation.ts"],"names":[],"mappings":";;;AA0CA,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACjC;;;;;OAKG;IACH,IAAY,IAGX;IAHD,WAAY,IAAI;QACZ,6CAAe,CAAA;QACf,qCAAW,CAAA;IACf,CAAC,EAHW,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QAGf;AACL,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|