@dxos/protocols 2.33.9-dev.6efa8ddf → 2.33.9-dev.8e92e630
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 +4 -139
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.js +0 -4
- package/dist/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/src/proto/gen/dxos/client.d.ts +18 -216
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js +0 -4
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +0 -457
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +0 -10
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/auth.d.ts +3 -12
- package/dist/src/proto/gen/dxos/credentials/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/greet.d.ts +8 -39
- package/dist/src/proto/gen/dxos/credentials/greet.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/greet.js +0 -4
- package/dist/src/proto/gen/dxos/credentials/greet.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/identity.d.ts +4 -12
- package/dist/src/proto/gen/dxos/credentials/identity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/party.d.ts +18 -50
- package/dist/src/proto/gen/dxos/credentials/party.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/credentials/party.js +0 -4
- package/dist/src/proto/gen/dxos/credentials/party.js.map +1 -1
- package/dist/src/proto/gen/dxos/credentials.d.ts +0 -39
- package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools.d.ts +30 -266
- package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +6 -65
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.js +0 -4
- package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts +3 -19
- package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/invitation.js +0 -6
- package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +4 -26
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +13 -49
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +13 -45
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +2 -9
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -44
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.js +0 -4
- package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +8 -48
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js +0 -4
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/test/echo.d.ts +3 -15
- 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/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/proto/gen/dxos/bot.ts +4 -139
- package/src/proto/gen/dxos/client.ts +18 -216
- package/src/proto/gen/dxos/config.ts +0 -457
- package/src/proto/gen/dxos/credentials/auth.ts +3 -12
- package/src/proto/gen/dxos/credentials/greet.ts +8 -39
- package/src/proto/gen/dxos/credentials/identity.ts +4 -12
- package/src/proto/gen/dxos/credentials/party.ts +18 -50
- package/src/proto/gen/dxos/credentials.ts +0 -39
- package/src/proto/gen/dxos/devtools.ts +30 -266
- package/src/proto/gen/dxos/echo/feed.ts +6 -65
- package/src/proto/gen/dxos/echo/invitation.ts +3 -19
- package/src/proto/gen/dxos/echo/metadata.ts +4 -26
- package/src/proto/gen/dxos/echo/service.ts +13 -49
- package/src/proto/gen/dxos/echo/snapshot.ts +13 -45
- package/src/proto/gen/dxos/echo/timeframe.ts +2 -9
- package/src/proto/gen/dxos/halo/keys.ts +2 -44
- package/src/proto/gen/dxos/rpc.ts +8 -48
- package/src/proto/gen/dxos/test/echo.ts +3 -15
- package/src/proto/gen/google/protobuf.ts +89 -89
- package/src/proto/gen/index.ts +1 -1
|
@@ -17,10 +17,6 @@ import * as dxos_halo_keys from "./halo/keys";
|
|
|
17
17
|
import * as dxos_rpc from "./rpc";
|
|
18
18
|
import * as dxos_test_echo from "./test/echo";
|
|
19
19
|
import * as google_protobuf from "../google/protobuf";
|
|
20
|
-
/**
|
|
21
|
-
* Defined in:
|
|
22
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
23
|
-
*/
|
|
24
20
|
export interface DevtoolsHost {
|
|
25
21
|
events: (request: void) => Stream<Event>;
|
|
26
22
|
getConfig: (request: void) => Promise<GetConfigResponse>;
|
|
@@ -42,407 +38,175 @@ export interface DevtoolsHost {
|
|
|
42
38
|
subscribeToSignalTrace: (request: void) => Stream<SubscribeToSignalTraceResponse>;
|
|
43
39
|
subscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest) => Stream<SubscribeToSwarmInfoResponse>;
|
|
44
40
|
}
|
|
45
|
-
/**
|
|
46
|
-
* Defined in:
|
|
47
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
48
|
-
*/
|
|
49
41
|
export interface Event {
|
|
50
42
|
ready?: ReadyEvent;
|
|
51
43
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Defined in:
|
|
54
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
55
|
-
*/
|
|
56
44
|
export interface ReadyEvent {
|
|
57
45
|
}
|
|
58
|
-
/**
|
|
59
|
-
* Defined in:
|
|
60
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
61
|
-
*/
|
|
62
46
|
export interface GetConfigResponse {
|
|
63
|
-
config
|
|
47
|
+
config?: string;
|
|
64
48
|
}
|
|
65
|
-
/**
|
|
66
|
-
* Defined in:
|
|
67
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
68
|
-
*/
|
|
69
49
|
export interface EnableDebugLoggingRequest {
|
|
70
|
-
/**
|
|
71
|
-
* Options:
|
|
72
|
-
* - proto3_optional = true
|
|
73
|
-
*/
|
|
74
50
|
namespaces?: string;
|
|
75
51
|
}
|
|
76
|
-
/**
|
|
77
|
-
* Defined in:
|
|
78
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
79
|
-
*/
|
|
80
52
|
export interface EnableDebugLoggingResponse {
|
|
81
|
-
/**
|
|
82
|
-
* Options:
|
|
83
|
-
* - proto3_optional = true
|
|
84
|
-
*/
|
|
85
53
|
enabledNamespaces?: string;
|
|
86
54
|
}
|
|
87
|
-
/**
|
|
88
|
-
* Defined in:
|
|
89
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
90
|
-
*/
|
|
91
55
|
export interface DisableDebugLoggingRequest {
|
|
92
|
-
/**
|
|
93
|
-
* Options:
|
|
94
|
-
* - proto3_optional = true
|
|
95
|
-
*/
|
|
96
56
|
namespaces?: string;
|
|
97
57
|
}
|
|
98
|
-
/**
|
|
99
|
-
* Defined in:
|
|
100
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
101
|
-
*/
|
|
102
58
|
export interface DisableDebugLoggingResponse {
|
|
103
|
-
/**
|
|
104
|
-
* Options:
|
|
105
|
-
* - proto3_optional = true
|
|
106
|
-
*/
|
|
107
59
|
enabledNamespaces?: string;
|
|
108
60
|
}
|
|
109
|
-
/**
|
|
110
|
-
* Defined in:
|
|
111
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
112
|
-
*/
|
|
113
61
|
export interface SubscribeToKeyringKeysRequest {
|
|
114
62
|
}
|
|
115
|
-
/**
|
|
116
|
-
* Defined in:
|
|
117
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
118
|
-
*/
|
|
119
63
|
export interface SubscribeToKeyringKeysResponse {
|
|
120
64
|
keys?: dxos_halo_keys.KeyRecord[];
|
|
121
65
|
}
|
|
122
|
-
/**
|
|
123
|
-
* Defined in:
|
|
124
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
125
|
-
*/
|
|
126
66
|
export interface SubscribeToCredentialMessagesRequest {
|
|
127
|
-
/**
|
|
128
|
-
* Options:
|
|
129
|
-
* - proto3_optional = true
|
|
130
|
-
*/
|
|
131
67
|
partyKey?: dxos_halo_keys.PubKey;
|
|
132
68
|
}
|
|
133
|
-
/**
|
|
134
|
-
* Defined in:
|
|
135
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
136
|
-
*/
|
|
137
69
|
export interface SubscribeToCredentialMessagesResponse {
|
|
138
70
|
messages?: dxos_credentials.SignedMessage[];
|
|
139
71
|
}
|
|
140
|
-
/**
|
|
141
|
-
* Defined in:
|
|
142
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
143
|
-
*/
|
|
144
72
|
export interface ResetStorageRequest {
|
|
145
73
|
}
|
|
146
|
-
/**
|
|
147
|
-
* Defined in:
|
|
148
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
149
|
-
*/
|
|
150
74
|
export interface GetNetworkPeersRequest {
|
|
151
|
-
topic
|
|
75
|
+
topic?: Uint8Array;
|
|
152
76
|
}
|
|
153
|
-
/**
|
|
154
|
-
* Defined in:
|
|
155
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
156
|
-
*/
|
|
157
77
|
export interface GetNetworkPeersResponse {
|
|
158
78
|
peers?: GetNetworkPeersResponse.PeerInfo[];
|
|
159
79
|
}
|
|
160
80
|
export namespace GetNetworkPeersResponse {
|
|
161
|
-
/**
|
|
162
|
-
* Defined in:
|
|
163
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
164
|
-
*/
|
|
165
81
|
export interface PeerInfo {
|
|
166
|
-
id
|
|
167
|
-
state
|
|
82
|
+
id?: dxos_halo_keys.PubKey;
|
|
83
|
+
state?: string;
|
|
168
84
|
connections?: Uint8Array[];
|
|
169
85
|
}
|
|
170
86
|
}
|
|
171
|
-
/**
|
|
172
|
-
* Defined in:
|
|
173
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
174
|
-
*/
|
|
175
87
|
export interface SubscribeToPartiesRequest {
|
|
176
88
|
partyKeys?: dxos_halo_keys.PubKey[];
|
|
177
89
|
}
|
|
178
|
-
/**
|
|
179
|
-
* Defined in:
|
|
180
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
181
|
-
*/
|
|
182
90
|
export interface SubscribeToPartiesResponse {
|
|
183
91
|
parties?: SubscribeToPartiesResponse.PartyInfo[];
|
|
184
92
|
}
|
|
185
93
|
export namespace SubscribeToPartiesResponse {
|
|
186
|
-
/**
|
|
187
|
-
* Defined in:
|
|
188
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
189
|
-
*/
|
|
190
94
|
export interface PartyInfo {
|
|
191
|
-
key
|
|
192
|
-
isOpen
|
|
193
|
-
isActive
|
|
194
|
-
timeframe
|
|
95
|
+
key?: dxos_halo_keys.PubKey;
|
|
96
|
+
isOpen?: boolean;
|
|
97
|
+
isActive?: boolean;
|
|
98
|
+
timeframe?: dxos_echo_timeframe.TimeframeVector;
|
|
195
99
|
feeds?: dxos_halo_keys.PubKey[];
|
|
196
100
|
properties?: Partial<Record<string, string>>;
|
|
197
101
|
}
|
|
198
102
|
}
|
|
199
|
-
/**
|
|
200
|
-
* Defined in:
|
|
201
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
202
|
-
*/
|
|
203
103
|
export interface SubscribeToItemsRequest {
|
|
204
104
|
}
|
|
205
|
-
/**
|
|
206
|
-
* Defined in:
|
|
207
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
208
|
-
*/
|
|
209
105
|
export interface SubscribeToItemsResponse {
|
|
210
|
-
data
|
|
106
|
+
data?: string;
|
|
211
107
|
}
|
|
212
|
-
/**
|
|
213
|
-
* Defined in:
|
|
214
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
215
|
-
*/
|
|
216
108
|
export interface SubscribeToFeedsRequest {
|
|
217
|
-
partyKey
|
|
109
|
+
partyKey?: dxos_halo_keys.PubKey;
|
|
218
110
|
feedKeys?: dxos_halo_keys.PubKey[];
|
|
219
111
|
}
|
|
220
|
-
/**
|
|
221
|
-
* Defined in:
|
|
222
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
223
|
-
*/
|
|
224
112
|
export interface SubscribeToFeedsResponse {
|
|
225
113
|
feeds?: SubscribeToFeedsResponse.Feed[];
|
|
226
114
|
}
|
|
227
115
|
export namespace SubscribeToFeedsResponse {
|
|
228
|
-
/**
|
|
229
|
-
* Defined in:
|
|
230
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
231
|
-
*/
|
|
232
116
|
export interface Feed {
|
|
233
|
-
feedKey
|
|
234
|
-
length
|
|
117
|
+
feedKey?: dxos_halo_keys.PubKey;
|
|
118
|
+
length?: number;
|
|
235
119
|
}
|
|
236
120
|
}
|
|
237
|
-
/**
|
|
238
|
-
* Defined in:
|
|
239
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
240
|
-
*/
|
|
241
121
|
export interface SubscribeToFeedBlocksRequest {
|
|
242
|
-
/**
|
|
243
|
-
* Options:
|
|
244
|
-
* - proto3_optional = true
|
|
245
|
-
*/
|
|
246
122
|
partyKey?: dxos_halo_keys.PubKey;
|
|
247
|
-
/**
|
|
248
|
-
* Options:
|
|
249
|
-
* - proto3_optional = true
|
|
250
|
-
*/
|
|
251
123
|
feedKey?: dxos_halo_keys.PubKey;
|
|
252
|
-
/**
|
|
253
|
-
* Options:
|
|
254
|
-
* - proto3_optional = true
|
|
255
|
-
*/
|
|
256
124
|
maxBlocks?: number;
|
|
257
125
|
}
|
|
258
|
-
/**
|
|
259
|
-
* Defined in:
|
|
260
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
261
|
-
*/
|
|
262
126
|
export interface SubscribeToFeedBlocksResponse {
|
|
263
127
|
blocks?: SubscribeToFeedBlocksResponse.Block[];
|
|
264
128
|
}
|
|
265
129
|
export namespace SubscribeToFeedBlocksResponse {
|
|
266
|
-
/**
|
|
267
|
-
* Defined in:
|
|
268
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
269
|
-
*/
|
|
270
130
|
export interface Block {
|
|
271
|
-
key
|
|
272
|
-
seq
|
|
273
|
-
sync
|
|
274
|
-
path
|
|
275
|
-
data
|
|
131
|
+
key?: Uint8Array;
|
|
132
|
+
seq?: number;
|
|
133
|
+
sync?: boolean;
|
|
134
|
+
path?: string;
|
|
135
|
+
data?: dxos_echo_feed.FeedMessage;
|
|
276
136
|
}
|
|
277
137
|
}
|
|
278
|
-
/**
|
|
279
|
-
* Defined in:
|
|
280
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
281
|
-
*/
|
|
282
138
|
export interface GetPartySnapshotRequest {
|
|
283
139
|
partyKey: dxos_halo_keys.PubKey;
|
|
284
140
|
}
|
|
285
|
-
/**
|
|
286
|
-
* Defined in:
|
|
287
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
288
|
-
*/
|
|
289
141
|
export interface GetPartySnapshotResponse {
|
|
290
|
-
/**
|
|
291
|
-
* Options:
|
|
292
|
-
* - proto3_optional = true
|
|
293
|
-
*/
|
|
294
142
|
snapshot?: dxos_echo_snapshot.PartySnapshot;
|
|
295
143
|
}
|
|
296
|
-
/**
|
|
297
|
-
* Defined in:
|
|
298
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
299
|
-
*/
|
|
300
144
|
export interface SavePartySnapshotRequest {
|
|
301
145
|
partyKey: dxos_halo_keys.PubKey;
|
|
302
146
|
}
|
|
303
|
-
/**
|
|
304
|
-
* Defined in:
|
|
305
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
306
|
-
*/
|
|
307
147
|
export interface SavePartySnapshotResponse {
|
|
308
|
-
/**
|
|
309
|
-
* Options:
|
|
310
|
-
* - proto3_optional = true
|
|
311
|
-
*/
|
|
312
148
|
snapshot?: dxos_echo_snapshot.PartySnapshot;
|
|
313
149
|
}
|
|
314
|
-
/**
|
|
315
|
-
* Defined in:
|
|
316
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
317
|
-
*/
|
|
318
150
|
export interface ClearSnapshotsRequest {
|
|
319
151
|
}
|
|
320
|
-
/**
|
|
321
|
-
* Defined in:
|
|
322
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
323
|
-
*/
|
|
324
152
|
export interface SubscribeToNetworkTopicsResponse {
|
|
325
153
|
topics?: SubscribeToNetworkTopicsResponse.Topic[];
|
|
326
154
|
}
|
|
327
155
|
export namespace SubscribeToNetworkTopicsResponse {
|
|
328
|
-
/**
|
|
329
|
-
* Defined in:
|
|
330
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
331
|
-
*/
|
|
332
156
|
export interface Topic {
|
|
333
|
-
topic
|
|
334
|
-
/**
|
|
335
|
-
* Options:
|
|
336
|
-
* - proto3_optional = true
|
|
337
|
-
*/
|
|
157
|
+
topic?: dxos_halo_keys.PubKey;
|
|
338
158
|
label?: string;
|
|
339
159
|
}
|
|
340
160
|
}
|
|
341
|
-
/**
|
|
342
|
-
* Defined in:
|
|
343
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
344
|
-
*/
|
|
345
161
|
export interface SubscribeToSignalStatusResponse {
|
|
346
162
|
servers?: SubscribeToSignalStatusResponse.SignalServer[];
|
|
347
163
|
}
|
|
348
164
|
export namespace SubscribeToSignalStatusResponse {
|
|
349
|
-
/**
|
|
350
|
-
* Defined in:
|
|
351
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
352
|
-
*/
|
|
353
165
|
export interface SignalServer {
|
|
354
|
-
host
|
|
355
|
-
state
|
|
356
|
-
/**
|
|
357
|
-
* Options:
|
|
358
|
-
* - proto3_optional = true
|
|
359
|
-
*/
|
|
166
|
+
host?: string;
|
|
167
|
+
state?: string;
|
|
360
168
|
error?: string;
|
|
361
|
-
reconnectIn
|
|
362
|
-
connectionStarted
|
|
363
|
-
lastStateChange
|
|
169
|
+
reconnectIn?: number;
|
|
170
|
+
connectionStarted?: number;
|
|
171
|
+
lastStateChange?: number;
|
|
364
172
|
}
|
|
365
173
|
}
|
|
366
|
-
/**
|
|
367
|
-
* Defined in:
|
|
368
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
369
|
-
*/
|
|
370
174
|
export interface SubscribeToSignalTraceResponse {
|
|
371
175
|
events?: string[];
|
|
372
176
|
}
|
|
373
|
-
/**
|
|
374
|
-
* Defined in:
|
|
375
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
376
|
-
*/
|
|
377
177
|
export interface SubscribeToSwarmInfoRequest {
|
|
378
178
|
}
|
|
379
|
-
/**
|
|
380
|
-
* Defined in:
|
|
381
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
382
|
-
*/
|
|
383
179
|
export interface SubscribeToSwarmInfoResponse {
|
|
384
180
|
data?: SubscribeToSwarmInfoResponse.SwarmInfo[];
|
|
385
181
|
}
|
|
386
182
|
export namespace SubscribeToSwarmInfoResponse {
|
|
387
|
-
/**
|
|
388
|
-
* Defined in:
|
|
389
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
390
|
-
*/
|
|
391
183
|
export interface SwarmInfo {
|
|
392
|
-
id
|
|
393
|
-
topic
|
|
394
|
-
/**
|
|
395
|
-
* Options:
|
|
396
|
-
* - proto3_optional = true
|
|
397
|
-
*/
|
|
184
|
+
id?: dxos_halo_keys.PubKey;
|
|
185
|
+
topic?: dxos_halo_keys.PubKey;
|
|
398
186
|
label?: string;
|
|
399
|
-
isActive
|
|
187
|
+
isActive?: boolean;
|
|
400
188
|
connections?: SubscribeToSwarmInfoResponse.SwarmInfo.ConnectionInfo[];
|
|
401
189
|
}
|
|
402
190
|
export namespace SwarmInfo {
|
|
403
|
-
/**
|
|
404
|
-
* Defined in:
|
|
405
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
406
|
-
*/
|
|
407
191
|
export interface ConnectionInfo {
|
|
408
|
-
state
|
|
409
|
-
sessionId
|
|
410
|
-
remotePeerId
|
|
411
|
-
/**
|
|
412
|
-
* Options:
|
|
413
|
-
* - proto3_optional = true
|
|
414
|
-
*/
|
|
192
|
+
state?: string;
|
|
193
|
+
sessionId?: dxos_halo_keys.PubKey;
|
|
194
|
+
remotePeerId?: dxos_halo_keys.PubKey;
|
|
415
195
|
transport?: string;
|
|
416
196
|
protocolExtensions?: string[];
|
|
417
197
|
events?: SubscribeToSwarmInfoResponse.SwarmInfo.ConnectionInfo.Json[];
|
|
418
198
|
}
|
|
419
199
|
export namespace ConnectionInfo {
|
|
420
|
-
/**
|
|
421
|
-
* Defined in:
|
|
422
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
423
|
-
*/
|
|
424
200
|
export interface Json {
|
|
425
|
-
/**
|
|
426
|
-
* Options:
|
|
427
|
-
* - proto3_optional = true
|
|
428
|
-
*/
|
|
429
201
|
data?: string;
|
|
430
202
|
}
|
|
431
203
|
}
|
|
432
204
|
}
|
|
433
205
|
}
|
|
434
|
-
/**
|
|
435
|
-
* Defined in:
|
|
436
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
437
|
-
*/
|
|
438
206
|
export interface TracingService {
|
|
439
207
|
setTracingOptions: (request: SetTracingOptionsRequest) => Promise<void>;
|
|
440
208
|
subscribeToRpcTrace: (request: void) => Stream<dxos_rpc.RpcMessage>;
|
|
441
209
|
}
|
|
442
|
-
/**
|
|
443
|
-
* Defined in:
|
|
444
|
-
* {@link file://./../../dxos/devtools.proto}
|
|
445
|
-
*/
|
|
446
210
|
export interface SetTracingOptionsRequest {
|
|
447
|
-
enable
|
|
211
|
+
enable?: boolean;
|
|
448
212
|
}
|
|
@@ -20,108 +20,49 @@ import * as google_protobuf from "../../google/protobuf";
|
|
|
20
20
|
/**
|
|
21
21
|
* Outer message type decoded by Codec.
|
|
22
22
|
* This is what is written to the feeds.
|
|
23
|
-
*
|
|
24
|
-
* Defined in:
|
|
25
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
26
23
|
*/
|
|
27
24
|
export interface FeedMessage {
|
|
28
|
-
timeframe
|
|
25
|
+
timeframe?: dxos_echo_timeframe.TimeframeVector;
|
|
29
26
|
halo?: CredentialsMessage;
|
|
30
27
|
echo?: EchoEnvelope;
|
|
31
28
|
}
|
|
32
29
|
/**
|
|
33
30
|
* A container for dxos.credentials.Message
|
|
34
|
-
*
|
|
35
|
-
* Defined in:
|
|
36
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
37
31
|
*/
|
|
38
32
|
export interface CredentialsMessage {
|
|
39
|
-
data
|
|
33
|
+
data?: Uint8Array;
|
|
40
34
|
}
|
|
41
35
|
/**
|
|
42
36
|
* Wrapper for all ECHO messages.
|
|
43
|
-
*
|
|
44
|
-
* Defined in:
|
|
45
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
46
37
|
*/
|
|
47
38
|
export interface EchoEnvelope {
|
|
48
|
-
itemId
|
|
49
|
-
/**
|
|
50
|
-
* Options:
|
|
51
|
-
* - proto3_optional = true
|
|
52
|
-
*/
|
|
39
|
+
itemId?: string;
|
|
53
40
|
genesis?: ItemGenesis;
|
|
54
|
-
/**
|
|
55
|
-
* Options:
|
|
56
|
-
* - proto3_optional = true
|
|
57
|
-
*/
|
|
58
41
|
itemMutation?: ItemMutation;
|
|
59
|
-
/**
|
|
60
|
-
* Options:
|
|
61
|
-
* - proto3_optional = true
|
|
62
|
-
*/
|
|
63
42
|
mutation?: Uint8Array;
|
|
64
43
|
/**
|
|
65
44
|
* Set the model to the provided snapshot.
|
|
66
|
-
*
|
|
67
|
-
* Options:
|
|
68
|
-
* - proto3_optional = true
|
|
69
45
|
*/
|
|
70
46
|
snapshot?: dxos_echo_snapshot.ModelSnapshot;
|
|
71
47
|
}
|
|
72
|
-
/**
|
|
73
|
-
* Defined in:
|
|
74
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
75
|
-
*/
|
|
76
48
|
export interface LinkData {
|
|
77
|
-
source
|
|
78
|
-
target
|
|
49
|
+
source?: string;
|
|
50
|
+
target?: string;
|
|
79
51
|
}
|
|
80
|
-
/**
|
|
81
|
-
* Defined in:
|
|
82
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
83
|
-
*/
|
|
84
52
|
export interface ItemGenesis {
|
|
85
|
-
/**
|
|
86
|
-
* Options:
|
|
87
|
-
* - proto3_optional = true
|
|
88
|
-
*/
|
|
89
53
|
itemType?: string;
|
|
90
|
-
modelType
|
|
91
|
-
/**
|
|
92
|
-
* Options:
|
|
93
|
-
* - proto3_optional = true
|
|
94
|
-
*/
|
|
54
|
+
modelType?: string;
|
|
95
55
|
modelVersion?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Options:
|
|
98
|
-
* - proto3_optional = true
|
|
99
|
-
*/
|
|
100
56
|
link?: LinkData;
|
|
101
57
|
}
|
|
102
58
|
/**
|
|
103
59
|
* Item mutation.
|
|
104
|
-
*
|
|
105
|
-
* Defined in:
|
|
106
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
107
60
|
*/
|
|
108
61
|
export interface ItemMutation {
|
|
109
|
-
/**
|
|
110
|
-
* Options:
|
|
111
|
-
* - proto3_optional = true
|
|
112
|
-
*/
|
|
113
62
|
parentId?: string;
|
|
114
|
-
/**
|
|
115
|
-
* Options:
|
|
116
|
-
* - proto3_optional = true
|
|
117
|
-
*/
|
|
118
63
|
action?: ItemMutation.Action;
|
|
119
64
|
}
|
|
120
65
|
export namespace ItemMutation {
|
|
121
|
-
/**
|
|
122
|
-
* Defined in:
|
|
123
|
-
* {@link file://./../../../dxos/echo/feed.proto}
|
|
124
|
-
*/
|
|
125
66
|
export enum Action {
|
|
126
67
|
NOOP = 0,
|
|
127
68
|
DELETE = 1,
|
|
@@ -17,36 +17,20 @@ import * as dxos_halo_keys from "../halo/keys";
|
|
|
17
17
|
import * as dxos_rpc from "../rpc";
|
|
18
18
|
import * as dxos_test_echo from "../test/echo";
|
|
19
19
|
import * as google_protobuf from "../../google/protobuf";
|
|
20
|
-
/**
|
|
21
|
-
* Defined in:
|
|
22
|
-
* {@link file://./../../../dxos/echo/invitation.proto}
|
|
23
|
-
*/
|
|
24
20
|
export interface InvitationDescriptor {
|
|
25
|
-
type
|
|
26
|
-
swarmKey
|
|
27
|
-
invitation
|
|
21
|
+
type?: InvitationDescriptor.Type;
|
|
22
|
+
swarmKey?: Uint8Array;
|
|
23
|
+
invitation?: Uint8Array;
|
|
28
24
|
/**
|
|
29
25
|
* Only present if type == OFFLINE.
|
|
30
|
-
*
|
|
31
|
-
* Options:
|
|
32
|
-
* - proto3_optional = true
|
|
33
26
|
*/
|
|
34
27
|
identityKey?: Uint8Array;
|
|
35
28
|
/**
|
|
36
29
|
* Must be stripped out when passing to another peer.
|
|
37
|
-
*
|
|
38
|
-
* Options:
|
|
39
|
-
* - proto3_optional = true
|
|
40
30
|
*/
|
|
41
31
|
secret?: Uint8Array;
|
|
42
32
|
}
|
|
43
33
|
export namespace InvitationDescriptor {
|
|
44
|
-
/**
|
|
45
|
-
* Defines an invitation type.
|
|
46
|
-
*
|
|
47
|
-
* Defined in:
|
|
48
|
-
* {@link file://./../../../dxos/echo/invitation.proto}
|
|
49
|
-
*/
|
|
50
34
|
export enum Type {
|
|
51
35
|
INTERACTIVE = 1,
|
|
52
36
|
OFFLINE = 2
|
|
@@ -17,10 +17,6 @@ import * as dxos_halo_keys from "../halo/keys";
|
|
|
17
17
|
import * as dxos_rpc from "../rpc";
|
|
18
18
|
import * as dxos_test_echo from "../test/echo";
|
|
19
19
|
import * as google_protobuf from "../../google/protobuf";
|
|
20
|
-
/**
|
|
21
|
-
* Defined in:
|
|
22
|
-
* {@link file://./../../../dxos/echo/metadata.proto}
|
|
23
|
-
*/
|
|
24
20
|
export interface EchoMetadata {
|
|
25
21
|
/**
|
|
26
22
|
* Version number that is inceremnted every time there's a breaking change to the storage schema.
|
|
@@ -28,43 +24,25 @@ export interface EchoMetadata {
|
|
|
28
24
|
* This is used to detect if the storage schema has changed since the last time the client was run.
|
|
29
25
|
* Loading data from a different version will might result in an error.
|
|
30
26
|
*/
|
|
31
|
-
version
|
|
27
|
+
version?: number;
|
|
32
28
|
parties?: PartyMetadata[];
|
|
33
|
-
created
|
|
34
|
-
updated
|
|
29
|
+
created?: google_protobuf.Timestamp;
|
|
30
|
+
updated?: google_protobuf.Timestamp;
|
|
35
31
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Defined in:
|
|
38
|
-
* {@link file://./../../../dxos/echo/metadata.proto}
|
|
39
|
-
*/
|
|
40
32
|
export interface PartyMetadata {
|
|
41
33
|
/**
|
|
42
34
|
* Party key.
|
|
43
35
|
*/
|
|
44
|
-
key
|
|
45
|
-
/**
|
|
46
|
-
* Options:
|
|
47
|
-
* - proto3_optional = true
|
|
48
|
-
*/
|
|
36
|
+
key?: dxos_halo_keys.PubKey;
|
|
49
37
|
genesisFeedKey?: dxos_halo_keys.PubKey;
|
|
50
38
|
/**
|
|
51
39
|
* Key of the wriatable control feed.
|
|
52
|
-
*
|
|
53
|
-
* Options:
|
|
54
|
-
* - proto3_optional = true
|
|
55
40
|
*/
|
|
56
41
|
controlFeedKey?: dxos_halo_keys.PubKey;
|
|
57
42
|
/**
|
|
58
43
|
* Key of the wriatable data feed.
|
|
59
|
-
*
|
|
60
|
-
* Options:
|
|
61
|
-
* - proto3_optional = true
|
|
62
44
|
*/
|
|
63
45
|
dataFeedKey?: dxos_halo_keys.PubKey;
|
|
64
|
-
/**
|
|
65
|
-
* Options:
|
|
66
|
-
* - proto3_optional = true
|
|
67
|
-
*/
|
|
68
46
|
latestTimeframe?: dxos_echo_timeframe.TimeframeVector;
|
|
69
47
|
/**
|
|
70
48
|
* List of all feed associated with the party.
|