@dxos/client 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.
Files changed (57) hide show
  1. package/dist/browser.js +18 -11
  2. package/dist/src/proto/gen/dxos/client.d.ts +18 -216
  3. package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
  4. package/dist/src/proto/gen/dxos/client.js +0 -4
  5. package/dist/src/proto/gen/dxos/client.js.map +1 -1
  6. package/dist/src/proto/gen/dxos/config.d.ts +0 -457
  7. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  8. package/dist/src/proto/gen/dxos/config.js +0 -10
  9. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  10. package/dist/src/proto/gen/dxos/credentials.d.ts +0 -39
  11. package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
  12. package/dist/src/proto/gen/dxos/devtools.d.ts +30 -266
  13. package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
  14. package/dist/src/proto/gen/dxos/echo/feed.d.ts +6 -65
  15. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  16. package/dist/src/proto/gen/dxos/echo/feed.js +0 -4
  17. package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
  18. package/dist/src/proto/gen/dxos/echo/invitation.d.ts +3 -19
  19. package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
  20. package/dist/src/proto/gen/dxos/echo/invitation.js +0 -6
  21. package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
  22. package/dist/src/proto/gen/dxos/echo/service.d.ts +13 -49
  23. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  24. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +13 -45
  25. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  26. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +2 -9
  27. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  28. package/dist/src/proto/gen/dxos/halo/keys.d.ts +2 -44
  29. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  30. package/dist/src/proto/gen/dxos/halo/keys.js +0 -4
  31. package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
  32. package/dist/src/proto/gen/dxos/rpc.d.ts +8 -48
  33. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  34. package/dist/src/proto/gen/dxos/rpc.js +0 -4
  35. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  36. package/dist/src/proto/gen/google/protobuf.d.ts +80 -80
  37. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  38. package/dist/src/proto/gen/index.d.ts.map +1 -1
  39. package/dist/src/proto/gen/index.js +1 -1
  40. package/dist/src/proto/gen/index.js.map +1 -1
  41. package/dist/src/services/services.test.js +1 -3
  42. package/dist/src/services/services.test.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +17 -17
  45. package/src/proto/gen/dxos/client.ts +18 -216
  46. package/src/proto/gen/dxos/config.ts +0 -457
  47. package/src/proto/gen/dxos/credentials.ts +0 -39
  48. package/src/proto/gen/dxos/devtools.ts +30 -266
  49. package/src/proto/gen/dxos/echo/feed.ts +6 -65
  50. package/src/proto/gen/dxos/echo/invitation.ts +3 -19
  51. package/src/proto/gen/dxos/echo/service.ts +13 -49
  52. package/src/proto/gen/dxos/echo/snapshot.ts +13 -45
  53. package/src/proto/gen/dxos/echo/timeframe.ts +2 -9
  54. package/src/proto/gen/dxos/halo/keys.ts +2 -44
  55. package/src/proto/gen/dxos/rpc.ts +8 -48
  56. package/src/proto/gen/google/protobuf.ts +80 -80
  57. package/src/proto/gen/index.ts +1 -1
@@ -11,250 +11,82 @@ import * as dxos_echo_timeframe from "./echo/timeframe";
11
11
  import * as dxos_halo_keys from "./halo/keys";
12
12
  import * as dxos_rpc from "./rpc";
13
13
  import * as google_protobuf from "../google/protobuf";
14
- /**
15
- * Defined in:
16
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
17
- */
18
14
  export interface Config {
19
- /**
20
- * Options:
21
- * - proto3_optional = true
22
- */
23
15
  version?: number;
24
- /**
25
- * Options:
26
- * - proto3_optional = true
27
- */
28
16
  package?: Package;
29
- /**
30
- * Options:
31
- * - proto3_optional = true
32
- */
33
17
  runtime?: Runtime;
34
18
  }
35
- /**
36
- * Defined in:
37
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
38
- */
39
19
  export interface Package {
40
- /**
41
- * Options:
42
- * - proto3_optional = true
43
- */
44
20
  license?: string;
45
21
  repos?: Repo[];
46
22
  modules?: Module[];
47
23
  }
48
- /**
49
- * Defined in:
50
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
51
- */
52
24
  export interface Repo {
53
- /**
54
- * Options:
55
- * - proto3_optional = true
56
- */
57
25
  name?: string;
58
- /**
59
- * Options:
60
- * - proto3_optional = true
61
- */
62
26
  url?: string;
63
- /**
64
- * Options:
65
- * - proto3_optional = true
66
- */
67
27
  version?: string;
68
28
  }
69
- /**
70
- * Defined in:
71
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
72
- */
73
29
  export interface Module {
74
- /**
75
- * Options:
76
- * - proto3_optional = true
77
- */
78
30
  name?: string;
79
- /**
80
- * Options:
81
- * - proto3_optional = true
82
- */
83
31
  type?: string;
84
- /**
85
- * Options:
86
- * - proto3_optional = true
87
- */
88
32
  displayName?: string;
89
- /**
90
- * Options:
91
- * - proto3_optional = true
92
- */
93
33
  description?: string;
94
34
  tags?: string[];
95
- /**
96
- * Options:
97
- * - proto3_optional = true
98
- */
99
35
  build?: Module.Build;
100
36
  repos?: Repo[];
101
37
  /**
102
38
  * The data will be validated based on the type when being published.
103
- *
104
- * Options:
105
- * - proto3_optional = true
106
39
  */
107
40
  record?: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
108
41
  }
109
42
  export namespace Module {
110
- /**
111
- * Defined in:
112
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
113
- */
114
43
  export interface Build {
115
- /**
116
- * Options:
117
- * - proto3_optional = true
118
- */
119
44
  command?: string;
120
- /**
121
- * Options:
122
- * - proto3_optional = true
123
- */
124
45
  outdir?: string;
125
- /**
126
- * Options:
127
- * - proto3_optional = true
128
- */
129
46
  version?: string;
130
- /**
131
- * Options:
132
- * - proto3_optional = true
133
- */
134
47
  tag?: string;
135
48
  }
136
49
  }
137
- /**
138
- * Defined in:
139
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
140
- */
141
50
  export interface Runtime {
142
- /**
143
- * Options:
144
- * - proto3_optional = true
145
- */
146
51
  client?: Runtime.Client;
147
- /**
148
- * Options:
149
- * - proto3_optional = true
150
- */
151
52
  app?: Runtime.App;
152
- /**
153
- * Options:
154
- * - proto3_optional = true
155
- */
156
53
  cli?: Runtime.CLI;
157
- /**
158
- * Options:
159
- * - proto3_optional = true
160
- */
161
54
  props?: Runtime.Props;
162
- /**
163
- * Options:
164
- * - proto3_optional = true
165
- */
166
55
  services?: Runtime.Services;
167
- /**
168
- * Options:
169
- * - proto3_optional = true
170
- */
171
56
  system?: Runtime.System;
172
57
  }
173
58
  export namespace Runtime {
174
- /**
175
- * Defined in:
176
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
177
- */
178
59
  export interface Client {
179
60
  /**
180
61
  * Options:
181
62
  * - (env) = "DEBUG"
182
- * - proto3_optional = true
183
63
  */
184
64
  debug?: string;
185
- /**
186
- * Options:
187
- * - proto3_optional = true
188
- */
189
65
  storage?: Runtime.Client.Storage;
190
- /**
191
- * Options:
192
- * - proto3_optional = true
193
- */
194
66
  enableSnapshots?: boolean;
195
67
  /**
196
68
  * Milliseconds
197
- *
198
- * Options:
199
- * - proto3_optional = true
200
69
  */
201
70
  snapshotInterval?: number;
202
71
  /**
203
72
  * Milliseconds
204
- *
205
- * Options:
206
- * - proto3_optional = true
207
73
  */
208
74
  invitationExpiration?: number;
209
- /**
210
- * Options:
211
- * - proto3_optional = true
212
- */
213
75
  mode?: Runtime.Client.Mode;
214
76
  }
215
77
  export namespace Client {
216
- /**
217
- * Whether the client services are local with ClientServiceHost or remote and need to be accessed via ClientServiceProxy. Defaults to AUTOMATIC.
218
- *
219
- * Defined in:
220
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
221
- */
222
78
  export enum Mode {
223
79
  AUTOMATIC = 0,
224
80
  LOCAL = 1,
225
81
  REMOTE = 2
226
82
  }
227
- /**
228
- * Defined in:
229
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
230
- */
231
83
  export interface Storage {
232
- /**
233
- * Options:
234
- * - proto3_optional = true
235
- */
236
84
  persistent?: boolean;
237
- /**
238
- * Options:
239
- * - proto3_optional = true
240
- */
241
85
  storageType?: Runtime.Client.Storage.StorageDriver;
242
- /**
243
- * Options:
244
- * - proto3_optional = true
245
- */
246
86
  keyStorage?: Runtime.Client.Storage.StorageDriver;
247
- /**
248
- * Options:
249
- * - proto3_optional = true
250
- */
251
87
  path?: string;
252
88
  }
253
89
  export namespace Storage {
254
- /**
255
- * Defined in:
256
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
257
- */
258
90
  export enum StorageDriver {
259
91
  RAM = 0,
260
92
  IDB = 1,
@@ -266,266 +98,78 @@ export namespace Runtime {
266
98
  }
267
99
  }
268
100
  }
269
- /**
270
- * Defined in:
271
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
272
- */
273
101
  export interface App {
274
- /**
275
- * Options:
276
- * - proto3_optional = true
277
- */
278
102
  org?: string;
279
- /**
280
- * Options:
281
- * - proto3_optional = true
282
- */
283
103
  theme?: string;
284
- /**
285
- * Options:
286
- * - proto3_optional = true
287
- */
288
104
  website?: string;
289
105
  /**
290
106
  * Options:
291
107
  * - (env) = "PUBLIC_URL"
292
- * - proto3_optional = true
293
108
  */
294
109
  publicUrl?: string;
295
110
  }
296
- /**
297
- * Defined in:
298
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
299
- */
300
111
  export interface CLI {
301
- /**
302
- * Options:
303
- * - proto3_optional = true
304
- */
305
112
  nodePath?: string;
306
- /**
307
- * Options:
308
- * - proto3_optional = true
309
- */
310
113
  app?: Runtime.CLI.AppServe;
311
- /**
312
- * Options:
313
- * - proto3_optional = true
314
- */
315
114
  console?: Runtime.CLI.Package;
316
- /**
317
- * Options:
318
- * - proto3_optional = true
319
- */
320
115
  mdns?: Runtime.CLI.Package;
321
- /**
322
- * Options:
323
- * - proto3_optional = true
324
- */
325
116
  signal?: Runtime.CLI.Package;
326
- /**
327
- * Options:
328
- * - proto3_optional = true
329
- */
330
117
  npmClient?: string;
331
- /**
332
- * Options:
333
- * - proto3_optional = true
334
- */
335
118
  channel?: string;
336
119
  }
337
120
  export namespace CLI {
338
- /**
339
- * Defined in:
340
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
341
- */
342
121
  export interface AppServe {
343
- /**
344
- * Options:
345
- * - proto3_optional = true
346
- */
347
122
  serve?: Runtime.CLI.AppServe.Serve;
348
123
  }
349
124
  export namespace AppServe {
350
- /**
351
- * Defined in:
352
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
353
- */
354
125
  export interface Serve {
355
- /**
356
- * Options:
357
- * - proto3_optional = true
358
- */
359
126
  config?: string;
360
- /**
361
- * Options:
362
- * - proto3_optional = true
363
- */
364
127
  loginApp?: string;
365
- /**
366
- * Options:
367
- * - proto3_optional = true
368
- */
369
128
  keyPhrase?: string;
370
129
  }
371
130
  }
372
- /**
373
- * Defined in:
374
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
375
- */
376
131
  export interface Package {
377
- /**
378
- * Options:
379
- * - proto3_optional = true
380
- */
381
132
  package?: string;
382
- /**
383
- * Options:
384
- * - proto3_optional = true
385
- */
386
133
  channel?: string;
387
- /**
388
- * Options:
389
- * - proto3_optional = true
390
- */
391
134
  bin?: string;
392
- /**
393
- * Options:
394
- * - proto3_optional = true
395
- */
396
135
  config?: string;
397
136
  }
398
137
  }
399
- /**
400
- * Defined in:
401
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
402
- */
403
138
  export interface Props {
404
- /**
405
- * Options:
406
- * - proto3_optional = true
407
- */
408
139
  title?: string;
409
140
  }
410
- /**
411
- * Defined in:
412
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
413
- */
414
141
  export interface System {
415
- /**
416
- * Options:
417
- * - proto3_optional = true
418
- */
419
142
  debug?: string;
420
143
  }
421
- /**
422
- * Defined in:
423
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
424
- */
425
144
  export interface Services {
426
- /**
427
- * Options:
428
- * - proto3_optional = true
429
- */
430
145
  kube?: Runtime.Services.Kube;
431
- /**
432
- * Options:
433
- * - proto3_optional = true
434
- */
435
146
  app?: Runtime.Services.AppServer;
436
- /**
437
- * Options:
438
- * - proto3_optional = true
439
- */
440
147
  dxns?: Runtime.Services.Dxns;
441
- /**
442
- * Options:
443
- * - proto3_optional = true
444
- */
445
148
  ipfs?: Runtime.Services.Ipfs;
446
- /**
447
- * Options:
448
- * - proto3_optional = true
449
- */
450
149
  signal?: Runtime.Services.Signal;
451
150
  ice?: Runtime.Services.Ice[];
452
- /**
453
- * Options:
454
- * - proto3_optional = true
455
- */
456
151
  machine?: Runtime.Services.Machine;
457
- /**
458
- * Options:
459
- * - proto3_optional = true
460
- */
461
152
  bot?: Runtime.Services.BotFactory;
462
153
  }
463
154
  export namespace Services {
464
- /**
465
- * Defined in:
466
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
467
- */
468
155
  export interface Kube {
469
- /**
470
- * Options:
471
- * - proto3_optional = true
472
- */
473
156
  endpoints?: Runtime.Services.Kube.Endpoints;
474
- /**
475
- * Options:
476
- * - proto3_optional = true
477
- */
478
157
  publicUrl?: string;
479
158
  }
480
159
  export namespace Kube {
481
- /**
482
- * Defined in:
483
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
484
- */
485
160
  export interface Endpoints {
486
- /**
487
- * Options:
488
- * - proto3_optional = true
489
- */
490
161
  logs?: string;
491
- /**
492
- * Options:
493
- * - proto3_optional = true
494
- */
495
162
  services?: string;
496
- /**
497
- * Options:
498
- * - proto3_optional = true
499
- */
500
163
  cert?: string;
501
164
  }
502
165
  }
503
- /**
504
- * Defined in:
505
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
506
- */
507
166
  export interface AppServer {
508
- /**
509
- * Options:
510
- * - proto3_optional = true
511
- */
512
167
  prefix?: string;
513
- /**
514
- * Options:
515
- * - proto3_optional = true
516
- */
517
168
  server?: string;
518
169
  }
519
- /**
520
- * Defined in:
521
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
522
- */
523
170
  export interface Dxns {
524
171
  /**
525
172
  * DXNS endpoint.
526
- *
527
- * Options:
528
- * - proto3_optional = true
529
173
  */
530
174
  server?: string;
531
175
  /**
@@ -533,144 +177,43 @@ export namespace Runtime {
533
177
  * KUBEs do not serve this with the config but we store it in profile.yml.
534
178
  *
535
179
  * TODO(dmaretskyi): Deprecate this and move it to keyring.
536
- *
537
- * Options:
538
- * - proto3_optional = true
539
180
  */
540
181
  accountUri?: string;
541
182
  /**
542
183
  * Public Polkadot Address.
543
- *
544
- * Options:
545
- * - proto3_optional = true
546
184
  */
547
185
  address?: string;
548
186
  /**
549
187
  * Public address of a DXNS Account.
550
- *
551
- * Options:
552
- * - proto3_optional = true
553
188
  */
554
189
  account?: string;
555
- /**
556
- * Options:
557
- * - proto3_optional = true
558
- */
559
190
  faucet?: string;
560
191
  }
561
- /**
562
- * Defined in:
563
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
564
- */
565
192
  export interface Ipfs {
566
- /**
567
- * Options:
568
- * - proto3_optional = true
569
- */
570
193
  server?: string;
571
- /**
572
- * Options:
573
- * - proto3_optional = true
574
- */
575
194
  gateway?: string;
576
195
  }
577
- /**
578
- * Defined in:
579
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
580
- */
581
196
  export interface Signal {
582
- /**
583
- * Options:
584
- * - proto3_optional = true
585
- */
586
197
  server?: string;
587
- /**
588
- * Options:
589
- * - proto3_optional = true
590
- */
591
198
  api?: string;
592
- /**
593
- * Options:
594
- * - proto3_optional = true
595
- */
596
199
  status?: string;
597
200
  }
598
- /**
599
- * Defined in:
600
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
601
- */
602
201
  export interface Ice {
603
- /**
604
- * Options:
605
- * - proto3_optional = true
606
- */
607
202
  urls?: string;
608
- /**
609
- * Options:
610
- * - proto3_optional = true
611
- */
612
203
  username?: string;
613
- /**
614
- * Options:
615
- * - proto3_optional = true
616
- */
617
204
  credential?: string;
618
205
  }
619
- /**
620
- * Defined in:
621
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
622
- */
623
206
  export interface Machine {
624
- /**
625
- * Options:
626
- * - proto3_optional = true
627
- */
628
207
  doAccessToken?: string;
629
- /**
630
- * Options:
631
- * - proto3_optional = true
632
- */
633
208
  githubAccessToken?: string;
634
- /**
635
- * Options:
636
- * - proto3_optional = true
637
- */
638
209
  githubUsername?: string;
639
- /**
640
- * Options:
641
- * - proto3_optional = true
642
- */
643
210
  dnsDomain?: string;
644
- /**
645
- * Options:
646
- * - proto3_optional = true
647
- */
648
211
  npmAccessToken?: string;
649
212
  }
650
- /**
651
- * Defined in:
652
- * {@link file://./../../../../../../common/protocols/src/proto/dxos/config.proto}
653
- */
654
213
  export interface BotFactory {
655
- /**
656
- * Options:
657
- * - proto3_optional = true
658
- */
659
214
  topic?: string;
660
- /**
661
- * Options:
662
- * - proto3_optional = true
663
- */
664
215
  persistent?: boolean;
665
- /**
666
- * Options:
667
- * - proto3_optional = true
668
- */
669
216
  retryAttempts?: number;
670
- /**
671
- * Options:
672
- * - proto3_optional = true
673
- */
674
217
  retryInterval?: number;
675
218
  }
676
219
  }