@dxos/protocols 2.33.9-dev.9246a07b → 2.33.9-dev.a2586ac4
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/client.d.ts +97 -0
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js +21 -1
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +5 -0
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +11 -0
- 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/dxos/bot.proto +4 -0
- package/src/proto/dxos/client.proto +68 -1
- package/src/proto/dxos/config.proto +14 -11
- package/src/proto/dxos/echo/feed.proto +1 -0
- package/src/proto/dxos/echo/metadata.proto +3 -2
- package/src/proto/dxos/echo/service.proto +3 -3
- package/src/proto/dxos/echo/snapshot.proto +1 -1
- package/src/proto/dxos/halo/auth.proto +9 -9
- package/src/proto/dxos/halo/greet.proto +3 -2
- package/src/proto/dxos/halo/identity.proto +8 -7
- package/src/proto/dxos/halo/keys.proto +2 -1
- package/src/proto/dxos/halo/party.proto +3 -2
- package/src/proto/dxos/halo/signed.proto +9 -8
- package/src/proto/dxos/rpc.proto +2 -2
- package/src/proto/gen/dxos/client.ts +97 -0
- package/src/proto/gen/dxos/config.ts +5 -0
- package/src/proto/gen/index.ts +12 -1
|
@@ -398,3 +398,100 @@ export interface PartyService {
|
|
|
398
398
|
subscribeMembers: (request: SubscribeMembersRequest) => Stream<SubscribeMembersResponse>;
|
|
399
399
|
createSnapshot: (request: CreateSnaspotRequest) => Promise<dxos_echo_snapshot.PartySnapshot>;
|
|
400
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* Defined in:
|
|
403
|
+
* {@link file://./../../dxos/client.proto}
|
|
404
|
+
*/
|
|
405
|
+
export interface SingletonMessage {
|
|
406
|
+
type: SingletonMessage.Type;
|
|
407
|
+
data?: Uint8Array;
|
|
408
|
+
reconnect?: SingletonMessage.Reconnect;
|
|
409
|
+
resend?: SingletonMessage.Resend;
|
|
410
|
+
setupClient?: SingletonMessage.SetupClient;
|
|
411
|
+
clientReady?: SingletonMessage.ClientReady;
|
|
412
|
+
setupPort?: SingletonMessage.SetupPort;
|
|
413
|
+
portReady?: SingletonMessage.PortReady;
|
|
414
|
+
portClosing?: SingletonMessage.PortClosing;
|
|
415
|
+
clientMessage?: SingletonMessage.ClientMessage;
|
|
416
|
+
proxyMessage?: SingletonMessage.ProxyMessage;
|
|
417
|
+
}
|
|
418
|
+
export namespace SingletonMessage {
|
|
419
|
+
/**
|
|
420
|
+
* Defined in:
|
|
421
|
+
* {@link file://./../../dxos/client.proto}
|
|
422
|
+
*/
|
|
423
|
+
export enum Type {
|
|
424
|
+
WINDOW_MESSAGE = 0,
|
|
425
|
+
RECONNECT = 1,
|
|
426
|
+
RESEND = 2,
|
|
427
|
+
SETUP_CLIENT = 3,
|
|
428
|
+
CLIENT_READY = 4,
|
|
429
|
+
SETUP_PORT = 5,
|
|
430
|
+
PORT_READY = 6,
|
|
431
|
+
PORT_CLOSING = 7,
|
|
432
|
+
CLIENT_MESSAGE = 8,
|
|
433
|
+
PROXY_MESSAGE = 9
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Defined in:
|
|
437
|
+
* {@link file://./../../dxos/client.proto}
|
|
438
|
+
*/
|
|
439
|
+
export interface Reconnect {
|
|
440
|
+
attempt: number;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Defined in:
|
|
444
|
+
* {@link file://./../../dxos/client.proto}
|
|
445
|
+
*/
|
|
446
|
+
export interface Resend {
|
|
447
|
+
message: SingletonMessage;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Defined in:
|
|
451
|
+
* {@link file://./../../dxos/client.proto}
|
|
452
|
+
*/
|
|
453
|
+
export interface SetupClient {
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Defined in:
|
|
457
|
+
* {@link file://./../../dxos/client.proto}
|
|
458
|
+
*/
|
|
459
|
+
export interface ClientReady {
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Defined in:
|
|
463
|
+
* {@link file://./../../dxos/client.proto}
|
|
464
|
+
*/
|
|
465
|
+
export interface SetupPort {
|
|
466
|
+
sourceId: number;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Defined in:
|
|
470
|
+
* {@link file://./../../dxos/client.proto}
|
|
471
|
+
*/
|
|
472
|
+
export interface PortReady {
|
|
473
|
+
sourceId: number;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Defined in:
|
|
477
|
+
* {@link file://./../../dxos/client.proto}
|
|
478
|
+
*/
|
|
479
|
+
export interface PortClosing {
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* Defined in:
|
|
483
|
+
* {@link file://./../../dxos/client.proto}
|
|
484
|
+
*/
|
|
485
|
+
export interface ClientMessage {
|
|
486
|
+
sourceId: number;
|
|
487
|
+
data: Uint8Array;
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Defined in:
|
|
491
|
+
* {@link file://./../../dxos/client.proto}
|
|
492
|
+
*/
|
|
493
|
+
export interface ProxyMessage {
|
|
494
|
+
sourceId: number;
|
|
495
|
+
data: Uint8Array;
|
|
496
|
+
}
|
|
497
|
+
}
|