@dxos/protocols 0.1.41 → 0.1.45-next.45667d4
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/cjs/src/codec.test.js +1 -1
- package/dist/cjs/src/errors.d.ts +25 -0
- package/dist/cjs/src/errors.d.ts.map +1 -0
- package/dist/cjs/src/errors.js +78 -0
- package/dist/cjs/src/errors.js.map +1 -0
- package/dist/cjs/src/index.d.ts +1 -0
- package/dist/cjs/src/index.d.ts.map +1 -1
- package/dist/cjs/src/index.js +1 -0
- package/dist/cjs/src/index.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +77 -8
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +1 -0
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +29 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts +15 -1
- package/dist/cjs/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/model/text.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/error.d.ts +24 -0
- package/dist/cjs/src/proto/gen/dxos/error.d.ts.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/error.js +3 -0
- package/dist/cjs/src/proto/gen/dxos/error.js.map +1 -0
- package/dist/cjs/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts +28 -0
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +7 -9
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts +23 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.js +14 -0
- package/dist/cjs/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/rpc.d.ts +2 -22
- package/dist/cjs/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +13 -3
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/src/proto/substitutions.js +6 -6
- package/dist/cjs/src/testing.js +9 -9
- package/dist/cjs/src/tracing.d.ts +5 -7
- package/dist/cjs/src/tracing.d.ts.map +1 -1
- package/dist/cjs/src/tracing.js +11 -11
- package/dist/cjs/src/tracing.js.map +1 -1
- package/dist/cjs/src/types.d.ts +6 -6
- package/dist/cjs/src/types.d.ts.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/codec.test.js +1 -1
- package/dist/esm/src/errors.d.ts +25 -0
- package/dist/esm/src/errors.d.ts.map +1 -0
- package/dist/esm/src/errors.js +69 -0
- package/dist/esm/src/errors.js.map +1 -0
- package/dist/esm/src/index.d.ts +1 -0
- package/dist/esm/src/index.d.ts.map +1 -1
- package/dist/esm/src/index.js +1 -0
- package/dist/esm/src/index.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/bot.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/bot.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +77 -8
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +1 -0
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +29 -1
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/devtools/swarm.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts +15 -1
- package/dist/esm/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/document.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/document.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/messenger.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/text.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/model/text.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/object.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/error.d.ts +24 -0
- package/dist/esm/src/proto/gen/dxos/error.d.ts.map +1 -0
- package/dist/esm/src/proto/gen/dxos/error.js +2 -0
- package/dist/esm/src/proto/gen/dxos/error.js.map +1 -0
- package/dist/esm/src/proto/gen/dxos/gravity.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/auth.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/greet.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials/identity.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts +28 -0
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/invitations.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/invitations.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keyring.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/keys.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/signed.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts +7 -9
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/keys.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/bridge.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/broadcast.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/messaging.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/muxer.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/presence.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/protocol.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/replicator.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts +23 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.js +13 -1
- package/dist/esm/src/proto/gen/dxos/mesh/signal.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/swarm.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/auth.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/control.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/gossip.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/notarization.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/objectsync.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/mesh/teleport/replicator.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/registry.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/rpc.d.ts +2 -22
- package/dist/esm/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/publisher.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/supervisor.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/service/supervisor.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/type.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/example/testing/data.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/example/testing/rpc.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +13 -3
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/dist/esm/src/proto/substitutions.js +6 -6
- package/dist/esm/src/testing.js +9 -9
- package/dist/esm/src/tracing.d.ts +5 -7
- package/dist/esm/src/tracing.d.ts.map +1 -1
- package/dist/esm/src/tracing.js +11 -11
- package/dist/esm/src/tracing.js.map +1 -1
- package/dist/esm/src/types.d.ts +6 -6
- package/dist/esm/src/types.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/codec.test.ts +1 -1
- package/src/errors.ts +80 -0
- package/src/index.ts +1 -0
- package/src/proto/dxos/client/services.proto +38 -8
- package/src/proto/dxos/devtools/host.proto +21 -2
- package/src/proto/dxos/echo/metadata.proto +7 -1
- package/src/proto/dxos/error.proto +14 -0
- package/src/proto/dxos/halo/credentials.proto +16 -0
- package/src/proto/dxos/iframe.proto +2 -5
- package/src/proto/dxos/mesh/signal.proto +20 -1
- package/src/proto/dxos/rpc.proto +2 -7
- package/src/proto/gen/dxos/bot.ts +1 -0
- package/src/proto/gen/dxos/client/services.ts +75 -7
- package/src/proto/gen/dxos/config.ts +1 -0
- package/src/proto/gen/dxos/devtools/host.ts +30 -1
- package/src/proto/gen/dxos/devtools/swarm.ts +1 -0
- package/src/proto/gen/dxos/echo/feed.ts +1 -0
- package/src/proto/gen/dxos/echo/metadata.ts +15 -1
- package/src/proto/gen/dxos/echo/model/document.ts +1 -0
- package/src/proto/gen/dxos/echo/model/messenger.ts +1 -0
- package/src/proto/gen/dxos/echo/model/text.ts +1 -0
- package/src/proto/gen/dxos/echo/object.ts +1 -0
- package/src/proto/gen/dxos/echo/service.ts +1 -0
- package/src/proto/gen/dxos/echo/snapshot.ts +1 -0
- package/src/proto/gen/dxos/echo/timeframe.ts +1 -0
- package/src/proto/gen/dxos/error.ts +73 -0
- package/src/proto/gen/dxos/gravity.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/auth.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/greet.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials/identity.ts +1 -0
- package/src/proto/gen/dxos/halo/credentials.ts +29 -0
- package/src/proto/gen/dxos/halo/invitations.ts +1 -0
- package/src/proto/gen/dxos/halo/keyring.ts +1 -0
- package/src/proto/gen/dxos/halo/keys.ts +1 -0
- package/src/proto/gen/dxos/halo/signed.ts +1 -0
- package/src/proto/gen/dxos/iframe.ts +8 -9
- package/src/proto/gen/dxos/keys.ts +1 -0
- package/src/proto/gen/dxos/mesh/bridge.ts +1 -0
- package/src/proto/gen/dxos/mesh/broadcast.ts +1 -0
- package/src/proto/gen/dxos/mesh/messaging.ts +1 -0
- package/src/proto/gen/dxos/mesh/muxer.ts +1 -0
- package/src/proto/gen/dxos/mesh/presence.ts +1 -0
- package/src/proto/gen/dxos/mesh/protocol.ts +1 -0
- package/src/proto/gen/dxos/mesh/replicator.ts +1 -0
- package/src/proto/gen/dxos/mesh/signal.ts +24 -1
- package/src/proto/gen/dxos/mesh/swarm.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/auth.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/control.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/gossip.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/notarization.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/objectsync.ts +1 -0
- package/src/proto/gen/dxos/mesh/teleport/replicator.ts +1 -0
- package/src/proto/gen/dxos/registry.ts +1 -0
- package/src/proto/gen/dxos/rpc.ts +2 -22
- package/src/proto/gen/dxos/service/publisher.ts +1 -0
- package/src/proto/gen/dxos/service/supervisor.ts +1 -0
- package/src/proto/gen/dxos/type.ts +1 -0
- package/src/proto/gen/example/testing/data.ts +1 -0
- package/src/proto/gen/example/testing/rpc.ts +1 -0
- package/src/proto/gen/google/protobuf.ts +5 -4
- package/src/proto/gen/index.ts +14 -4
- package/src/proto/substitutions.ts +7 -7
- package/src/testing.ts +10 -10
- package/src/tracing.ts +12 -12
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
13
13
|
import * as dxos_echo_service from "../echo/service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -227,7 +228,8 @@ export enum SpaceState {
|
|
|
227
228
|
CLOSED = 1,
|
|
228
229
|
INACTIVE = 2,
|
|
229
230
|
INITIALIZING = 4,
|
|
230
|
-
READY = 3
|
|
231
|
+
READY = 3,
|
|
232
|
+
ERROR = 5
|
|
231
233
|
}
|
|
232
234
|
/**
|
|
233
235
|
* Defined in:
|
|
@@ -241,9 +243,56 @@ export interface Space {
|
|
|
241
243
|
* - proto3_optional = true
|
|
242
244
|
*/
|
|
243
245
|
pipeline?: Space.PipelineState;
|
|
246
|
+
/**
|
|
247
|
+
* Options:
|
|
248
|
+
* - proto3_optional = true
|
|
249
|
+
*/
|
|
250
|
+
error?: dxos_error.Error;
|
|
244
251
|
members?: SpaceMember[];
|
|
252
|
+
/**
|
|
253
|
+
* Options:
|
|
254
|
+
* - proto3_optional = true
|
|
255
|
+
*/
|
|
256
|
+
cache?: dxos_echo_metadata.SpaceCache;
|
|
257
|
+
metrics: Space.Metrics;
|
|
245
258
|
}
|
|
246
259
|
export namespace Space {
|
|
260
|
+
/**
|
|
261
|
+
* Defined in:
|
|
262
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
263
|
+
*/
|
|
264
|
+
export interface Metrics {
|
|
265
|
+
/**
|
|
266
|
+
* Options:
|
|
267
|
+
* - proto3_optional = true
|
|
268
|
+
*/
|
|
269
|
+
open?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
270
|
+
/**
|
|
271
|
+
* Options:
|
|
272
|
+
* - proto3_optional = true
|
|
273
|
+
*/
|
|
274
|
+
pipelineInitBegin?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
275
|
+
/**
|
|
276
|
+
* Options:
|
|
277
|
+
* - proto3_optional = true
|
|
278
|
+
*/
|
|
279
|
+
controlPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
280
|
+
/**
|
|
281
|
+
* Options:
|
|
282
|
+
* - proto3_optional = true
|
|
283
|
+
*/
|
|
284
|
+
dataPipelineOpen?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
285
|
+
/**
|
|
286
|
+
* Options:
|
|
287
|
+
* - proto3_optional = true
|
|
288
|
+
*/
|
|
289
|
+
dataPipelineReady?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
290
|
+
/**
|
|
291
|
+
* Options:
|
|
292
|
+
* - proto3_optional = true
|
|
293
|
+
*/
|
|
294
|
+
ready?: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
295
|
+
}
|
|
247
296
|
/**
|
|
248
297
|
* Defined in:
|
|
249
298
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -369,6 +418,13 @@ export interface WriteCredentialsRequest {
|
|
|
369
418
|
export interface QueryCredentialsRequest {
|
|
370
419
|
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
371
420
|
}
|
|
421
|
+
/**
|
|
422
|
+
* Defined in:
|
|
423
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
424
|
+
*/
|
|
425
|
+
export interface CreateEpochRequest {
|
|
426
|
+
spaceKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
427
|
+
}
|
|
372
428
|
/**
|
|
373
429
|
* Defined in:
|
|
374
430
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -393,6 +449,7 @@ export interface SpacesService {
|
|
|
393
449
|
* Query credentials from the space control feed.
|
|
394
450
|
*/
|
|
395
451
|
queryCredentials: (request: QueryCredentialsRequest) => Stream<dxos_halo_credentials.Credential>;
|
|
452
|
+
createEpoch: (request: CreateEpochRequest) => Promise<void>;
|
|
396
453
|
}
|
|
397
454
|
/**
|
|
398
455
|
* Represents the invitation state passed between client and service.
|
|
@@ -570,22 +627,33 @@ export enum ConnectionState {
|
|
|
570
627
|
* {@link file://./../../../dxos/client/services.proto}
|
|
571
628
|
*/
|
|
572
629
|
export interface NetworkStatus {
|
|
573
|
-
|
|
630
|
+
swarm: ConnectionState;
|
|
631
|
+
signaling?: NetworkStatus.Signal[];
|
|
632
|
+
}
|
|
633
|
+
export namespace NetworkStatus {
|
|
634
|
+
/**
|
|
635
|
+
* Defined in:
|
|
636
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
637
|
+
*/
|
|
638
|
+
export interface Signal {
|
|
639
|
+
server: string;
|
|
640
|
+
state: dxos_mesh_signal.SignalState;
|
|
641
|
+
}
|
|
574
642
|
}
|
|
575
643
|
/**
|
|
576
644
|
* Defined in:
|
|
577
645
|
* {@link file://./../../../dxos/client/services.proto}
|
|
578
646
|
*/
|
|
579
|
-
export interface
|
|
580
|
-
|
|
647
|
+
export interface UpdateConfigRequest {
|
|
648
|
+
swarm: ConnectionState;
|
|
581
649
|
}
|
|
582
650
|
/**
|
|
583
651
|
* Defined in:
|
|
584
652
|
* {@link file://./../../../dxos/client/services.proto}
|
|
585
653
|
*/
|
|
586
654
|
export interface NetworkService {
|
|
587
|
-
|
|
588
|
-
|
|
655
|
+
updateConfig: (request: UpdateConfigRequest) => Promise<void>;
|
|
656
|
+
queryStatus: (request: void) => Stream<NetworkStatus>;
|
|
589
657
|
}
|
|
590
658
|
/**
|
|
591
659
|
* Defined in:
|
|
@@ -643,7 +711,7 @@ export interface LogEntry {
|
|
|
643
711
|
* Options:
|
|
644
712
|
* - proto3_optional = true
|
|
645
713
|
*/
|
|
646
|
-
error?:
|
|
714
|
+
error?: dxos_error.Error;
|
|
647
715
|
}
|
|
648
716
|
export namespace LogEntry {
|
|
649
717
|
/**
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "./echo/object";
|
|
|
13
13
|
import * as dxos_echo_service from "./echo/service";
|
|
14
14
|
import * as dxos_echo_snapshot from "./echo/snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "./echo/timeframe";
|
|
16
|
+
import * as dxos_error from "./error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
13
13
|
import * as dxos_echo_service from "../echo/service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -85,7 +86,9 @@ export interface FeedStats {
|
|
|
85
86
|
export interface DevtoolsHost {
|
|
86
87
|
events: (request: void) => Stream<Event>;
|
|
87
88
|
getConfig: (request: void) => Promise<GetConfigResponse>;
|
|
89
|
+
getStorageInfo: (request: void) => Promise<StorageInfo>;
|
|
88
90
|
resetStorage: (request: ResetStorageRequest) => Promise<void>;
|
|
91
|
+
getSnapshots: (request: void) => Promise<GetSnapshotsResponse>;
|
|
89
92
|
enableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
|
|
90
93
|
disableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
|
|
91
94
|
subscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest) => Stream<SubscribeToKeyringKeysResponse>;
|
|
@@ -123,6 +126,16 @@ export interface ReadyEvent {
|
|
|
123
126
|
export interface GetConfigResponse {
|
|
124
127
|
config: string;
|
|
125
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Defined in:
|
|
131
|
+
* {@link file://./../../../dxos/devtools/host.proto}
|
|
132
|
+
*/
|
|
133
|
+
export interface StorageInfo {
|
|
134
|
+
type: string;
|
|
135
|
+
storageUsage: number;
|
|
136
|
+
originUsage: number;
|
|
137
|
+
usageQuota: number;
|
|
138
|
+
}
|
|
126
139
|
/**
|
|
127
140
|
* Defined in:
|
|
128
141
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -204,6 +217,21 @@ export interface SubscribeToCredentialMessagesResponse {
|
|
|
204
217
|
*/
|
|
205
218
|
export interface ResetStorageRequest {
|
|
206
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Defined in:
|
|
222
|
+
* {@link file://./../../../dxos/devtools/host.proto}
|
|
223
|
+
*/
|
|
224
|
+
export interface StoredSnapshotInfo {
|
|
225
|
+
key: string;
|
|
226
|
+
size: number;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Defined in:
|
|
230
|
+
* {@link file://./../../../dxos/devtools/host.proto}
|
|
231
|
+
*/
|
|
232
|
+
export interface GetSnapshotsResponse {
|
|
233
|
+
snapshots?: StoredSnapshotInfo[];
|
|
234
|
+
}
|
|
207
235
|
/**
|
|
208
236
|
* Defined in:
|
|
209
237
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -271,6 +299,7 @@ export namespace SubscribeToFeedsResponse {
|
|
|
271
299
|
export interface Feed {
|
|
272
300
|
feedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
273
301
|
length: number;
|
|
302
|
+
diskUsage: number;
|
|
274
303
|
}
|
|
275
304
|
}
|
|
276
305
|
/**
|
|
@@ -414,7 +443,7 @@ export namespace SubscribeToSignalStatusResponse {
|
|
|
414
443
|
*/
|
|
415
444
|
export interface SignalServer {
|
|
416
445
|
host: string;
|
|
417
|
-
state:
|
|
446
|
+
state: dxos_mesh_signal.SignalState;
|
|
418
447
|
/**
|
|
419
448
|
* Options:
|
|
420
449
|
* - proto3_optional = true
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
13
13
|
import * as dxos_echo_service from "../echo/service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../echo/snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../echo/timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "./object";
|
|
|
13
13
|
import * as dxos_echo_service from "./service";
|
|
14
14
|
import * as dxos_echo_snapshot from "./snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "./timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "./object";
|
|
|
13
13
|
import * as dxos_echo_service from "./service";
|
|
14
14
|
import * as dxos_echo_snapshot from "./snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "./timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -70,6 +71,19 @@ export interface EchoMetadata {
|
|
|
70
71
|
*/
|
|
71
72
|
spaces?: SpaceMetadata[];
|
|
72
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Defined in:
|
|
76
|
+
* {@link file://./../../../dxos/echo/metadata.proto}
|
|
77
|
+
*/
|
|
78
|
+
export interface SpaceCache {
|
|
79
|
+
/**
|
|
80
|
+
* Properties snapshot.
|
|
81
|
+
*
|
|
82
|
+
* Options:
|
|
83
|
+
* - proto3_optional = true
|
|
84
|
+
*/
|
|
85
|
+
properties?: dxos_echo_model_document.ObjectSnapshot;
|
|
86
|
+
}
|
|
73
87
|
/**
|
|
74
88
|
* Defined in:
|
|
75
89
|
* {@link file://./../../../dxos/echo/metadata.proto}
|
|
@@ -116,7 +130,7 @@ export interface SpaceMetadata {
|
|
|
116
130
|
* Options:
|
|
117
131
|
* - proto3_optional = true
|
|
118
132
|
*/
|
|
119
|
-
|
|
133
|
+
cache?: SpaceCache;
|
|
120
134
|
}
|
|
121
135
|
/**
|
|
122
136
|
* Information needed to bootstrap an Identity.
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../object";
|
|
|
13
13
|
import * as dxos_echo_service from "../service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../timeframe";
|
|
16
|
+
import * as dxos_error from "../../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../object";
|
|
|
13
13
|
import * as dxos_echo_service from "../service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../timeframe";
|
|
16
|
+
import * as dxos_error from "../../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_object from "../object";
|
|
|
13
13
|
import * as dxos_echo_service from "../service";
|
|
14
14
|
import * as dxos_echo_snapshot from "../snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "../timeframe";
|
|
16
|
+
import * as dxos_error from "../../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_model_text from "./model/text";
|
|
|
13
13
|
import * as dxos_echo_service from "./service";
|
|
14
14
|
import * as dxos_echo_snapshot from "./snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "./timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_model_text from "./model/text";
|
|
|
13
13
|
import * as dxos_echo_object from "./object";
|
|
14
14
|
import * as dxos_echo_snapshot from "./snapshot";
|
|
15
15
|
import * as dxos_echo_timeframe from "./timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_model_text from "./model/text";
|
|
|
13
13
|
import * as dxos_echo_object from "./object";
|
|
14
14
|
import * as dxos_echo_service from "./service";
|
|
15
15
|
import * as dxos_echo_timeframe from "./timeframe";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -13,6 +13,7 @@ import * as dxos_echo_model_text from "./model/text";
|
|
|
13
13
|
import * as dxos_echo_object from "./object";
|
|
14
14
|
import * as dxos_echo_service from "./service";
|
|
15
15
|
import * as dxos_echo_snapshot from "./snapshot";
|
|
16
|
+
import * as dxos_error from "../error";
|
|
16
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";
|
|
@@ -0,0 +1,73 @@
|
|
|
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_services from "./client/services";
|
|
5
|
+
import * as dxos_config from "./config";
|
|
6
|
+
import * as dxos_devtools_host from "./devtools/host";
|
|
7
|
+
import * as dxos_devtools_swarm from "./devtools/swarm";
|
|
8
|
+
import * as dxos_echo_feed from "./echo/feed";
|
|
9
|
+
import * as dxos_echo_metadata from "./echo/metadata";
|
|
10
|
+
import * as dxos_echo_model_document from "./echo/model/document";
|
|
11
|
+
import * as dxos_echo_model_messenger from "./echo/model/messenger";
|
|
12
|
+
import * as dxos_echo_model_text from "./echo/model/text";
|
|
13
|
+
import * as dxos_echo_object from "./echo/object";
|
|
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 "./mesh/bridge";
|
|
29
|
+
import * as dxos_mesh_broadcast from "./mesh/broadcast";
|
|
30
|
+
import * as dxos_mesh_messaging from "./mesh/messaging";
|
|
31
|
+
import * as dxos_mesh_muxer from "./mesh/muxer";
|
|
32
|
+
import * as dxos_mesh_presence from "./mesh/presence";
|
|
33
|
+
import * as dxos_mesh_protocol from "./mesh/protocol";
|
|
34
|
+
import * as dxos_mesh_replicator from "./mesh/replicator";
|
|
35
|
+
import * as dxos_mesh_signal from "./mesh/signal";
|
|
36
|
+
import * as dxos_mesh_swarm from "./mesh/swarm";
|
|
37
|
+
import * as dxos_mesh_teleport_auth from "./mesh/teleport/auth";
|
|
38
|
+
import * as dxos_mesh_teleport_control from "./mesh/teleport/control";
|
|
39
|
+
import * as dxos_mesh_teleport_gossip from "./mesh/teleport/gossip";
|
|
40
|
+
import * as dxos_mesh_teleport_notarization from "./mesh/teleport/notarization";
|
|
41
|
+
import * as dxos_mesh_teleport_objectsync from "./mesh/teleport/objectsync";
|
|
42
|
+
import * as dxos_mesh_teleport_replicator from "./mesh/teleport/replicator";
|
|
43
|
+
import * as dxos_registry from "./registry";
|
|
44
|
+
import * as dxos_rpc from "./rpc";
|
|
45
|
+
import * as dxos_service_publisher from "./service/publisher";
|
|
46
|
+
import * as dxos_service_supervisor from "./service/supervisor";
|
|
47
|
+
import * as dxos_type from "./type";
|
|
48
|
+
import * as example_testing_data from "../example/testing/data";
|
|
49
|
+
import * as example_testing_rpc from "../example/testing/rpc";
|
|
50
|
+
import * as google_protobuf from "../google/protobuf";
|
|
51
|
+
/**
|
|
52
|
+
* Serialized error.
|
|
53
|
+
*
|
|
54
|
+
* Defined in:
|
|
55
|
+
* {@link file://./../../dxos/error.proto}
|
|
56
|
+
*/
|
|
57
|
+
export interface Error {
|
|
58
|
+
/**
|
|
59
|
+
* Options:
|
|
60
|
+
* - proto3_optional = true
|
|
61
|
+
*/
|
|
62
|
+
name?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Options:
|
|
65
|
+
* - proto3_optional = true
|
|
66
|
+
*/
|
|
67
|
+
message?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Options:
|
|
70
|
+
* - proto3_optional = true
|
|
71
|
+
*/
|
|
72
|
+
stack?: string;
|
|
73
|
+
}
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "./echo/object";
|
|
|
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_error from "./error";
|
|
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";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../../echo/object";
|
|
|
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_error from "../../error";
|
|
17
18
|
import * as dxos_gravity from "../../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../credentials";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "./greet";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../../echo/object";
|
|
|
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_error from "../../error";
|
|
17
18
|
import * as dxos_gravity from "../../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../../echo/object";
|
|
|
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_error from "../../error";
|
|
17
18
|
import * as dxos_gravity from "../../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
19
20
|
import * as dxos_halo_credentials_greet from "./credentials/greet";
|
|
@@ -118,6 +119,34 @@ export namespace AdmittedFeed {
|
|
|
118
119
|
DATA = 2
|
|
119
120
|
}
|
|
120
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Defined in:
|
|
124
|
+
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
125
|
+
*/
|
|
126
|
+
export interface Epoch {
|
|
127
|
+
/**
|
|
128
|
+
* Epoch number.
|
|
129
|
+
*/
|
|
130
|
+
number: number;
|
|
131
|
+
/**
|
|
132
|
+
* Id of the previous epoch. Identitfied by the credential id.
|
|
133
|
+
*
|
|
134
|
+
* Options:
|
|
135
|
+
* - proto3_optional = true
|
|
136
|
+
*/
|
|
137
|
+
previousId?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
138
|
+
/**
|
|
139
|
+
* Epoch start timeframe. Indexes correspond to last mutations included into the snapshot.
|
|
140
|
+
*/
|
|
141
|
+
timeframe: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
142
|
+
/**
|
|
143
|
+
* Epoch start snapshot.
|
|
144
|
+
*
|
|
145
|
+
* Options:
|
|
146
|
+
* - proto3_optional = true
|
|
147
|
+
*/
|
|
148
|
+
snapshotCid?: string;
|
|
149
|
+
}
|
|
121
150
|
/**
|
|
122
151
|
* [ASSERTION]: Associtaes a space that will implement Agent's HALO with an Identity.
|
|
123
152
|
*
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "./echo/object";
|
|
|
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_error from "./error";
|
|
17
18
|
import * as dxos_gravity from "./gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
@@ -53,15 +54,13 @@ import * as google_protobuf from "../google/protobuf";
|
|
|
53
54
|
*/
|
|
54
55
|
export interface StartRequest {
|
|
55
56
|
origin: string;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export interface IframeService {
|
|
64
|
-
heartbeat: (request: void) => Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Key for the iframe resource lock used to determine when the service is closing.
|
|
59
|
+
*
|
|
60
|
+
* Options:
|
|
61
|
+
* - proto3_optional = true
|
|
62
|
+
*/
|
|
63
|
+
lockKey?: string;
|
|
65
64
|
}
|
|
66
65
|
/**
|
|
67
66
|
* Iframe-to-worker RPCs.
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "./echo/object";
|
|
|
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_error from "./error";
|
|
17
18
|
import * as dxos_gravity from "./gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "./halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "./halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|
|
@@ -14,6 +14,7 @@ import * as dxos_echo_object from "../echo/object";
|
|
|
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_error from "../error";
|
|
17
18
|
import * as dxos_gravity from "../gravity";
|
|
18
19
|
import * as dxos_halo_credentials from "../halo/credentials";
|
|
19
20
|
import * as dxos_halo_credentials_auth from "../halo/credentials/auth";
|