@dxos/protocols 0.8.4-main.f9ba587 → 0.8.4-main.fbb7a13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/FunctionProtocol.d.ts +82 -0
- package/dist/src/FunctionProtocol.d.ts.map +1 -0
- package/dist/src/FunctionProtocol.js +4 -0
- package/dist/src/FunctionProtocol.js.map +1 -0
- package/dist/src/automerge.d.ts +8 -0
- package/dist/src/automerge.d.ts.map +1 -1
- package/dist/src/automerge.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/dashboard_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/echo-proxy_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/epoch_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/agent/functions_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/bot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/invitation_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/client/logging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +189 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +39 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -0
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts +65 -19
- package/dist/src/buf/proto/gen/dxos/client/services_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js +28 -23
- package/dist/src/buf/proto/gen/dxos/client/services_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts +40 -7
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +7 -2
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/diagnostics_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/host_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/devtools/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/blob_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/feed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/filter_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/indexing_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/document_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/messenger_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/model/text_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/object_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +13 -3
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts +71 -10
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js +16 -6
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/snapshot_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/timeframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/calls_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/error_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/field_options_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/gravity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/gravity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/greet_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials/identity_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/invitations_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keyring_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/signed_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +2 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/keys_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/bridge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/broadcast_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/messaging_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/muxer_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/presence_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/protocol_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/signal_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/swarm_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/control_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/registry_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/agentmanager_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/publisher_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/supervisor_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/service/tunnel_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js +2 -2
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/type_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/type_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/dxos/value_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/data_pb.js +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.d.ts +1 -1
- package/dist/src/buf/proto/gen/example/testing/rpc_pb.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +120 -0
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -0
- package/dist/src/edge/EdgeFunctionEnv.js +4 -0
- package/dist/src/edge/EdgeFunctionEnv.js.map +1 -0
- package/dist/src/edge/edge.d.ts +346 -0
- package/dist/src/edge/edge.d.ts.map +1 -0
- package/dist/src/edge/edge.js +160 -0
- package/dist/src/edge/edge.js.map +1 -0
- package/dist/src/edge/errors.d.ts +29 -0
- package/dist/src/edge/errors.d.ts.map +1 -0
- package/dist/src/edge/errors.js +69 -0
- package/dist/src/edge/errors.js.map +1 -0
- package/dist/src/edge/index.d.ts +4 -0
- package/dist/src/edge/index.d.ts.map +1 -0
- package/dist/src/edge/index.js +7 -0
- package/dist/src/edge/index.js.map +1 -0
- package/dist/src/errors/base-errors.d.ts +86 -8
- package/dist/src/errors/base-errors.d.ts.map +1 -1
- package/dist/src/errors/base-errors.js +4 -19
- package/dist/src/errors/base-errors.js.map +1 -1
- package/dist/src/errors/encoding.d.ts +1 -1
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +618 -41
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +49 -103
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/errors.test.js +1 -1
- package/dist/src/errors/errors.test.js.map +1 -1
- package/dist/src/errors/helpers.d.ts +8 -4
- package/dist/src/errors/helpers.d.ts.map +1 -1
- package/dist/src/errors/helpers.js +3 -3
- package/dist/src/errors/helpers.js.map +1 -1
- package/dist/src/feed-replication.d.ts.map +1 -1
- package/dist/src/index.d.ts +7 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +7 -7
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.d.ts +1 -1
- package/dist/src/indexing.d.ts.map +1 -1
- package/dist/src/indexing.js +1 -1
- package/dist/src/indexing.js.map +1 -1
- package/dist/src/invitation.d.ts +1 -1
- package/dist/src/invitation.d.ts.map +1 -1
- package/dist/src/invitation.js +1 -1
- package/dist/src/invitation.js.map +1 -1
- package/dist/src/messenger.d.ts +16 -0
- package/dist/src/messenger.d.ts.map +1 -0
- package/dist/src/messenger.js +4 -0
- package/dist/src/messenger.js.map +1 -0
- package/dist/src/proto/gen/dxos/client/services.d.ts +895 -765
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +103 -100
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +33 -2
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.d.ts +17 -1
- package/dist/src/proto/gen/dxos/echo/query.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/query.js.map +1 -1
- package/dist/src/proto/gen/dxos/echo/service.d.ts +43 -8
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/index.d.ts +10 -0
- package/dist/src/proto/gen/index.d.ts.map +1 -1
- package/dist/src/proto/gen/index.js +1 -1
- package/dist/src/proto/gen/index.js.map +1 -1
- package/dist/src/proto/index.d.ts +1 -1
- package/dist/src/proto/index.d.ts.map +1 -1
- package/dist/src/proto/index.js +0 -1
- package/dist/src/proto/index.js.map +1 -1
- package/dist/src/queue.d.ts +2 -23
- package/dist/src/queue.d.ts.map +1 -1
- package/dist/src/queue.js +2 -1
- package/dist/src/queue.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -17
- package/src/FunctionProtocol.ts +104 -0
- package/src/automerge.ts +8 -0
- package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/agent/functions_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/bot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/invitation_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/logging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +231 -0
- package/src/buf/proto/gen/dxos/client/services_pb.ts +84 -29
- package/src/buf/proto/gen/dxos/config_pb.ts +48 -10
- package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/host_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/blob_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/feed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/filter_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/object_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/query_pb.ts +18 -6
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +87 -18
- package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/edge/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/error_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/field_options_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/google_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/gravity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/halo/signed_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/iframe_pb.ts +4 -3
- package/src/buf/proto/gen/dxos/keys_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/registry_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/rpc_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/publisher_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/tracing_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/type_pb.ts +3 -3
- package/src/buf/proto/gen/dxos/value_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/data_pb.ts +3 -3
- package/src/buf/proto/gen/example/testing/rpc_pb.ts +3 -3
- package/src/edge/EdgeFunctionEnv.ts +193 -0
- package/src/edge/edge.ts +484 -0
- package/src/edge/errors.ts +85 -0
- package/src/edge/index.ts +7 -0
- package/src/errors/base-errors.ts +4 -20
- package/src/errors/encoding.ts +2 -1
- package/src/errors/errors.test.ts +1 -1
- package/src/errors/errors.ts +57 -122
- package/src/errors/helpers.ts +5 -5
- package/src/feed-replication.ts +1 -0
- package/src/index.ts +9 -7
- package/src/indexing.ts +1 -1
- package/src/invitation.ts +1 -1
- package/src/messenger.ts +22 -0
- package/src/proto/dxos/client/queue.proto +67 -0
- package/src/proto/dxos/client/services.proto +20 -3
- package/src/proto/dxos/config.proto +38 -40
- package/src/proto/dxos/echo/query.proto +4 -1
- package/src/proto/dxos/echo/service.proto +38 -6
- package/src/proto/dxos/iframe.proto +1 -0
- package/src/proto/gen/dxos/client/services.ts +895 -765
- package/src/proto/gen/dxos/config.ts +33 -2
- package/src/proto/gen/dxos/echo/query.ts +17 -1
- package/src/proto/gen/dxos/echo/service.ts +42 -8
- package/src/proto/gen/index.ts +11 -1
- package/src/proto/index.ts +1 -1
- package/src/queue.ts +10 -29
- package/dist/src/edge-error.d.ts +0 -26
- package/dist/src/edge-error.d.ts.map +0 -1
- package/dist/src/edge-error.js +0 -62
- package/dist/src/edge-error.js.map +0 -1
- package/dist/src/edge.d.ts +0 -198
- package/dist/src/edge.d.ts.map +0 -1
- package/dist/src/edge.js +0 -43
- package/dist/src/edge.js.map +0 -1
- package/dist/src/query.d.ts +0 -5
- package/dist/src/query.d.ts.map +0 -1
- package/dist/src/query.js +0 -8
- package/dist/src/query.js.map +0 -1
- package/src/edge-error.ts +0 -79
- package/src/edge.ts +0 -222
- package/src/query.ts +0 -8
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type SpaceId } from '@dxos/keys';
|
|
2
|
+
import type * as QueryProto from '@dxos/protocols/proto/dxos/echo/query';
|
|
3
|
+
import type * as DataProto from '@dxos/protocols/proto/dxos/echo/service';
|
|
4
|
+
import { type EdgeFunctionEnv } from './edge';
|
|
5
|
+
import { type QueueService } from './queue';
|
|
6
|
+
/**
|
|
7
|
+
* Function implementation.
|
|
8
|
+
* This is a contract between the user-defined function and the runtime.
|
|
9
|
+
*/
|
|
10
|
+
export interface Func {
|
|
11
|
+
readonly meta: Meta;
|
|
12
|
+
readonly handler: Handler;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Function metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface Meta {
|
|
18
|
+
readonly key: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Required services.
|
|
23
|
+
*/
|
|
24
|
+
readonly services: readonly string[];
|
|
25
|
+
/**
|
|
26
|
+
* JSON schema format
|
|
27
|
+
*/
|
|
28
|
+
readonly inputSchema: unknown;
|
|
29
|
+
/**
|
|
30
|
+
* JSON schema format.
|
|
31
|
+
*/
|
|
32
|
+
readonly outputSchema?: unknown;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Function handler.
|
|
36
|
+
* Executed by the runtime
|
|
37
|
+
*/
|
|
38
|
+
export type Handler = (opts: {
|
|
39
|
+
data: unknown;
|
|
40
|
+
context: Context;
|
|
41
|
+
}) => Promise<unknown>;
|
|
42
|
+
/**
|
|
43
|
+
* Function context.
|
|
44
|
+
*/
|
|
45
|
+
export interface Context {
|
|
46
|
+
services: {
|
|
47
|
+
/**
|
|
48
|
+
* Query service.
|
|
49
|
+
* Available if the function is invoked in context of a space.
|
|
50
|
+
*/
|
|
51
|
+
queryService?: QueryProto.QueryService;
|
|
52
|
+
/**
|
|
53
|
+
* Data service.
|
|
54
|
+
* Available if the function is invoked in context of a space.
|
|
55
|
+
*/
|
|
56
|
+
dataService?: DataProto.DataService;
|
|
57
|
+
/**
|
|
58
|
+
* Queue service.
|
|
59
|
+
* Available if the function is invoked in context of a space.
|
|
60
|
+
*/
|
|
61
|
+
queueService?: QueueService;
|
|
62
|
+
/**
|
|
63
|
+
* Functions service.
|
|
64
|
+
* Available if the function is invoked in context of a space.
|
|
65
|
+
*/
|
|
66
|
+
functionsAiService?: EdgeFunctionEnv.FunctionsAiService;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* That space that the function is invoked in context of.
|
|
70
|
+
*/
|
|
71
|
+
spaceId?: SpaceId;
|
|
72
|
+
/**
|
|
73
|
+
* Hex-encoded space key.
|
|
74
|
+
* @deprecated We need to remove this but ECHO keeps dragging this in.
|
|
75
|
+
*/
|
|
76
|
+
spaceKey?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Automerge URL of the space-root document.
|
|
79
|
+
*/
|
|
80
|
+
spaceRootUrl?: string;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMapping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AGG;QACH,YAAY,CAAC,EAAE,YAAY,CAAC;QAE5B;;;WAGG;QACH,kBAAkB,CAAC,EAAE,eAAe,CAAC,kBAAkB,CAAC;KACzD,CAAC;IAEF;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FunctionProtocol.js","sourceRoot":"","sources":["../../src/FunctionProtocol.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE"}
|
package/dist/src/automerge.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type LeaveProtocolMessage = {
|
|
|
12
12
|
type: 'leave';
|
|
13
13
|
targetId?: PeerId;
|
|
14
14
|
senderId: PeerId;
|
|
15
|
+
metadata?: Record<string, unknown>;
|
|
15
16
|
};
|
|
16
17
|
export type PeerProtocolMessage = {
|
|
17
18
|
type: 'peer';
|
|
@@ -33,6 +34,7 @@ export type RequestProtocolMessage = {
|
|
|
33
34
|
targetId: PeerId;
|
|
34
35
|
documentId: string;
|
|
35
36
|
data: Uint8Array;
|
|
37
|
+
metadata?: Record<string, unknown>;
|
|
36
38
|
};
|
|
37
39
|
/**
|
|
38
40
|
* A sync message for a particular document
|
|
@@ -43,6 +45,7 @@ export type SyncProtocolMessage = {
|
|
|
43
45
|
targetId: PeerId;
|
|
44
46
|
documentId: string;
|
|
45
47
|
data: Uint8Array;
|
|
48
|
+
metadata?: Record<string, unknown>;
|
|
46
49
|
};
|
|
47
50
|
/**
|
|
48
51
|
* Sent by a {@link Repo} to indicate that it does not have the document and none of its connected
|
|
@@ -53,6 +56,7 @@ export type UnavailableProtocolMessage = {
|
|
|
53
56
|
senderId: PeerId;
|
|
54
57
|
targetId: PeerId;
|
|
55
58
|
documentId: string;
|
|
59
|
+
metadata?: Record<string, unknown>;
|
|
56
60
|
};
|
|
57
61
|
/**
|
|
58
62
|
* An ephemeral message.
|
|
@@ -73,12 +77,14 @@ export type EphemeralProtocolMessage = {
|
|
|
73
77
|
sessionId: string;
|
|
74
78
|
documentId: string;
|
|
75
79
|
data: Uint8Array;
|
|
80
|
+
metadata?: Record<string, unknown>;
|
|
76
81
|
};
|
|
77
82
|
export type ErrorProtocolMessage = {
|
|
78
83
|
type: 'error';
|
|
79
84
|
senderId?: PeerId;
|
|
80
85
|
targetId?: PeerId;
|
|
81
86
|
message: string;
|
|
87
|
+
metadata?: Record<string, unknown>;
|
|
82
88
|
};
|
|
83
89
|
export declare const MESSAGE_TYPE_COLLECTION_QUERY = "collection-query";
|
|
84
90
|
export type CollectionQueryMessage = {
|
|
@@ -91,6 +97,7 @@ export type CollectionQueryMessage = {
|
|
|
91
97
|
* Remote peer will skip sending the state if it has the same tag.
|
|
92
98
|
*/
|
|
93
99
|
stateTag?: string;
|
|
100
|
+
metadata?: Record<string, unknown>;
|
|
94
101
|
};
|
|
95
102
|
export declare const MESSAGE_TYPE_COLLECTION_STATE = "collection-state";
|
|
96
103
|
export type CollectionStateMessage = {
|
|
@@ -106,6 +113,7 @@ export type CollectionStateMessage = {
|
|
|
106
113
|
* Identifier of the current state.
|
|
107
114
|
*/
|
|
108
115
|
stateTag?: string;
|
|
116
|
+
metadata?: Record<string, unknown>;
|
|
109
117
|
};
|
|
110
118
|
export type AutomergeProtocolMessage = JoinProtocolMessage | PeerProtocolMessage | LeaveProtocolMessage | RequestProtocolMessage | SyncProtocolMessage | UnavailableProtocolMessage | EphemeralProtocolMessage | ErrorProtocolMessage | CollectionQueryMessage | CollectionStateMessage;
|
|
111
119
|
//# sourceMappingURL=automerge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ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|
1
|
+
{"version":3,"file":"automerge.js","sourceRoot":"","sources":["../../src/automerge.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAiGF,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAgBhE,MAAM,CAAC,MAAM,6BAA6B,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Runtime_Agent_Plugin } from "../config_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file dxos/agent/functions.proto.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Invitation } from "./client/invitation_pb.js";
|
|
4
4
|
import type { Config } from "./config_pb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2020 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_empty, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_client_invitation } from "./client/invitation_pb.js";
|
|
7
7
|
import { file_dxos_config } from "./config_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { SpaceMember_Role } from "../halo/credentials_pb.js";
|
|
4
4
|
import type { PrivateKey, PublicKey } from "../keys_pb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
import { file_dxos_devtools_swarm } from "../devtools/swarm_pb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Error } from "../error_pb.js";
|
|
4
4
|
import type { Stats, Value } from "../value_pb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
|
-
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_any, file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
6
|
import { file_dxos_config } from "../config_pb.js";
|
|
7
7
|
import { file_dxos_echo_metadata } from "../echo/metadata_pb.js";
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file dxos/client/queue.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_dxos_client_queue: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message dxos.client.services.QueueQuery
|
|
10
|
+
*/
|
|
11
|
+
export type QueueQuery = Message<"dxos.client.services.QueueQuery"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string space_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
spaceId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: optional string queues_namespace = 2;
|
|
18
|
+
*/
|
|
19
|
+
queuesNamespace?: string;
|
|
20
|
+
/**
|
|
21
|
+
* / Queries the whole space if missing.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: repeated string queue_ids = 3;
|
|
24
|
+
*/
|
|
25
|
+
queueIds: string[];
|
|
26
|
+
/**
|
|
27
|
+
* / Filter items after this cursor. Exclusive.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: optional string after = 4;
|
|
30
|
+
*/
|
|
31
|
+
after?: string;
|
|
32
|
+
/**
|
|
33
|
+
* / Filter items before this cursor. Exclusive.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: optional string before = 5;
|
|
36
|
+
*/
|
|
37
|
+
before?: string;
|
|
38
|
+
/**
|
|
39
|
+
* / Filter items after this position. Inclusive.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: optional int64 begin_position = 6;
|
|
42
|
+
*/
|
|
43
|
+
beginPosition?: bigint;
|
|
44
|
+
/**
|
|
45
|
+
* / Filter items before this position. Exclusive.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: optional int64 end_position = 7;
|
|
48
|
+
*/
|
|
49
|
+
endPosition?: bigint;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: optional int32 limit = 8;
|
|
52
|
+
*/
|
|
53
|
+
limit?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: optional bool reverse = 9;
|
|
56
|
+
*/
|
|
57
|
+
reverse?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* TODO(dmaretskyi): Remove this field -- raw queues dont index object IDs anymore.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated string object_ids = 100;
|
|
62
|
+
*/
|
|
63
|
+
objectIds: string[];
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message dxos.client.services.QueueQuery.
|
|
67
|
+
* Use `create(QueueQuerySchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export declare const QueueQuerySchema: GenMessage<QueueQuery>;
|
|
70
|
+
/**
|
|
71
|
+
* @generated from message dxos.client.services.QueueQueryResult
|
|
72
|
+
*/
|
|
73
|
+
export type QueueQueryResult = Message<"dxos.client.services.QueueQueryResult"> & {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated google.protobuf.Struct objects = 1;
|
|
76
|
+
*/
|
|
77
|
+
objects: JsonObject[];
|
|
78
|
+
/**
|
|
79
|
+
* / Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: string next_cursor = 2;
|
|
82
|
+
*/
|
|
83
|
+
nextCursor: string;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string prev_cursor = 3;
|
|
86
|
+
*/
|
|
87
|
+
prevCursor: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message dxos.client.services.QueueQueryResult.
|
|
91
|
+
* Use `create(QueueQueryResultSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const QueueQueryResultSchema: GenMessage<QueueQueryResult>;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message dxos.client.services.QueryQueueRequest
|
|
96
|
+
*/
|
|
97
|
+
export type QueryQueueRequest = Message<"dxos.client.services.QueryQueueRequest"> & {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: dxos.client.services.QueueQuery query = 1;
|
|
100
|
+
*/
|
|
101
|
+
query?: QueueQuery;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message dxos.client.services.QueryQueueRequest.
|
|
105
|
+
* Use `create(QueryQueueRequestSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const QueryQueueRequestSchema: GenMessage<QueryQueueRequest>;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message dxos.client.services.InsertIntoQueueRequest
|
|
110
|
+
*/
|
|
111
|
+
export type InsertIntoQueueRequest = Message<"dxos.client.services.InsertIntoQueueRequest"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string subspace_tag = 1;
|
|
114
|
+
*/
|
|
115
|
+
subspaceTag: string;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string space_id = 2;
|
|
118
|
+
*/
|
|
119
|
+
spaceId: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: string queue_id = 3;
|
|
122
|
+
*/
|
|
123
|
+
queueId: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: repeated google.protobuf.Struct objects = 4;
|
|
126
|
+
*/
|
|
127
|
+
objects: JsonObject[];
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message dxos.client.services.InsertIntoQueueRequest.
|
|
131
|
+
* Use `create(InsertIntoQueueRequestSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const InsertIntoQueueRequestSchema: GenMessage<InsertIntoQueueRequest>;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message dxos.client.services.DeleteFromQueueRequest
|
|
136
|
+
*/
|
|
137
|
+
export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQueueRequest"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string subspace_tag = 1;
|
|
140
|
+
*/
|
|
141
|
+
subspaceTag: string;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string space_id = 2;
|
|
144
|
+
*/
|
|
145
|
+
spaceId: string;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string queue_id = 3;
|
|
148
|
+
*/
|
|
149
|
+
queueId: string;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: repeated string object_ids = 4;
|
|
152
|
+
*/
|
|
153
|
+
objectIds: string[];
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message dxos.client.services.DeleteFromQueueRequest.
|
|
157
|
+
* Use `create(DeleteFromQueueRequestSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest>;
|
|
160
|
+
/**
|
|
161
|
+
* @generated from service dxos.client.services.QueueService
|
|
162
|
+
*/
|
|
163
|
+
export declare const QueueService: GenService<{
|
|
164
|
+
/**
|
|
165
|
+
* @generated from rpc dxos.client.services.QueueService.QueryQueue
|
|
166
|
+
*/
|
|
167
|
+
queryQueue: {
|
|
168
|
+
methodKind: "unary";
|
|
169
|
+
input: typeof QueryQueueRequestSchema;
|
|
170
|
+
output: typeof QueueQueryResultSchema;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* @generated from rpc dxos.client.services.QueueService.InsertIntoQueue
|
|
174
|
+
*/
|
|
175
|
+
insertIntoQueue: {
|
|
176
|
+
methodKind: "unary";
|
|
177
|
+
input: typeof InsertIntoQueueRequestSchema;
|
|
178
|
+
output: typeof EmptySchema;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* @generated from rpc dxos.client.services.QueueService.DeleteFromQueue
|
|
182
|
+
*/
|
|
183
|
+
deleteFromQueue: {
|
|
184
|
+
methodKind: "unary";
|
|
185
|
+
input: typeof DeleteFromQueueRequestSchema;
|
|
186
|
+
output: typeof EmptySchema;
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
189
|
+
//# sourceMappingURL=queue_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,WAAW,EA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,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;CACH,CACuC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file dxos/client/queue.proto (package dxos.client.services, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_empty, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file dxos/client/queue.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_dxos_client_queue = /*@__PURE__*/ fileDesc("ChdkeG9zL2NsaWVudC9xdWV1ZS5wcm90bxIUZHhvcy5jbGllbnQuc2VydmljZXMi0wIKClF1ZXVlUXVlcnkSEAoIc3BhY2VfaWQYASABKAkSHQoQcXVldWVzX25hbWVzcGFjZRgCIAEoCUgAiAEBEhEKCXF1ZXVlX2lkcxgDIAMoCRISCgVhZnRlchgEIAEoCUgBiAEBEhMKBmJlZm9yZRgFIAEoCUgCiAEBEhsKDmJlZ2luX3Bvc2l0aW9uGAYgASgDSAOIAQESGQoMZW5kX3Bvc2l0aW9uGAcgASgDSASIAQESEgoFbGltaXQYCCABKAVIBYgBARIUCgdyZXZlcnNlGAkgASgISAaIAQESEgoKb2JqZWN0X2lkcxhkIAMoCUITChFfcXVldWVzX25hbWVzcGFjZUIICgZfYWZ0ZXJCCQoHX2JlZm9yZUIRCg9fYmVnaW5fcG9zaXRpb25CDwoNX2VuZF9wb3NpdGlvbkIICgZfbGltaXRCCgoIX3JldmVyc2UiZgoQUXVldWVRdWVyeVJlc3VsdBIoCgdvYmplY3RzGAEgAygLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBITCgtuZXh0X2N1cnNvchgCIAEoCRITCgtwcmV2X2N1cnNvchgDIAEoCSJEChFRdWVyeVF1ZXVlUmVxdWVzdBIvCgVxdWVyeRgBIAEoCzIgLmR4b3MuY2xpZW50LnNlcnZpY2VzLlF1ZXVlUXVlcnkifAoWSW5zZXJ0SW50b1F1ZXVlUmVxdWVzdBIUCgxzdWJzcGFjZV90YWcYASABKAkSEAoIc3BhY2VfaWQYAiABKAkSEAoIcXVldWVfaWQYAyABKAkSKAoHb2JqZWN0cxgEIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QiZgoWRGVsZXRlRnJvbVF1ZXVlUmVxdWVzdBIUCgxzdWJzcGFjZV90YWcYASABKAkSEAoIc3BhY2VfaWQYAiABKAkSEAoIcXVldWVfaWQYAyABKAkSEgoKb2JqZWN0X2lkcxgEIAMoCTKfAgoMUXVldWVTZXJ2aWNlEl0KClF1ZXJ5UXVldWUSJy5keG9zLmNsaWVudC5zZXJ2aWNlcy5RdWVyeVF1ZXVlUmVxdWVzdBomLmR4b3MuY2xpZW50LnNlcnZpY2VzLlF1ZXVlUXVlcnlSZXN1bHQSVwoPSW5zZXJ0SW50b1F1ZXVlEiwuZHhvcy5jbGllbnQuc2VydmljZXMuSW5zZXJ0SW50b1F1ZXVlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJXCg9EZWxldGVGcm9tUXVldWUSLC5keG9zLmNsaWVudC5zZXJ2aWNlcy5EZWxldGVGcm9tUXVldWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5YgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_empty]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message dxos.client.services.QueueQuery.
|
|
12
|
+
* Use `create(QueueQuerySchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const QueueQuerySchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message dxos.client.services.QueueQueryResult.
|
|
17
|
+
* Use `create(QueueQueryResultSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const QueueQueryResultSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message dxos.client.services.QueryQueueRequest.
|
|
22
|
+
* Use `create(QueryQueueRequestSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const QueryQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message dxos.client.services.InsertIntoQueueRequest.
|
|
27
|
+
* Use `create(InsertIntoQueueRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const InsertIntoQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 3);
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message dxos.client.services.DeleteFromQueueRequest.
|
|
32
|
+
* Use `create(DeleteFromQueueRequestSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const DeleteFromQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 4);
|
|
35
|
+
/**
|
|
36
|
+
* @generated from service dxos.client.services.QueueService
|
|
37
|
+
*/
|
|
38
|
+
export const QueueService = /*@__PURE__*/ serviceDesc(file_dxos_client_queue, 0);
|
|
39
|
+
//# sourceMappingURL=queue_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue_pb.js","sourceRoot":"","sources":["../../../../../../../src/buf/proto/gen/dxos/client/queue_pb.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,6FAA6F;AAC7F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGjG;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAY,aAAa,CAC1D,QAAQ,CAAC,i7CAAi7C,EAAE,CAAC,2BAA2B,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAqEz/C;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAwBzC;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAYzC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;AA2BzC;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;AA2BzC;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAEzC;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAyBpB,aAAa,CAChB,WAAW,CAAC,sBAAsB,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Any, EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Invitation, InvitationSchema, SpaceState } from "./invitation_pb.js";
|
|
4
4
|
import type { ConfigSchema } from "../config_pb.js";
|
|
@@ -1346,6 +1346,69 @@ export type SubscribeSwarmStateRequest = Message<"dxos.client.services.Subscribe
|
|
|
1346
1346
|
* Use `create(SubscribeSwarmStateRequestSchema)` to create a new message.
|
|
1347
1347
|
*/
|
|
1348
1348
|
export declare const SubscribeSwarmStateRequestSchema: GenMessage<SubscribeSwarmStateRequest>;
|
|
1349
|
+
/**
|
|
1350
|
+
* @generated from message dxos.client.services.EdgeStatus
|
|
1351
|
+
*/
|
|
1352
|
+
export type EdgeStatus = Message<"dxos.client.services.EdgeStatus"> & {
|
|
1353
|
+
/**
|
|
1354
|
+
* @generated from field: dxos.client.services.EdgeStatus.ConnectionState state = 1;
|
|
1355
|
+
*/
|
|
1356
|
+
state: EdgeStatus_ConnectionState;
|
|
1357
|
+
/**
|
|
1358
|
+
* * Latency in ms
|
|
1359
|
+
*
|
|
1360
|
+
* @generated from field: int32 rtt = 2;
|
|
1361
|
+
*/
|
|
1362
|
+
rtt: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* * How long the connection has been up
|
|
1365
|
+
*
|
|
1366
|
+
* @generated from field: int32 uptime = 3;
|
|
1367
|
+
*/
|
|
1368
|
+
uptime: number;
|
|
1369
|
+
/**
|
|
1370
|
+
* * Upload rate in bytes per second
|
|
1371
|
+
*
|
|
1372
|
+
* @generated from field: int32 rate_bytes_up = 4;
|
|
1373
|
+
*/
|
|
1374
|
+
rateBytesUp: number;
|
|
1375
|
+
/**
|
|
1376
|
+
* * Download rate in bytes per second
|
|
1377
|
+
*
|
|
1378
|
+
* @generated from field: int32 rate_bytes_down = 5;
|
|
1379
|
+
*/
|
|
1380
|
+
rateBytesDown: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* @generated from field: int32 messages_sent = 6;
|
|
1383
|
+
*/
|
|
1384
|
+
messagesSent: number;
|
|
1385
|
+
/**
|
|
1386
|
+
* @generated from field: int32 messages_received = 7;
|
|
1387
|
+
*/
|
|
1388
|
+
messagesReceived: number;
|
|
1389
|
+
};
|
|
1390
|
+
/**
|
|
1391
|
+
* Describes the message dxos.client.services.EdgeStatus.
|
|
1392
|
+
* Use `create(EdgeStatusSchema)` to create a new message.
|
|
1393
|
+
*/
|
|
1394
|
+
export declare const EdgeStatusSchema: GenMessage<EdgeStatus>;
|
|
1395
|
+
/**
|
|
1396
|
+
* @generated from enum dxos.client.services.EdgeStatus.ConnectionState
|
|
1397
|
+
*/
|
|
1398
|
+
export declare enum EdgeStatus_ConnectionState {
|
|
1399
|
+
/**
|
|
1400
|
+
* @generated from enum value: NOT_CONNECTED = 0;
|
|
1401
|
+
*/
|
|
1402
|
+
NOT_CONNECTED = 0,
|
|
1403
|
+
/**
|
|
1404
|
+
* @generated from enum value: CONNECTED = 1;
|
|
1405
|
+
*/
|
|
1406
|
+
CONNECTED = 1
|
|
1407
|
+
}
|
|
1408
|
+
/**
|
|
1409
|
+
* Describes the enum dxos.client.services.EdgeStatus.ConnectionState.
|
|
1410
|
+
*/
|
|
1411
|
+
export declare const EdgeStatus_ConnectionStateSchema: GenEnum<EdgeStatus_ConnectionState>;
|
|
1349
1412
|
/**
|
|
1350
1413
|
* @generated from message dxos.client.services.QueryEdgeStatusResponse
|
|
1351
1414
|
*/
|
|
@@ -1353,7 +1416,7 @@ export type QueryEdgeStatusResponse = Message<"dxos.client.services.QueryEdgeSta
|
|
|
1353
1416
|
/**
|
|
1354
1417
|
* @generated from field: dxos.client.services.EdgeStatus status = 1;
|
|
1355
1418
|
*/
|
|
1356
|
-
status
|
|
1419
|
+
status?: EdgeStatus;
|
|
1357
1420
|
};
|
|
1358
1421
|
/**
|
|
1359
1422
|
* Describes the message dxos.client.services.QueryEdgeStatusResponse.
|
|
@@ -1452,23 +1515,6 @@ export declare enum ConnectionState {
|
|
|
1452
1515
|
* Describes the enum dxos.client.services.ConnectionState.
|
|
1453
1516
|
*/
|
|
1454
1517
|
export declare const ConnectionStateSchema: GenEnum<ConnectionState>;
|
|
1455
|
-
/**
|
|
1456
|
-
* @generated from enum dxos.client.services.EdgeStatus
|
|
1457
|
-
*/
|
|
1458
|
-
export declare enum EdgeStatus {
|
|
1459
|
-
/**
|
|
1460
|
-
* @generated from enum value: NOT_CONNECTED = 0;
|
|
1461
|
-
*/
|
|
1462
|
-
NOT_CONNECTED = 0,
|
|
1463
|
-
/**
|
|
1464
|
-
* @generated from enum value: CONNECTED = 1;
|
|
1465
|
-
*/
|
|
1466
|
-
CONNECTED = 1
|
|
1467
|
-
}
|
|
1468
|
-
/**
|
|
1469
|
-
* Describes the enum dxos.client.services.EdgeStatus.
|
|
1470
|
-
*/
|
|
1471
|
-
export declare const EdgeStatusSchema: GenEnum<EdgeStatus>;
|
|
1472
1518
|
/**
|
|
1473
1519
|
* @generated from service dxos.client.services.SystemService
|
|
1474
1520
|
*/
|