@dxos/protocols 0.1.0
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/LICENSE +21 -0
- package/README.md +11 -0
- package/dist/src/codec.test.d.ts +2 -0
- package/dist/src/codec.test.d.ts.map +1 -0
- package/dist/src/codec.test.js +21 -0
- package/dist/src/codec.test.js.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +23 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/proto/gen/dxos/bot.d.ts +268 -0
- package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/bot.js +19 -0
- package/dist/src/proto/gen/dxos/bot.js.map +1 -0
- package/dist/src/proto/gen/dxos/client.d.ts +388 -0
- package/dist/src/proto/gen/dxos/client.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/client.js +15 -0
- package/dist/src/proto/gen/dxos/client.js.map +1 -0
- package/dist/src/proto/gen/dxos/config.d.ts +849 -0
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/config.js +39 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -0
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +387 -0
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/devtools/host.js +3 -0
- package/dist/src/proto/gen/dxos/devtools/host.js.map +1 -0
- package/dist/src/proto/gen/dxos/devtools/swarmLog.d.ts +50 -0
- package/dist/src/proto/gen/dxos/devtools/swarmLog.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/devtools/swarmLog.js +3 -0
- package/dist/src/proto/gen/dxos/devtools/swarmLog.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/feed.d.ts +112 -0
- package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/feed.js +17 -0
- package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +64 -0
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/metadata.js +3 -0
- package/dist/src/proto/gen/dxos/echo/metadata.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts +10 -0
- package/dist/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/messenger.js +3 -0
- package/dist/src/proto/gen/dxos/echo/model/messenger.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/object.d.ts +141 -0
- package/dist/src/proto/gen/dxos/echo/model/object.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/object.js +40 -0
- package/dist/src/proto/gen/dxos/echo/model/object.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts +16 -0
- package/dist/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/model/text.js +3 -0
- package/dist/src/proto/gen/dxos/echo/model/text.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/service.d.ts +83 -0
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/service.js +3 -0
- package/dist/src/proto/gen/dxos/echo/service.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts +133 -0
- package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/snapshot.js +3 -0
- package/dist/src/proto/gen/dxos/echo/snapshot.js.map +1 -0
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts +20 -0
- package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/echo/timeframe.js +3 -0
- package/dist/src/proto/gen/dxos/echo/timeframe.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts +36 -0
- package/dist/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/auth.js +3 -0
- package/dist/src/proto/gen/dxos/halo/credentials/auth.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts +70 -0
- package/dist/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/greet.js +19 -0
- package/dist/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts +18 -0
- package/dist/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/identity.js +3 -0
- package/dist/src/proto/gen/dxos/halo/credentials/identity.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/party.d.ts +82 -0
- package/dist/src/proto/gen/dxos/halo/credentials/party.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials/party.js +19 -0
- package/dist/src/proto/gen/dxos/halo/credentials/party.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +272 -0
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/credentials.js +31 -0
- package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts +117 -0
- package/dist/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/invitations.js +16 -0
- package/dist/src/proto/gen/dxos/halo/invitations.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts +9 -0
- package/dist/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/keyring.js +3 -0
- package/dist/src/proto/gen/dxos/halo/keyring.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/keys.d.ts +88 -0
- package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/keys.js +17 -0
- package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -0
- package/dist/src/proto/gen/dxos/halo/signed.d.ts +64 -0
- package/dist/src/proto/gen/dxos/halo/signed.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/halo/signed.js +3 -0
- package/dist/src/proto/gen/dxos/halo/signed.js.map +1 -0
- package/dist/src/proto/gen/dxos/iframe.d.ts +27 -0
- package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/iframe.js +3 -0
- package/dist/src/proto/gen/dxos/iframe.js.map +1 -0
- package/dist/src/proto/gen/dxos/keys.d.ts +15 -0
- package/dist/src/proto/gen/dxos/keys.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/keys.js +3 -0
- package/dist/src/proto/gen/dxos/keys.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts +92 -0
- package/dist/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/bridge.js +15 -0
- package/dist/src/proto/gen/dxos/mesh/bridge.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts +15 -0
- package/dist/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/broadcast.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/broadcast.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts +26 -0
- package/dist/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/messaging.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/messaging.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts +28 -0
- package/dist/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/presence.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/presence.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts +27 -0
- package/dist/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/protocol.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/protocol.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts +26 -0
- package/dist/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/replicator.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/replicator.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts +99 -0
- package/dist/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/signal.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/signal.js.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts +60 -0
- package/dist/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/mesh/swarm.js +3 -0
- package/dist/src/proto/gen/dxos/mesh/swarm.js.map +1 -0
- package/dist/src/proto/gen/dxos/registry.d.ts +82 -0
- package/dist/src/proto/gen/dxos/registry.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/registry.js +3 -0
- package/dist/src/proto/gen/dxos/registry.js.map +1 -0
- package/dist/src/proto/gen/dxos/rpc.d.ts +94 -0
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/rpc.js +16 -0
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -0
- package/dist/src/proto/gen/dxos/service/publisher.d.ts +39 -0
- package/dist/src/proto/gen/dxos/service/publisher.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/service/publisher.js +3 -0
- package/dist/src/proto/gen/dxos/service/publisher.js.map +1 -0
- package/dist/src/proto/gen/dxos/service/scheduler.d.ts +300 -0
- package/dist/src/proto/gen/dxos/service/scheduler.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/service/scheduler.js +16 -0
- package/dist/src/proto/gen/dxos/service/scheduler.js.map +1 -0
- package/dist/src/proto/gen/dxos/type.d.ts +167 -0
- package/dist/src/proto/gen/dxos/type.d.ts.map +1 -0
- package/dist/src/proto/gen/dxos/type.js +3 -0
- package/dist/src/proto/gen/dxos/type.js.map +1 -0
- package/dist/src/proto/gen/example/testing/data.d.ts +23 -0
- package/dist/src/proto/gen/example/testing/data.d.ts.map +1 -0
- package/dist/src/proto/gen/example/testing/data.js +3 -0
- package/dist/src/proto/gen/example/testing/data.js.map +1 -0
- package/dist/src/proto/gen/example/testing/rpc.d.ts +67 -0
- package/dist/src/proto/gen/example/testing/rpc.d.ts.map +1 -0
- package/dist/src/proto/gen/example/testing/rpc.js +3 -0
- package/dist/src/proto/gen/example/testing/rpc.js.map +1 -0
- package/dist/src/proto/gen/google/protobuf.d.ts +38 -0
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -0
- package/dist/src/proto/gen/google/protobuf.js +3 -0
- package/dist/src/proto/gen/google/protobuf.js.map +1 -0
- package/dist/src/proto/gen/index.d.ts +385 -0
- package/dist/src/proto/gen/index.d.ts.map +1 -0
- package/dist/src/proto/gen/index.js +11 -0
- package/dist/src/proto/gen/index.js.map +1 -0
- package/dist/src/proto/index.d.ts +2 -0
- package/dist/src/proto/index.d.ts.map +1 -0
- package/dist/src/proto/index.js +10 -0
- package/dist/src/proto/index.js.map +1 -0
- package/dist/src/proto/substitutions.d.ts +60 -0
- package/dist/src/proto/substitutions.d.ts.map +1 -0
- package/dist/src/proto/substitutions.js +37 -0
- package/dist/src/proto/substitutions.js.map +1 -0
- package/dist/src/testing.d.ts +5 -0
- package/dist/src/testing.d.ts.map +1 -0
- package/dist/src/testing.js +22 -0
- package/dist/src/testing.js.map +1 -0
- package/dist/src/types.d.ts +33 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +6 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +40 -0
- package/proto/README.md +7 -0
- package/proto/dxos/bot.d.ts +2 -0
- package/proto/dxos/bot.d.ts.map +10 -0
- package/proto/dxos/bot.js +2 -0
- package/proto/dxos/client.d.ts +2 -0
- package/proto/dxos/client.d.ts.map +10 -0
- package/proto/dxos/client.js +2 -0
- package/proto/dxos/config.d.ts +2 -0
- package/proto/dxos/config.d.ts.map +10 -0
- package/proto/dxos/config.js +2 -0
- package/proto/dxos/devtools/host.d.ts +2 -0
- package/proto/dxos/devtools/host.d.ts.map +10 -0
- package/proto/dxos/devtools/host.js +2 -0
- package/proto/dxos/devtools/swarmLog.d.ts +2 -0
- package/proto/dxos/devtools/swarmLog.d.ts.map +10 -0
- package/proto/dxos/devtools/swarmLog.js +2 -0
- package/proto/dxos/echo/feed.d.ts +2 -0
- package/proto/dxos/echo/feed.d.ts.map +10 -0
- package/proto/dxos/echo/feed.js +2 -0
- package/proto/dxos/echo/metadata.d.ts +2 -0
- package/proto/dxos/echo/metadata.d.ts.map +10 -0
- package/proto/dxos/echo/metadata.js +2 -0
- package/proto/dxos/echo/model/messenger.d.ts +2 -0
- package/proto/dxos/echo/model/messenger.d.ts.map +10 -0
- package/proto/dxos/echo/model/messenger.js +2 -0
- package/proto/dxos/echo/model/object.d.ts +2 -0
- package/proto/dxos/echo/model/object.d.ts.map +10 -0
- package/proto/dxos/echo/model/object.js +2 -0
- package/proto/dxos/echo/model/text.d.ts +2 -0
- package/proto/dxos/echo/model/text.d.ts.map +10 -0
- package/proto/dxos/echo/model/text.js +2 -0
- package/proto/dxos/echo/service.d.ts +2 -0
- package/proto/dxos/echo/service.d.ts.map +10 -0
- package/proto/dxos/echo/service.js +2 -0
- package/proto/dxos/echo/snapshot.d.ts +2 -0
- package/proto/dxos/echo/snapshot.d.ts.map +10 -0
- package/proto/dxos/echo/snapshot.js +2 -0
- package/proto/dxos/echo/timeframe.d.ts +2 -0
- package/proto/dxos/echo/timeframe.d.ts.map +10 -0
- package/proto/dxos/echo/timeframe.js +2 -0
- package/proto/dxos/google.d.ts +2 -0
- package/proto/dxos/google.d.ts.map +10 -0
- package/proto/dxos/google.js +2 -0
- package/proto/dxos/halo/credentials/auth.d.ts +2 -0
- package/proto/dxos/halo/credentials/auth.d.ts.map +10 -0
- package/proto/dxos/halo/credentials/auth.js +2 -0
- package/proto/dxos/halo/credentials/greet.d.ts +2 -0
- package/proto/dxos/halo/credentials/greet.d.ts.map +10 -0
- package/proto/dxos/halo/credentials/greet.js +2 -0
- package/proto/dxos/halo/credentials/identity.d.ts +2 -0
- package/proto/dxos/halo/credentials/identity.d.ts.map +10 -0
- package/proto/dxos/halo/credentials/identity.js +2 -0
- package/proto/dxos/halo/credentials/party.d.ts +2 -0
- package/proto/dxos/halo/credentials/party.d.ts.map +10 -0
- package/proto/dxos/halo/credentials/party.js +2 -0
- package/proto/dxos/halo/credentials.d.ts +2 -0
- package/proto/dxos/halo/credentials.d.ts.map +10 -0
- package/proto/dxos/halo/credentials.js +2 -0
- package/proto/dxos/halo/invitations.d.ts +2 -0
- package/proto/dxos/halo/invitations.d.ts.map +10 -0
- package/proto/dxos/halo/invitations.js +2 -0
- package/proto/dxos/halo/keyring.d.ts +2 -0
- package/proto/dxos/halo/keyring.d.ts.map +10 -0
- package/proto/dxos/halo/keyring.js +2 -0
- package/proto/dxos/halo/keys.d.ts +2 -0
- package/proto/dxos/halo/keys.d.ts.map +10 -0
- package/proto/dxos/halo/keys.js +2 -0
- package/proto/dxos/halo/signed.d.ts +2 -0
- package/proto/dxos/halo/signed.d.ts.map +10 -0
- package/proto/dxos/halo/signed.js +2 -0
- package/proto/dxos/iframe.d.ts +2 -0
- package/proto/dxos/iframe.d.ts.map +10 -0
- package/proto/dxos/iframe.js +2 -0
- package/proto/dxos/keys.d.ts +2 -0
- package/proto/dxos/keys.d.ts.map +10 -0
- package/proto/dxos/keys.js +2 -0
- package/proto/dxos/mesh/bridge.d.ts +2 -0
- package/proto/dxos/mesh/bridge.d.ts.map +10 -0
- package/proto/dxos/mesh/bridge.js +2 -0
- package/proto/dxos/mesh/broadcast.d.ts +2 -0
- package/proto/dxos/mesh/broadcast.d.ts.map +10 -0
- package/proto/dxos/mesh/broadcast.js +2 -0
- package/proto/dxos/mesh/messaging.d.ts +2 -0
- package/proto/dxos/mesh/messaging.d.ts.map +10 -0
- package/proto/dxos/mesh/messaging.js +2 -0
- package/proto/dxos/mesh/presence.d.ts +2 -0
- package/proto/dxos/mesh/presence.d.ts.map +10 -0
- package/proto/dxos/mesh/presence.js +2 -0
- package/proto/dxos/mesh/protocol.d.ts +2 -0
- package/proto/dxos/mesh/protocol.d.ts.map +10 -0
- package/proto/dxos/mesh/protocol.js +2 -0
- package/proto/dxos/mesh/replicator.d.ts +2 -0
- package/proto/dxos/mesh/replicator.d.ts.map +10 -0
- package/proto/dxos/mesh/replicator.js +2 -0
- package/proto/dxos/mesh/signal.d.ts +2 -0
- package/proto/dxos/mesh/signal.d.ts.map +10 -0
- package/proto/dxos/mesh/signal.js +2 -0
- package/proto/dxos/mesh/swarm.d.ts +2 -0
- package/proto/dxos/mesh/swarm.d.ts.map +10 -0
- package/proto/dxos/mesh/swarm.js +2 -0
- package/proto/dxos/registry.d.ts +2 -0
- package/proto/dxos/registry.d.ts.map +10 -0
- package/proto/dxos/registry.js +2 -0
- package/proto/dxos/rpc.d.ts +2 -0
- package/proto/dxos/rpc.d.ts.map +10 -0
- package/proto/dxos/rpc.js +2 -0
- package/proto/dxos/service/publisher.d.ts +2 -0
- package/proto/dxos/service/publisher.d.ts.map +10 -0
- package/proto/dxos/service/publisher.js +2 -0
- package/proto/dxos/service/scheduler.d.ts +2 -0
- package/proto/dxos/service/scheduler.d.ts.map +10 -0
- package/proto/dxos/service/scheduler.js +2 -0
- package/proto/dxos/type.d.ts +2 -0
- package/proto/dxos/type.d.ts.map +10 -0
- package/proto/dxos/type.js +2 -0
- package/proto/example/testing/data.d.ts +2 -0
- package/proto/example/testing/data.d.ts.map +10 -0
- package/proto/example/testing/data.js +2 -0
- package/proto/example/testing/rpc.d.ts +2 -0
- package/proto/example/testing/rpc.d.ts.map +10 -0
- package/proto/example/testing/rpc.js +2 -0
- package/src/codec.test.ts +24 -0
- package/src/index.ts +7 -0
- package/src/proto/dxos/bot.proto +151 -0
- package/src/proto/dxos/client.proto +254 -0
- package/src/proto/dxos/config.proto +305 -0
- package/src/proto/dxos/devtools/host.proto +294 -0
- package/src/proto/dxos/devtools/swarmLog.proto +32 -0
- package/src/proto/dxos/echo/feed.proto +83 -0
- package/src/proto/dxos/echo/metadata.proto +51 -0
- package/src/proto/dxos/echo/model/messenger.proto +13 -0
- package/src/proto/dxos/echo/model/object.proto +123 -0
- package/src/proto/dxos/echo/model/text.proto +16 -0
- package/src/proto/dxos/echo/service.proto +63 -0
- package/src/proto/dxos/echo/snapshot.proto +98 -0
- package/src/proto/dxos/echo/timeframe.proto +21 -0
- package/src/proto/dxos/google.proto +7 -0
- package/src/proto/dxos/halo/credentials/auth.proto +31 -0
- package/src/proto/dxos/halo/credentials/greet.proto +125 -0
- package/src/proto/dxos/halo/credentials/identity.proto +21 -0
- package/src/proto/dxos/halo/credentials/party.proto +127 -0
- package/src/proto/dxos/halo/credentials.proto +232 -0
- package/src/proto/dxos/halo/invitations.proto +90 -0
- package/src/proto/dxos/halo/keyring.proto +13 -0
- package/src/proto/dxos/halo/keys.proto +83 -0
- package/src/proto/dxos/halo/signed.proto +51 -0
- package/src/proto/dxos/iframe.proto +24 -0
- package/src/proto/dxos/keys.proto +15 -0
- package/src/proto/dxos/mesh/bridge.proto +76 -0
- package/src/proto/dxos/mesh/broadcast.proto +21 -0
- package/src/proto/dxos/mesh/messaging.proto +24 -0
- package/src/proto/dxos/mesh/presence.proto +22 -0
- package/src/proto/dxos/mesh/protocol.proto +28 -0
- package/src/proto/dxos/mesh/replicator.proto +19 -0
- package/src/proto/dxos/mesh/signal.proto +79 -0
- package/src/proto/dxos/mesh/swarm.proto +41 -0
- package/src/proto/dxos/registry.proto +60 -0
- package/src/proto/dxos/rpc.proto +73 -0
- package/src/proto/dxos/service/publisher.proto +35 -0
- package/src/proto/dxos/service/scheduler.proto +171 -0
- package/src/proto/dxos/type.proto +166 -0
- package/src/proto/example/testing/data.proto +20 -0
- package/src/proto/example/testing/rpc.proto +47 -0
- package/src/proto/gen/dxos/bot.ts +303 -0
- package/src/proto/gen/dxos/client.ts +422 -0
- package/src/proto/gen/dxos/config.ts +888 -0
- package/src/proto/gen/dxos/devtools/host.ts +419 -0
- package/src/proto/gen/dxos/devtools/swarmLog.ts +89 -0
- package/src/proto/gen/dxos/echo/feed.ts +149 -0
- package/src/proto/gen/dxos/echo/metadata.ts +102 -0
- package/src/proto/gen/dxos/echo/model/messenger.ts +50 -0
- package/src/proto/gen/dxos/echo/model/object.ts +181 -0
- package/src/proto/gen/dxos/echo/model/text.ts +56 -0
- package/src/proto/gen/dxos/echo/service.ts +119 -0
- package/src/proto/gen/dxos/echo/snapshot.ts +171 -0
- package/src/proto/gen/dxos/echo/timeframe.ts +60 -0
- package/src/proto/gen/dxos/halo/credentials/auth.ts +75 -0
- package/src/proto/gen/dxos/halo/credentials/greet.ts +108 -0
- package/src/proto/gen/dxos/halo/credentials/identity.ts +57 -0
- package/src/proto/gen/dxos/halo/credentials/party.ts +119 -0
- package/src/proto/gen/dxos/halo/credentials.ts +311 -0
- package/src/proto/gen/dxos/halo/invitations.ts +156 -0
- package/src/proto/gen/dxos/halo/keyring.ts +49 -0
- package/src/proto/gen/dxos/halo/keys.ts +126 -0
- package/src/proto/gen/dxos/halo/signed.ts +102 -0
- package/src/proto/gen/dxos/iframe.ts +67 -0
- package/src/proto/gen/dxos/keys.ts +55 -0
- package/src/proto/gen/dxos/mesh/bridge.ts +129 -0
- package/src/proto/gen/dxos/mesh/broadcast.ts +55 -0
- package/src/proto/gen/dxos/mesh/messaging.ts +65 -0
- package/src/proto/gen/dxos/mesh/presence.ts +68 -0
- package/src/proto/gen/dxos/mesh/protocol.ts +66 -0
- package/src/proto/gen/dxos/mesh/replicator.ts +65 -0
- package/src/proto/gen/dxos/mesh/signal.ts +137 -0
- package/src/proto/gen/dxos/mesh/swarm.ts +99 -0
- package/src/proto/gen/dxos/registry.ts +121 -0
- package/src/proto/gen/dxos/rpc.ts +133 -0
- package/src/proto/gen/dxos/service/publisher.ts +78 -0
- package/src/proto/gen/dxos/service/scheduler.ts +337 -0
- package/src/proto/gen/dxos/type.ts +206 -0
- package/src/proto/gen/example/testing/data.ts +63 -0
- package/src/proto/gen/example/testing/rpc.ts +105 -0
- package/src/proto/gen/google/protobuf.ts +78 -0
- package/src/proto/gen/index.ts +385 -0
- package/src/proto/index.ts +5 -0
- package/src/proto/substitutions.ts +39 -0
- package/src/testing.ts +28 -0
- package/src/types.ts +51 -0
|
@@ -0,0 +1,102 @@
|
|
|
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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "./credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "./credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "./credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "./credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "./invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "./keyring";
|
|
23
|
+
import * as dxos_halo_keys from "./keys";
|
|
24
|
+
import * as dxos_iframe from "../iframe";
|
|
25
|
+
import * as dxos_keys from "../keys";
|
|
26
|
+
import * as dxos_mesh_bridge from "../mesh/bridge";
|
|
27
|
+
import * as dxos_mesh_broadcast from "../mesh/broadcast";
|
|
28
|
+
import * as dxos_mesh_messaging from "../mesh/messaging";
|
|
29
|
+
import * as dxos_mesh_presence from "../mesh/presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "../mesh/protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "../mesh/replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "../mesh/signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "../mesh/swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/halo/signed.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Message {
|
|
47
|
+
payload: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A generic container message used whenever messages are signed (e.g. PartyCredential)
|
|
51
|
+
*
|
|
52
|
+
* Defined in:
|
|
53
|
+
* {@link file://./../../../dxos/halo/signed.proto}
|
|
54
|
+
*/
|
|
55
|
+
export interface SignedMessage {
|
|
56
|
+
/**
|
|
57
|
+
* The signed message contents.
|
|
58
|
+
*/
|
|
59
|
+
signed: SignedMessage.Signed;
|
|
60
|
+
/**
|
|
61
|
+
* An array of Signatures, one for each key that signed the message.
|
|
62
|
+
*/
|
|
63
|
+
signatures?: SignedMessage.Signature[];
|
|
64
|
+
}
|
|
65
|
+
export namespace SignedMessage {
|
|
66
|
+
/**
|
|
67
|
+
* Defined in:
|
|
68
|
+
* {@link file://./../../../dxos/halo/signed.proto}
|
|
69
|
+
*/
|
|
70
|
+
export interface Signed {
|
|
71
|
+
/**
|
|
72
|
+
* RFC-3339 datetime string.
|
|
73
|
+
*/
|
|
74
|
+
created: string;
|
|
75
|
+
nonce: Uint8Array;
|
|
76
|
+
/**
|
|
77
|
+
* The payload to be signed.
|
|
78
|
+
*/
|
|
79
|
+
payload: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Defined in:
|
|
83
|
+
* {@link file://./../../../dxos/halo/signed.proto}
|
|
84
|
+
*/
|
|
85
|
+
export interface Signature {
|
|
86
|
+
/**
|
|
87
|
+
* The publicKey of the keypair that made this signature.
|
|
88
|
+
*/
|
|
89
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
90
|
+
/**
|
|
91
|
+
* The bytes of the signature.
|
|
92
|
+
*/
|
|
93
|
+
signature: Uint8Array;
|
|
94
|
+
/**
|
|
95
|
+
* The certification chain of SignedMessages for this key.
|
|
96
|
+
*
|
|
97
|
+
* Options:
|
|
98
|
+
* - proto3_optional = true
|
|
99
|
+
*/
|
|
100
|
+
keyChain?: dxos_halo_keys.KeyChain;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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_config from "./config";
|
|
6
|
+
import * as dxos_devtools_host from "./devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "./devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "./echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "./echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "./echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "./echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "./echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "./echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "./halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "./halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "./halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "./halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "./halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "./halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "./halo/signed";
|
|
25
|
+
import * as dxos_keys from "./keys";
|
|
26
|
+
import * as dxos_mesh_bridge from "./mesh/bridge";
|
|
27
|
+
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
28
|
+
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
29
|
+
import * as dxos_mesh_presence from "./mesh/presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./mesh/signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
34
|
+
import * as dxos_registry from "./registry";
|
|
35
|
+
import * as dxos_rpc from "./rpc";
|
|
36
|
+
import * as dxos_service_publisher from "./service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "./service/scheduler";
|
|
38
|
+
import * as dxos_type from "./type";
|
|
39
|
+
import * as example_testing_data from "../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../dxos/iframe.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface StartRequest {
|
|
47
|
+
origin: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Worker-to-iframe RPCs.
|
|
51
|
+
*
|
|
52
|
+
* Defined in:
|
|
53
|
+
* {@link file://./../../dxos/iframe.proto}
|
|
54
|
+
*/
|
|
55
|
+
export interface IframeService {
|
|
56
|
+
heartbeat: (request: void) => Promise<void>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Iframe-to-worker RPCs.
|
|
60
|
+
*
|
|
61
|
+
* Defined in:
|
|
62
|
+
* {@link file://./../../dxos/iframe.proto}
|
|
63
|
+
*/
|
|
64
|
+
export interface WorkerService {
|
|
65
|
+
start: (request: StartRequest) => Promise<void>;
|
|
66
|
+
stop: (request: void) => Promise<void>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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_config from "./config";
|
|
6
|
+
import * as dxos_devtools_host from "./devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "./devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "./echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "./echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "./echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "./echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "./echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "./echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "./halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "./halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "./halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "./halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "./halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "./halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "./halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "./halo/signed";
|
|
25
|
+
import * as dxos_iframe from "./iframe";
|
|
26
|
+
import * as dxos_mesh_bridge from "./mesh/bridge";
|
|
27
|
+
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
28
|
+
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
29
|
+
import * as dxos_mesh_presence from "./mesh/presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./mesh/signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
34
|
+
import * as dxos_registry from "./registry";
|
|
35
|
+
import * as dxos_rpc from "./rpc";
|
|
36
|
+
import * as dxos_service_publisher from "./service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "./service/scheduler";
|
|
38
|
+
import * as dxos_type from "./type";
|
|
39
|
+
import * as example_testing_data from "../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../dxos/keys.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface PublicKey {
|
|
47
|
+
data: Uint8Array;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Defined in:
|
|
51
|
+
* {@link file://./../../dxos/keys.proto}
|
|
52
|
+
*/
|
|
53
|
+
export interface PrivateKey {
|
|
54
|
+
data: Uint8Array;
|
|
55
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "../halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "../halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "../halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "../halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "../halo/signed";
|
|
25
|
+
import * as dxos_iframe from "../iframe";
|
|
26
|
+
import * as dxos_keys from "../keys";
|
|
27
|
+
import * as dxos_mesh_broadcast from "./broadcast";
|
|
28
|
+
import * as dxos_mesh_messaging from "./messaging";
|
|
29
|
+
import * as dxos_mesh_presence from "./presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "./protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface BridgeService {
|
|
47
|
+
open: (request: ConnectionRequest) => Stream<BridgeEvent>;
|
|
48
|
+
sendSignal: (request: SignalRequest) => Promise<void>;
|
|
49
|
+
sendData: (request: DataRequest) => Promise<void>;
|
|
50
|
+
close: (request: CloseRequest) => Promise<void>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Defined in:
|
|
54
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
55
|
+
*/
|
|
56
|
+
export enum ConnectionState {
|
|
57
|
+
INVALID = 0,
|
|
58
|
+
CONNECTING = 1,
|
|
59
|
+
CONNECTED = 2,
|
|
60
|
+
CLOSED = 3
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Defined in:
|
|
64
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
65
|
+
*/
|
|
66
|
+
export interface BridgeEvent {
|
|
67
|
+
connection?: BridgeEvent.ConnectionEvent;
|
|
68
|
+
signal?: BridgeEvent.SignalEvent;
|
|
69
|
+
data?: BridgeEvent.DataEvent;
|
|
70
|
+
}
|
|
71
|
+
export namespace BridgeEvent {
|
|
72
|
+
/**
|
|
73
|
+
* Defined in:
|
|
74
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
75
|
+
*/
|
|
76
|
+
export interface ConnectionEvent {
|
|
77
|
+
state: ConnectionState;
|
|
78
|
+
/**
|
|
79
|
+
* Options:
|
|
80
|
+
* - proto3_optional = true
|
|
81
|
+
*/
|
|
82
|
+
error?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Defined in:
|
|
86
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
87
|
+
*/
|
|
88
|
+
export interface SignalEvent {
|
|
89
|
+
payload: dxos_mesh_swarm.Signal;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Defined in:
|
|
93
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
94
|
+
*/
|
|
95
|
+
export interface DataEvent {
|
|
96
|
+
payload: Uint8Array;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Defined in:
|
|
101
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
102
|
+
*/
|
|
103
|
+
export interface ConnectionRequest {
|
|
104
|
+
proxyId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
105
|
+
initiator: boolean;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Defined in:
|
|
109
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
110
|
+
*/
|
|
111
|
+
export interface SignalRequest {
|
|
112
|
+
proxyId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
113
|
+
signal: dxos_mesh_swarm.Signal;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Defined in:
|
|
117
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
118
|
+
*/
|
|
119
|
+
export interface DataRequest {
|
|
120
|
+
proxyId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
121
|
+
payload: Uint8Array;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Defined in:
|
|
125
|
+
* {@link file://./../../../dxos/mesh/bridge.proto}
|
|
126
|
+
*/
|
|
127
|
+
export interface CloseRequest {
|
|
128
|
+
proxyId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "../halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "../halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "../halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "../halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "../halo/signed";
|
|
25
|
+
import * as dxos_iframe from "../iframe";
|
|
26
|
+
import * as dxos_keys from "../keys";
|
|
27
|
+
import * as dxos_mesh_bridge from "./bridge";
|
|
28
|
+
import * as dxos_mesh_messaging from "./messaging";
|
|
29
|
+
import * as dxos_mesh_presence from "./presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "./protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/mesh/broadcast.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Packet {
|
|
47
|
+
seq: Uint8Array;
|
|
48
|
+
origin: Uint8Array;
|
|
49
|
+
/**
|
|
50
|
+
* Options:
|
|
51
|
+
* - proto3_optional = true
|
|
52
|
+
*/
|
|
53
|
+
from?: Uint8Array;
|
|
54
|
+
data: Uint8Array;
|
|
55
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "../halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "../halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "../halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "../halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "../halo/signed";
|
|
25
|
+
import * as dxos_iframe from "../iframe";
|
|
26
|
+
import * as dxos_keys from "../keys";
|
|
27
|
+
import * as dxos_mesh_bridge from "./bridge";
|
|
28
|
+
import * as dxos_mesh_broadcast from "./broadcast";
|
|
29
|
+
import * as dxos_mesh_presence from "./presence";
|
|
30
|
+
import * as dxos_mesh_protocol from "./protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/mesh/messaging.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface ReliablePayload {
|
|
47
|
+
/**
|
|
48
|
+
* Unique message identifier. Used for Acknolegment.
|
|
49
|
+
*/
|
|
50
|
+
messageId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
51
|
+
/**
|
|
52
|
+
* Payload for signal server netwrok.
|
|
53
|
+
*/
|
|
54
|
+
payload: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Defined in:
|
|
58
|
+
* {@link file://./../../../dxos/mesh/messaging.proto}
|
|
59
|
+
*/
|
|
60
|
+
export interface Acknowledgement {
|
|
61
|
+
/**
|
|
62
|
+
* MessageId of the Message that is being acknowledged.
|
|
63
|
+
*/
|
|
64
|
+
messageId: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "../halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "../halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "../halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "../halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "../halo/signed";
|
|
25
|
+
import * as dxos_iframe from "../iframe";
|
|
26
|
+
import * as dxos_keys from "../keys";
|
|
27
|
+
import * as dxos_mesh_bridge from "./bridge";
|
|
28
|
+
import * as dxos_mesh_broadcast from "./broadcast";
|
|
29
|
+
import * as dxos_mesh_messaging from "./messaging";
|
|
30
|
+
import * as dxos_mesh_protocol from "./protocol";
|
|
31
|
+
import * as dxos_mesh_replicator from "./replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/mesh/presence.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Alive {
|
|
47
|
+
peerId: Uint8Array;
|
|
48
|
+
connections?: Alive.Connection[];
|
|
49
|
+
/**
|
|
50
|
+
* Options:
|
|
51
|
+
* - proto3_optional = true
|
|
52
|
+
*/
|
|
53
|
+
metadata?: Uint8Array;
|
|
54
|
+
}
|
|
55
|
+
export namespace Alive {
|
|
56
|
+
/**
|
|
57
|
+
* Defined in:
|
|
58
|
+
* {@link file://./../../../dxos/mesh/presence.proto}
|
|
59
|
+
*/
|
|
60
|
+
export interface Connection {
|
|
61
|
+
peerId: Uint8Array;
|
|
62
|
+
/**
|
|
63
|
+
* Options:
|
|
64
|
+
* - proto3_optional = true
|
|
65
|
+
*/
|
|
66
|
+
initiator?: boolean;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -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_config from "../config";
|
|
6
|
+
import * as dxos_devtools_host from "../devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarmLog from "../devtools/swarmLog";
|
|
8
|
+
import * as dxos_echo_feed from "../echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "../echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_messenger from "../echo/model/messenger";
|
|
11
|
+
import * as dxos_echo_model_object from "../echo/model/object";
|
|
12
|
+
import * as dxos_echo_model_text from "../echo/model/text";
|
|
13
|
+
import * as dxos_echo_service from "../echo/service";
|
|
14
|
+
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
|
+
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_halo_credentials from "../halo/credentials";
|
|
17
|
+
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
18
|
+
import * as dxos_halo_credentials_greet from "../halo/credentials/greet";
|
|
19
|
+
import * as dxos_halo_credentials_identity from "../halo/credentials/identity";
|
|
20
|
+
import * as dxos_halo_credentials_party from "../halo/credentials/party";
|
|
21
|
+
import * as dxos_halo_invitations from "../halo/invitations";
|
|
22
|
+
import * as dxos_halo_keyring from "../halo/keyring";
|
|
23
|
+
import * as dxos_halo_keys from "../halo/keys";
|
|
24
|
+
import * as dxos_halo_signed from "../halo/signed";
|
|
25
|
+
import * as dxos_iframe from "../iframe";
|
|
26
|
+
import * as dxos_keys from "../keys";
|
|
27
|
+
import * as dxos_mesh_bridge from "./bridge";
|
|
28
|
+
import * as dxos_mesh_broadcast from "./broadcast";
|
|
29
|
+
import * as dxos_mesh_messaging from "./messaging";
|
|
30
|
+
import * as dxos_mesh_presence from "./presence";
|
|
31
|
+
import * as dxos_mesh_replicator from "./replicator";
|
|
32
|
+
import * as dxos_mesh_signal from "./signal";
|
|
33
|
+
import * as dxos_mesh_swarm from "./swarm";
|
|
34
|
+
import * as dxos_registry from "../registry";
|
|
35
|
+
import * as dxos_rpc from "../rpc";
|
|
36
|
+
import * as dxos_service_publisher from "../service/publisher";
|
|
37
|
+
import * as dxos_service_scheduler from "../service/scheduler";
|
|
38
|
+
import * as dxos_type from "../type";
|
|
39
|
+
import * as example_testing_data from "../../example/testing/data";
|
|
40
|
+
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
41
|
+
import * as google_protobuf from "../../google/protobuf";
|
|
42
|
+
/**
|
|
43
|
+
* Defined in:
|
|
44
|
+
* {@link file://./../../../dxos/mesh/protocol.proto}
|
|
45
|
+
*/
|
|
46
|
+
export interface Message {
|
|
47
|
+
nmId: string;
|
|
48
|
+
nmResponse: boolean;
|
|
49
|
+
nmEphemeral: boolean;
|
|
50
|
+
nmData: ReturnType<(typeof substitutions)["google.protobuf.Any"]["decode"]>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Defined in:
|
|
54
|
+
* {@link file://./../../../dxos/mesh/protocol.proto}
|
|
55
|
+
*/
|
|
56
|
+
export interface Error {
|
|
57
|
+
code: string;
|
|
58
|
+
message: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Defined in:
|
|
62
|
+
* {@link file://./../../../dxos/mesh/protocol.proto}
|
|
63
|
+
*/
|
|
64
|
+
export interface Buffer {
|
|
65
|
+
data: Uint8Array;
|
|
66
|
+
}
|