@dxos/protocols 0.1.13 → 0.1.16
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/codec.test.js +3 -2
- package/dist/src/codec.test.js.map +1 -1
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.d.ts +19 -8
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +12 -0
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client.js.map +1 -1
- 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/dxos/devtools/host.d.ts +33 -33
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/object.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/object.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/gravity.d.ts +84 -0
- package/dist/src/proto/gen/dxos/gravity.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/gravity.js +3 -0
- package/dist/src/proto/gen/dxos/gravity.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +4 -0
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts +39 -15
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/invitations.js +14 -0
- package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts +5 -1
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts +68 -0
- package/dist/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/muxer.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/muxer.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +1 -1
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts +21 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/control.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/control.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/presence.d.ts +25 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/presence.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/presence.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/presence.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts +77 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/teleport/replicator.js.map +1 -0
- package/dist/src/proto/gen/dxos/registry.d.ts +2 -2
- package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/service/publisher.d.ts +11 -1
- package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/service/scheduler.js.map +1 -1
- package/dist/src/proto/gen/dxos/type.d.ts +5 -4
- package/dist/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts +18 -0
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.js +5 -0
- package/dist/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +36 -2
- 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/proto/substitutions.d.ts +4 -0
- package/dist/src/proto/substitutions.d.ts.map +1 -1
- package/dist/src/proto/substitutions.js +1 -0
- package/dist/src/proto/substitutions.js.map +1 -1
- package/dist/src/types.d.ts +6 -6
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +5 -11
- package/proto/dxos/gravity.d.ts +5 -0
- package/proto/dxos/gravity.js +5 -0
- package/proto/dxos/mesh/muxer.d.ts +5 -0
- package/proto/dxos/mesh/muxer.js +5 -0
- package/proto/dxos/mesh/teleport/control.d.ts +5 -0
- package/proto/dxos/mesh/teleport/control.js +5 -0
- package/proto/dxos/mesh/teleport/presence.d.ts +5 -0
- package/proto/dxos/mesh/teleport/presence.js +5 -0
- package/proto/dxos/mesh/teleport/replicator.d.ts +5 -0
- package/proto/dxos/mesh/teleport/replicator.js +5 -0
- package/src/codec.test.ts +4 -2
- package/src/proto/dxos/client/services.proto +16 -7
- package/src/proto/dxos/devtools/host.proto +2 -2
- package/src/proto/dxos/gravity.proto +55 -0
- package/src/proto/dxos/halo/credentials.proto +3 -0
- package/src/proto/dxos/halo/invitations.proto +25 -12
- package/src/proto/dxos/halo/keyring.proto +1 -1
- package/src/proto/dxos/mesh/muxer.proto +51 -0
- package/src/proto/dxos/mesh/swarm.proto +2 -1
- package/src/proto/dxos/mesh/teleport/control.proto +19 -0
- package/src/proto/dxos/mesh/teleport/presence.proto +23 -0
- package/src/proto/dxos/mesh/teleport/replicator.proto +60 -0
- package/src/proto/dxos/registry.proto +3 -2
- package/src/proto/dxos/service/publisher.proto +5 -1
- package/src/proto/dxos/type.proto +5 -4
- package/src/proto/gen/dxos/bot.ts +5 -0
- package/src/proto/gen/dxos/client/services.ts +24 -8
- package/src/proto/gen/dxos/client.ts +5 -0
- package/src/proto/gen/dxos/config.ts +5 -0
- package/src/proto/gen/dxos/devtools/host.ts +37 -32
- package/src/proto/gen/dxos/devtools/swarm.ts +5 -0
- package/src/proto/gen/dxos/echo/feed.ts +5 -0
- package/src/proto/gen/dxos/echo/metadata.ts +5 -0
- package/src/proto/gen/dxos/echo/model/messenger.ts +5 -0
- package/src/proto/gen/dxos/echo/model/object.ts +5 -0
- package/src/proto/gen/dxos/echo/model/text.ts +5 -0
- package/src/proto/gen/dxos/echo/service.ts +5 -0
- package/src/proto/gen/dxos/echo/snapshot.ts +5 -0
- package/src/proto/gen/dxos/echo/timeframe.ts +5 -0
- package/src/proto/gen/dxos/gravity.ts +128 -0
- package/src/proto/gen/dxos/halo/credentials/auth.ts +5 -0
- package/src/proto/gen/dxos/halo/credentials/greet.ts +5 -0
- package/src/proto/gen/dxos/halo/credentials/identity.ts +5 -0
- package/src/proto/gen/dxos/halo/credentials.ts +9 -0
- package/src/proto/gen/dxos/halo/invitations.ts +44 -15
- package/src/proto/gen/dxos/halo/keyring.ts +10 -1
- package/src/proto/gen/dxos/halo/keys.ts +5 -0
- package/src/proto/gen/dxos/halo/signed.ts +5 -0
- package/src/proto/gen/dxos/iframe.ts +5 -0
- package/src/proto/gen/dxos/keys.ts +5 -0
- package/src/proto/gen/dxos/mesh/bridge.ts +5 -0
- package/src/proto/gen/dxos/mesh/broadcast.ts +5 -0
- package/src/proto/gen/dxos/mesh/messaging.ts +5 -0
- package/src/proto/gen/dxos/mesh/muxer.ts +113 -0
- package/src/proto/gen/dxos/mesh/presence.ts +5 -0
- package/src/proto/gen/dxos/mesh/protocol.ts +5 -0
- package/src/proto/gen/dxos/mesh/replicator.ts +5 -0
- package/src/proto/gen/dxos/mesh/signal.ts +5 -0
- package/src/proto/gen/dxos/mesh/swarm.ts +6 -1
- package/src/proto/gen/dxos/mesh/teleport/control.ts +66 -0
- package/src/proto/gen/dxos/mesh/teleport/presence.ts +69 -0
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +121 -0
- package/src/proto/gen/dxos/registry.ts +7 -2
- package/src/proto/gen/dxos/rpc.ts +5 -0
- package/src/proto/gen/dxos/service/publisher.ts +16 -1
- package/src/proto/gen/dxos/service/scheduler.ts +5 -0
- package/src/proto/gen/dxos/type.ts +9 -4
- package/src/proto/gen/example/testing/data.ts +5 -0
- package/src/proto/gen/example/testing/rpc.ts +5 -0
- package/src/proto/gen/google/protobuf.ts +22 -0
- package/src/proto/gen/index.ts +37 -3
- package/src/proto/substitutions.ts +2 -1
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
@@ -27,10 +28,14 @@ import * as dxos_keys from "../keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "./bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "./broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "./messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "./muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "./presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "./protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "./replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "./signal";
|
|
36
|
+
import * as dxos_mesh_teleport_control from "./teleport/control";
|
|
37
|
+
import * as dxos_mesh_teleport_presence from "./teleport/presence";
|
|
38
|
+
import * as dxos_mesh_teleport_replicator from "./teleport/replicator";
|
|
34
39
|
import * as dxos_registry from "../registry";
|
|
35
40
|
import * as dxos_rpc from "../rpc";
|
|
36
41
|
import * as dxos_service_publisher from "../service/publisher";
|
|
@@ -95,5 +100,5 @@ export interface Answer {
|
|
|
95
100
|
* {@link file://./../../../dxos/mesh/swarm.proto}
|
|
96
101
|
*/
|
|
97
102
|
export interface Signal {
|
|
98
|
-
|
|
103
|
+
payload: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
99
104
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { Stream } from "@dxos/codec-protobuf";
|
|
2
|
+
import substitutions from "../../../../substitutions";
|
|
3
|
+
import * as dxos_bot from "../../bot";
|
|
4
|
+
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
6
|
+
import * as dxos_config from "../../config";
|
|
7
|
+
import * as dxos_devtools_host from "../../devtools/host";
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
9
|
+
import * as dxos_echo_feed from "../../echo/feed";
|
|
10
|
+
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
11
|
+
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
12
|
+
import * as dxos_echo_model_object from "../../echo/model/object";
|
|
13
|
+
import * as dxos_echo_model_text from "../../echo/model/text";
|
|
14
|
+
import * as dxos_echo_service from "../../echo/service";
|
|
15
|
+
import * as dxos_echo_snapshot from "../../echo/snapshot";
|
|
16
|
+
import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../../gravity";
|
|
18
|
+
import * as dxos_halo_credentials from "../../halo/credentials";
|
|
19
|
+
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
20
|
+
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
21
|
+
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
22
|
+
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
23
|
+
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
24
|
+
import * as dxos_halo_keys from "../../halo/keys";
|
|
25
|
+
import * as dxos_halo_signed from "../../halo/signed";
|
|
26
|
+
import * as dxos_iframe from "../../iframe";
|
|
27
|
+
import * as dxos_keys from "../../keys";
|
|
28
|
+
import * as dxos_mesh_bridge from "../bridge";
|
|
29
|
+
import * as dxos_mesh_broadcast from "../broadcast";
|
|
30
|
+
import * as dxos_mesh_messaging from "../messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../muxer";
|
|
32
|
+
import * as dxos_mesh_presence from "../presence";
|
|
33
|
+
import * as dxos_mesh_protocol from "../protocol";
|
|
34
|
+
import * as dxos_mesh_replicator from "../replicator";
|
|
35
|
+
import * as dxos_mesh_signal from "../signal";
|
|
36
|
+
import * as dxos_mesh_swarm from "../swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_presence from "./presence";
|
|
38
|
+
import * as dxos_mesh_teleport_replicator from "./replicator";
|
|
39
|
+
import * as dxos_registry from "../../registry";
|
|
40
|
+
import * as dxos_rpc from "../../rpc";
|
|
41
|
+
import * as dxos_service_publisher from "../../service/publisher";
|
|
42
|
+
import * as dxos_service_scheduler from "../../service/scheduler";
|
|
43
|
+
import * as dxos_type from "../../type";
|
|
44
|
+
import * as example_testing_data from "../../../example/testing/data";
|
|
45
|
+
import * as example_testing_rpc from "../../../example/testing/rpc";
|
|
46
|
+
import * as google_protobuf from "../../../google/protobuf";
|
|
47
|
+
/**
|
|
48
|
+
* Defined in:
|
|
49
|
+
* {@link file://./../../../../dxos/mesh/teleport/control.proto}
|
|
50
|
+
*/
|
|
51
|
+
export interface RegisterExtensionRequest {
|
|
52
|
+
/**
|
|
53
|
+
* Must not contain slashes: /[\w_.]+/. Example: `dxos.mesh.teleport.control`.
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Controls the lifycycle of the teleport session and its exentsions.
|
|
59
|
+
*
|
|
60
|
+
* Defined in:
|
|
61
|
+
* {@link file://./../../../../dxos/mesh/teleport/control.proto}
|
|
62
|
+
*/
|
|
63
|
+
export interface ControlService {
|
|
64
|
+
registerExtension: (request: RegisterExtensionRequest) => Promise<void>;
|
|
65
|
+
heartbeat: (request: void) => Promise<void>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { Stream } from "@dxos/codec-protobuf";
|
|
2
|
+
import substitutions from "../../../../substitutions";
|
|
3
|
+
import * as dxos_bot from "../../bot";
|
|
4
|
+
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
6
|
+
import * as dxos_config from "../../config";
|
|
7
|
+
import * as dxos_devtools_host from "../../devtools/host";
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
9
|
+
import * as dxos_echo_feed from "../../echo/feed";
|
|
10
|
+
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
11
|
+
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
12
|
+
import * as dxos_echo_model_object from "../../echo/model/object";
|
|
13
|
+
import * as dxos_echo_model_text from "../../echo/model/text";
|
|
14
|
+
import * as dxos_echo_service from "../../echo/service";
|
|
15
|
+
import * as dxos_echo_snapshot from "../../echo/snapshot";
|
|
16
|
+
import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../../gravity";
|
|
18
|
+
import * as dxos_halo_credentials from "../../halo/credentials";
|
|
19
|
+
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
20
|
+
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
21
|
+
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
22
|
+
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
23
|
+
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
24
|
+
import * as dxos_halo_keys from "../../halo/keys";
|
|
25
|
+
import * as dxos_halo_signed from "../../halo/signed";
|
|
26
|
+
import * as dxos_iframe from "../../iframe";
|
|
27
|
+
import * as dxos_keys from "../../keys";
|
|
28
|
+
import * as dxos_mesh_bridge from "../bridge";
|
|
29
|
+
import * as dxos_mesh_broadcast from "../broadcast";
|
|
30
|
+
import * as dxos_mesh_messaging from "../messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../muxer";
|
|
32
|
+
import * as dxos_mesh_presence from "../presence";
|
|
33
|
+
import * as dxos_mesh_protocol from "../protocol";
|
|
34
|
+
import * as dxos_mesh_replicator from "../replicator";
|
|
35
|
+
import * as dxos_mesh_signal from "../signal";
|
|
36
|
+
import * as dxos_mesh_swarm from "../swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "./control";
|
|
38
|
+
import * as dxos_mesh_teleport_replicator from "./replicator";
|
|
39
|
+
import * as dxos_registry from "../../registry";
|
|
40
|
+
import * as dxos_rpc from "../../rpc";
|
|
41
|
+
import * as dxos_service_publisher from "../../service/publisher";
|
|
42
|
+
import * as dxos_service_scheduler from "../../service/scheduler";
|
|
43
|
+
import * as dxos_type from "../../type";
|
|
44
|
+
import * as example_testing_data from "../../../example/testing/data";
|
|
45
|
+
import * as example_testing_rpc from "../../../example/testing/rpc";
|
|
46
|
+
import * as google_protobuf from "../../../google/protobuf";
|
|
47
|
+
/**
|
|
48
|
+
* Defined in:
|
|
49
|
+
* {@link file://./../../../../dxos/mesh/teleport/presence.proto}
|
|
50
|
+
*/
|
|
51
|
+
export interface PeerState {
|
|
52
|
+
peerId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
53
|
+
/**
|
|
54
|
+
* Will be used to build network graph
|
|
55
|
+
*/
|
|
56
|
+
connections?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>[];
|
|
57
|
+
/**
|
|
58
|
+
* Peer tracks what had been sent by message id
|
|
59
|
+
*/
|
|
60
|
+
messageId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
61
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Defined in:
|
|
65
|
+
* {@link file://./../../../../dxos/mesh/teleport/presence.proto}
|
|
66
|
+
*/
|
|
67
|
+
export interface PresenceService {
|
|
68
|
+
announce: (request: PeerState) => Promise<void>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import type { Stream } from "@dxos/codec-protobuf";
|
|
2
|
+
import substitutions from "../../../../substitutions";
|
|
3
|
+
import * as dxos_bot from "../../bot";
|
|
4
|
+
import * as dxos_client from "../../client";
|
|
5
|
+
import * as dxos_client_services from "../../client/services";
|
|
6
|
+
import * as dxos_config from "../../config";
|
|
7
|
+
import * as dxos_devtools_host from "../../devtools/host";
|
|
8
|
+
import * as dxos_devtools_swarm from "../../devtools/swarm";
|
|
9
|
+
import * as dxos_echo_feed from "../../echo/feed";
|
|
10
|
+
import * as dxos_echo_metadata from "../../echo/metadata";
|
|
11
|
+
import * as dxos_echo_model_messenger from "../../echo/model/messenger";
|
|
12
|
+
import * as dxos_echo_model_object from "../../echo/model/object";
|
|
13
|
+
import * as dxos_echo_model_text from "../../echo/model/text";
|
|
14
|
+
import * as dxos_echo_service from "../../echo/service";
|
|
15
|
+
import * as dxos_echo_snapshot from "../../echo/snapshot";
|
|
16
|
+
import * as dxos_echo_timeframe from "../../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../../gravity";
|
|
18
|
+
import * as dxos_halo_credentials from "../../halo/credentials";
|
|
19
|
+
import * as dxos_halo_credentials_auth from "../../halo/credentials/auth";
|
|
20
|
+
import * as dxos_halo_credentials_greet from "../../halo/credentials/greet";
|
|
21
|
+
import * as dxos_halo_credentials_identity from "../../halo/credentials/identity";
|
|
22
|
+
import * as dxos_halo_invitations from "../../halo/invitations";
|
|
23
|
+
import * as dxos_halo_keyring from "../../halo/keyring";
|
|
24
|
+
import * as dxos_halo_keys from "../../halo/keys";
|
|
25
|
+
import * as dxos_halo_signed from "../../halo/signed";
|
|
26
|
+
import * as dxos_iframe from "../../iframe";
|
|
27
|
+
import * as dxos_keys from "../../keys";
|
|
28
|
+
import * as dxos_mesh_bridge from "../bridge";
|
|
29
|
+
import * as dxos_mesh_broadcast from "../broadcast";
|
|
30
|
+
import * as dxos_mesh_messaging from "../messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../muxer";
|
|
32
|
+
import * as dxos_mesh_presence from "../presence";
|
|
33
|
+
import * as dxos_mesh_protocol from "../protocol";
|
|
34
|
+
import * as dxos_mesh_replicator from "../replicator";
|
|
35
|
+
import * as dxos_mesh_signal from "../signal";
|
|
36
|
+
import * as dxos_mesh_swarm from "../swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "./control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "./presence";
|
|
39
|
+
import * as dxos_registry from "../../registry";
|
|
40
|
+
import * as dxos_rpc from "../../rpc";
|
|
41
|
+
import * as dxos_service_publisher from "../../service/publisher";
|
|
42
|
+
import * as dxos_service_scheduler from "../../service/scheduler";
|
|
43
|
+
import * as dxos_type from "../../type";
|
|
44
|
+
import * as example_testing_data from "../../../example/testing/data";
|
|
45
|
+
import * as example_testing_rpc from "../../../example/testing/rpc";
|
|
46
|
+
import * as google_protobuf from "../../../google/protobuf";
|
|
47
|
+
/**
|
|
48
|
+
* Defined in:
|
|
49
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
50
|
+
*/
|
|
51
|
+
export interface FeedInfo {
|
|
52
|
+
feedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
53
|
+
/**
|
|
54
|
+
* set if the peer whishes to download the data from the feed.
|
|
55
|
+
*/
|
|
56
|
+
download: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* set if the peer whishes to updload the data from the feed.
|
|
59
|
+
*/
|
|
60
|
+
upload: boolean;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Defined in:
|
|
64
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
65
|
+
*/
|
|
66
|
+
export interface UpdateFeedsRequest {
|
|
67
|
+
feeds?: FeedInfo[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Defined in:
|
|
71
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
72
|
+
*/
|
|
73
|
+
export interface StartReplicationRequest {
|
|
74
|
+
info: FeedInfo;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Defined in:
|
|
78
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
79
|
+
*/
|
|
80
|
+
export interface StartReplicationResponse {
|
|
81
|
+
/**
|
|
82
|
+
* Tag of the stream the peers will use for the replication.
|
|
83
|
+
* Set to null or "" (empty string) of the peer does not wish to replicate the feed.
|
|
84
|
+
*
|
|
85
|
+
* A new stream must be open with unique tag to start replicating. Existing streams cannot be reused.
|
|
86
|
+
*
|
|
87
|
+
* Options:
|
|
88
|
+
* - proto3_optional = true
|
|
89
|
+
*/
|
|
90
|
+
streamTag?: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Defined in:
|
|
94
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
95
|
+
*/
|
|
96
|
+
export interface StopReplicationRequest {
|
|
97
|
+
info: FeedInfo;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* RPC verbs for replication teleport extension.
|
|
101
|
+
* Assumes one peer is designated an initiator.
|
|
102
|
+
* The initiator will start and stop replication streams.
|
|
103
|
+
* The other peer will send updates using the UpdateFeeds method.
|
|
104
|
+
*
|
|
105
|
+
* Defined in:
|
|
106
|
+
* {@link file://./../../../../dxos/mesh/teleport/replicator.proto}
|
|
107
|
+
*/
|
|
108
|
+
export interface ReplicatorService {
|
|
109
|
+
/**
|
|
110
|
+
* Notify about available feeds.
|
|
111
|
+
*/
|
|
112
|
+
updateFeeds: (request: UpdateFeedsRequest) => Promise<void>;
|
|
113
|
+
/**
|
|
114
|
+
* Start replicating feed. If this feed is already being replicated, the existing replication session must be stopped.
|
|
115
|
+
*/
|
|
116
|
+
startReplication: (request: StartReplicationRequest) => Promise<StartReplicationResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Stop replicating feed.
|
|
119
|
+
*/
|
|
120
|
+
stopReplication: (request: StopReplicationRequest) => Promise<void>;
|
|
121
|
+
}
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "./echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "./echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "./gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "./halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "./keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "./mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "./mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "./mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "./mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "./mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_rpc from "./rpc";
|
|
36
41
|
import * as dxos_service_publisher from "./service/publisher";
|
|
37
42
|
import * as dxos_service_scheduler from "./service/scheduler";
|
|
@@ -91,9 +96,9 @@ export namespace Record {
|
|
|
91
96
|
*/
|
|
92
97
|
messageName: string;
|
|
93
98
|
/**
|
|
94
|
-
* Set of protobuf messages encoded
|
|
99
|
+
* Set of protobuf messages encoded.
|
|
95
100
|
*/
|
|
96
|
-
protobufDefs:
|
|
101
|
+
protobufDefs: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
97
102
|
/**
|
|
98
103
|
* CID of protobuf source file.
|
|
99
104
|
*
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "./echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "./echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "./gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "./halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "./keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "./mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "./mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "./mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "./mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "./mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "./registry";
|
|
36
41
|
import * as dxos_service_publisher from "./service/publisher";
|
|
37
42
|
import * as dxos_service_scheduler from "./service/scheduler";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "../keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "../mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "../mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "../mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "../mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "../mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "../mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "../mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "../mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "../registry";
|
|
36
41
|
import * as dxos_rpc from "../rpc";
|
|
37
42
|
import * as dxos_service_scheduler from "./scheduler";
|
|
@@ -52,7 +57,17 @@ export interface PublishRequest {
|
|
|
52
57
|
* {@link file://./../../../dxos/service/publisher.proto}
|
|
53
58
|
*/
|
|
54
59
|
export interface PublishResponse {
|
|
55
|
-
|
|
60
|
+
modules?: PublishResponse.PublishedModule[];
|
|
61
|
+
}
|
|
62
|
+
export namespace PublishResponse {
|
|
63
|
+
/**
|
|
64
|
+
* Defined in:
|
|
65
|
+
* {@link file://./../../../dxos/service/publisher.proto}
|
|
66
|
+
*/
|
|
67
|
+
export interface PublishedModule {
|
|
68
|
+
module: dxos_config.Module;
|
|
69
|
+
urls?: string[];
|
|
70
|
+
}
|
|
56
71
|
}
|
|
57
72
|
/**
|
|
58
73
|
* Defined in:
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "../keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "../mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "../mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "../mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "../mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "../mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "../mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "../mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "../mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "../mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "../mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "../mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "../registry";
|
|
36
41
|
import * as dxos_rpc from "../rpc";
|
|
37
42
|
import * as dxos_service_publisher from "./publisher";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "./echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "./echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "./gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "./halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "./keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "./mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "./mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "./mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "./mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "./mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "./registry";
|
|
36
41
|
import * as dxos_rpc from "./rpc";
|
|
37
42
|
import * as dxos_service_publisher from "./service/publisher";
|
|
@@ -131,13 +136,13 @@ export interface Bot {
|
|
|
131
136
|
*/
|
|
132
137
|
export interface StateMachine {
|
|
133
138
|
/**
|
|
134
|
-
* Set of protobuf messages
|
|
139
|
+
* Set of protobuf messages.
|
|
135
140
|
*/
|
|
136
|
-
mutationProtobufDefs:
|
|
141
|
+
mutationProtobufDefs: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
137
142
|
/**
|
|
138
|
-
* Set of protobuf messages
|
|
143
|
+
* Set of protobuf messages.
|
|
139
144
|
*/
|
|
140
|
-
snapshotProtobufDefs:
|
|
145
|
+
snapshotProtobufDefs: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
141
146
|
codeIpfsCid: Uint8Array;
|
|
142
147
|
}
|
|
143
148
|
/**
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../../dxos/echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../../dxos/echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../../dxos/echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../../dxos/echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../../dxos/gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../../dxos/halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../../dxos/halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../../dxos/halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "../../dxos/keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "../../dxos/mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "../../dxos/mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "../../dxos/mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../../dxos/mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "../../dxos/mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "../../dxos/mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "../../dxos/mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "../../dxos/mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "../../dxos/mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "../../dxos/mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "../../dxos/mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "../../dxos/mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "../../dxos/registry";
|
|
36
41
|
import * as dxos_rpc from "../../dxos/rpc";
|
|
37
42
|
import * as dxos_service_publisher from "../../dxos/service/publisher";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../../dxos/echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../../dxos/echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../../dxos/echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../../dxos/echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../../dxos/gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../../dxos/halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../../dxos/halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../../dxos/halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "../../dxos/keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "../../dxos/mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "../../dxos/mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "../../dxos/mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../../dxos/mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "../../dxos/mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "../../dxos/mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "../../dxos/mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "../../dxos/mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "../../dxos/mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "../../dxos/mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "../../dxos/mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "../../dxos/mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "../../dxos/registry";
|
|
36
41
|
import * as dxos_rpc from "../../dxos/rpc";
|
|
37
42
|
import * as dxos_service_publisher from "../../dxos/service/publisher";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_model_text from "../dxos/echo/model/text";
|
|
|
14
14
|
import * as dxos_echo_service from "../dxos/echo/service";
|
|
15
15
|
import * as dxos_echo_snapshot from "../dxos/echo/snapshot";
|
|
16
16
|
import * as dxos_echo_timeframe from "../dxos/echo/timeframe";
|
|
17
|
+
import * as dxos_gravity from "../dxos/gravity";
|
|
17
18
|
import * as dxos_halo_credentials from "../dxos/halo/credentials";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "../dxos/halo/credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "../dxos/halo/credentials/greet";
|
|
@@ -27,11 +28,15 @@ import * as dxos_keys from "../dxos/keys";
|
|
|
27
28
|
import * as dxos_mesh_bridge from "../dxos/mesh/bridge";
|
|
28
29
|
import * as dxos_mesh_broadcast from "../dxos/mesh/broadcast";
|
|
29
30
|
import * as dxos_mesh_messaging from "../dxos/mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "../dxos/mesh/muxer";
|
|
30
32
|
import * as dxos_mesh_presence from "../dxos/mesh/presence";
|
|
31
33
|
import * as dxos_mesh_protocol from "../dxos/mesh/protocol";
|
|
32
34
|
import * as dxos_mesh_replicator from "../dxos/mesh/replicator";
|
|
33
35
|
import * as dxos_mesh_signal from "../dxos/mesh/signal";
|
|
34
36
|
import * as dxos_mesh_swarm from "../dxos/mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_control from "../dxos/mesh/teleport/control";
|
|
38
|
+
import * as dxos_mesh_teleport_presence from "../dxos/mesh/teleport/presence";
|
|
39
|
+
import * as dxos_mesh_teleport_replicator from "../dxos/mesh/teleport/replicator";
|
|
35
40
|
import * as dxos_registry from "../dxos/registry";
|
|
36
41
|
import * as dxos_rpc from "../dxos/rpc";
|
|
37
42
|
import * as dxos_service_publisher from "../dxos/service/publisher";
|
|
@@ -76,3 +81,20 @@ export interface StringValue {
|
|
|
76
81
|
export interface BytesValue {
|
|
77
82
|
value: Uint8Array;
|
|
78
83
|
}
|
|
84
|
+
export interface Struct {
|
|
85
|
+
fields?: Partial<Record<string, Value>>;
|
|
86
|
+
}
|
|
87
|
+
export interface Value {
|
|
88
|
+
nullValue?: NullValue;
|
|
89
|
+
numberValue?: number;
|
|
90
|
+
stringValue?: string;
|
|
91
|
+
boolValue?: boolean;
|
|
92
|
+
structValue?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
93
|
+
listValue?: ListValue;
|
|
94
|
+
}
|
|
95
|
+
export enum NullValue {
|
|
96
|
+
NULL_VALUE = 0
|
|
97
|
+
}
|
|
98
|
+
export interface ListValue {
|
|
99
|
+
values?: Value[];
|
|
100
|
+
}
|