@dxos/protocols 0.8.4-main.fffef41 → 0.8.4-staging.ac66bdf99f
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/README.md +1 -1
- package/dist/src/FeedProtocol.d.ts +528 -0
- package/dist/src/FeedProtocol.d.ts.map +1 -0
- package/dist/src/FeedProtocol.js +237 -0
- package/dist/src/FeedProtocol.js.map +1 -0
- package/dist/src/FunctionProtocol.d.ts +8 -2
- package/dist/src/FunctionProtocol.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +237 -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 +44 -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 +64 -3
- 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 +68 -37
- 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 +106 -0
- package/dist/src/buf/proto/gen/dxos/config_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js +72 -1
- package/dist/src/buf/proto/gen/dxos/config_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts +6 -0
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/metadata_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/echo/query_pb.d.ts +12 -2
- 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 +1 -1
- 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 +55 -9
- 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 +15 -5
- package/dist/src/buf/proto/gen/dxos/echo/service_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts +28 -0
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js +10 -5
- package/dist/src/buf/proto/gen/dxos/edge/messenger_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.js +1 -1
- package/dist/src/buf/proto/gen/dxos/google_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts +39 -0
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js +27 -2
- package/dist/src/buf/proto/gen/dxos/halo/credentials_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/iframe_pb.d.ts +1 -10
- 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/rpc_pb.d.ts +24 -0
- package/dist/src/buf/proto/gen/dxos/rpc_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js +12 -7
- package/dist/src/buf/proto/gen/dxos/rpc_pb.js.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts +1 -139
- package/dist/src/buf/proto/gen/dxos/tracing_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js +11 -45
- package/dist/src/buf/proto/gen/dxos/tracing_pb.js.map +1 -1
- package/dist/src/codec.test.js +1 -1
- package/dist/src/edge/EdgeFunctionEnv.d.ts +108 -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.d.ts → edge/edge.d.ts} +204 -26
- package/dist/src/edge/edge.d.ts.map +1 -0
- package/dist/src/{edge.js → edge/edge.js} +32 -14
- package/dist/src/edge/edge.js.map +1 -0
- package/dist/src/{edge-error.d.ts → edge/errors.d.ts} +6 -7
- package/dist/src/edge/errors.d.ts.map +1 -0
- package/dist/src/{edge-error.js → edge/errors.js} +14 -15
- package/dist/src/edge/errors.js.map +1 -0
- package/dist/src/edge/index.d.ts +5 -0
- package/dist/src/edge/index.d.ts.map +1 -0
- package/dist/src/edge/index.js +8 -0
- package/dist/src/edge/index.js.map +1 -0
- package/dist/src/edge/registry.d.ts +127 -0
- package/dist/src/edge/registry.d.ts.map +1 -0
- package/dist/src/edge/registry.js +79 -0
- package/dist/src/edge/registry.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 -20
- package/dist/src/errors/base-errors.js.map +1 -1
- package/dist/src/errors/encoding.d.ts +2 -2
- package/dist/src/errors/encoding.d.ts.map +1 -1
- package/dist/src/errors/encoding.js +1 -1
- package/dist/src/errors/encoding.js.map +1 -1
- package/dist/src/errors/errors.d.ts +619 -42
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +50 -104
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/errors.test.js +2 -2
- package/dist/src/errors/errors.test.js.map +1 -1
- package/dist/src/errors/helpers.d.ts +9 -5
- 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/errors/index.d.ts +5 -5
- package/dist/src/errors/index.js +5 -5
- package/dist/src/feed-replication.d.ts.map +1 -1
- package/dist/src/index.d.ts +12 -13
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +11 -12
- package/dist/src/index.js.map +1 -1
- package/dist/src/indexing.test.js +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 +1009 -845
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +107 -94
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/src/proto/gen/dxos/config.d.ts +59 -0
- package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/config.js +26 -0
- package/dist/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/src/proto/gen/dxos/devtools/host.d.ts +31 -31
- package/dist/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts +4 -0
- package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/echo/metadata.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 +34 -8
- package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts +24 -0
- package/dist/src/proto/gen/dxos/edge/messenger.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/edge/messenger.js.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts +15 -1
- package/dist/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/halo/credentials.js +9 -0
- package/dist/src/proto/gen/dxos/halo/credentials.js.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.d.ts +0 -10
- package/dist/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.d.ts +19 -0
- package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
- package/dist/src/proto/gen/dxos/tracing.d.ts +0 -79
- package/dist/src/proto/gen/dxos/tracing.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.d.ts +326 -40
- package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/src/proto/gen/google/protobuf.js +127 -1
- package/dist/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/src/proto/gen/index.d.ts +40 -7
- 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 +2 -2
- package/dist/src/proto/index.js +1 -1
- package/dist/src/proto/types.d.ts +1 -1
- package/dist/src/space-archive.d.ts +60 -1
- package/dist/src/space-archive.d.ts.map +1 -1
- package/dist/src/space-archive.js +13 -1
- package/dist/src/space-archive.js.map +1 -1
- package/dist/src/types.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -15
- package/src/FeedProtocol.ts +320 -0
- package/src/FunctionProtocol.ts +8 -6
- package/src/buf/proto/gen/dxos/agent/dashboard_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/agent/echo-proxy_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/agent/epoch_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/agent/functions_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/bot_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/client/invitation_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/client/logging_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/client/queue_pb.ts +286 -0
- package/src/buf/proto/gen/dxos/client/services_pb.ts +114 -40
- package/src/buf/proto/gen/dxos/config_pb.ts +125 -2
- package/src/buf/proto/gen/dxos/devtools/diagnostics_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/devtools/host_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/devtools/swarm_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/blob_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/feed_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/filter_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/indexing_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/metadata_pb.ts +9 -2
- package/src/buf/proto/gen/dxos/echo/model/document_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/model/messenger_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/model/text_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/object_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/query_pb.ts +16 -4
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +68 -16
- package/src/buf/proto/gen/dxos/echo/snapshot_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/echo/timeframe_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/edge/calls_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/edge/messenger_pb.ts +39 -6
- package/src/buf/proto/gen/dxos/edge/signal_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/error_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/field_options_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/google_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/gravity_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/credentials/auth_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/credentials/greet_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/credentials/identity_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/credentials_pb.ts +49 -3
- package/src/buf/proto/gen/dxos/halo/invitations_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/keyring_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/keys_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/halo/signed_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/iframe_pb.ts +3 -14
- package/src/buf/proto/gen/dxos/keys_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/bridge_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/broadcast_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/messaging_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/muxer_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/presence_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/protocol_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/replicator_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/signal_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/swarm_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/admission-discovery_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/auth_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/automerge_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/blobsync_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/control_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/gossip_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/notarization_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/mesh/teleport/replicator_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/registry_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/rpc_pb.ts +37 -8
- package/src/buf/proto/gen/dxos/service/agentmanager_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/service/publisher_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/service/supervisor_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/service/tunnel_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/tracing_pb.ts +12 -179
- package/src/buf/proto/gen/dxos/type_pb.ts +1 -1
- package/src/buf/proto/gen/dxos/value_pb.ts +1 -1
- package/src/buf/proto/gen/example/testing/data_pb.ts +1 -1
- package/src/buf/proto/gen/example/testing/rpc_pb.ts +1 -1
- package/src/codec.test.ts +1 -1
- package/src/edge/EdgeFunctionEnv.ts +191 -0
- package/src/{edge.ts → edge/edge.ts} +166 -39
- package/src/{edge-error.ts → edge/errors.ts} +15 -16
- package/src/edge/index.ts +8 -0
- package/src/edge/registry.ts +96 -0
- package/src/errors/base-errors.ts +4 -22
- package/src/errors/encoding.ts +2 -3
- package/src/errors/errors.test.ts +2 -2
- package/src/errors/errors.ts +57 -124
- package/src/errors/helpers.ts +6 -7
- package/src/errors/index.ts +5 -5
- package/src/feed-replication.ts +1 -0
- package/src/index.ts +12 -13
- package/src/indexing.test.ts +1 -1
- package/src/messenger.ts +22 -0
- package/src/proto/dxos/client/queue.proto +81 -0
- package/src/proto/dxos/client/services.proto +19 -1
- package/src/proto/dxos/config.proto +48 -1
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/echo/query.proto +4 -1
- package/src/proto/dxos/echo/service.proto +27 -6
- package/src/proto/dxos/edge/messenger.proto +10 -0
- package/src/proto/dxos/halo/credentials.proto +15 -0
- package/src/proto/dxos/iframe.proto +1 -3
- package/src/proto/dxos/rpc.proto +7 -0
- package/src/proto/dxos/tracing.proto +0 -40
- package/src/proto/gen/dxos/client/services.ts +1009 -845
- package/src/proto/gen/dxos/config.ts +59 -0
- package/src/proto/gen/dxos/devtools/host.ts +31 -31
- package/src/proto/gen/dxos/echo/metadata.ts +4 -0
- package/src/proto/gen/dxos/echo/query.ts +17 -1
- package/src/proto/gen/dxos/echo/service.ts +33 -8
- package/src/proto/gen/dxos/edge/messenger.ts +24 -0
- package/src/proto/gen/dxos/halo/credentials.ts +15 -1
- package/src/proto/gen/dxos/iframe.ts +0 -10
- package/src/proto/gen/dxos/rpc.ts +19 -0
- package/src/proto/gen/dxos/tracing.ts +0 -76
- package/src/proto/gen/google/protobuf.ts +326 -40
- package/src/proto/gen/index.ts +41 -8
- package/src/proto/index.ts +2 -2
- package/src/proto/types.ts +1 -1
- package/src/space-archive.ts +70 -1
- package/src/types.ts +2 -2
- package/dist/src/edge-error.d.ts.map +0 -1
- package/dist/src/edge-error.js.map +0 -1
- package/dist/src/edge.d.ts.map +0 -1
- 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/dist/src/queue.d.ts +0 -37
- package/dist/src/queue.d.ts.map +0 -1
- package/dist/src/queue.js +0 -8
- package/dist/src/queue.js.map +0 -1
- package/src/query.ts +0 -8
- package/src/queue.ts +0 -51
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
export const KEY_QUEUE_POSITION = 'org.dxos.key.queue-position';
|
|
5
|
+
import * as Schema from 'effect/Schema';
|
|
6
|
+
import { invariant } from '@dxos/invariant';
|
|
7
|
+
import { SpaceId } from '@dxos/keys';
|
|
8
|
+
import { EdgeService } from './edge/edge.js';
|
|
9
|
+
/**
|
|
10
|
+
* Opaque pagination cursor for feed queries.
|
|
11
|
+
*/
|
|
12
|
+
export const FeedCursor = Schema.String.pipe(Schema.brand('@dxos/feed/FeedCursor'));
|
|
13
|
+
/**
|
|
14
|
+
* Replicated queue block payload and ordering metadata.
|
|
15
|
+
*/
|
|
16
|
+
export const Block = Schema.Struct({
|
|
17
|
+
/**
|
|
18
|
+
* Appears on blocks returned from query.
|
|
19
|
+
*/
|
|
20
|
+
feedId: Schema.UndefinedOr(Schema.String),
|
|
21
|
+
/**
|
|
22
|
+
* Actor that produced this block.
|
|
23
|
+
*/
|
|
24
|
+
actorId: Schema.String,
|
|
25
|
+
/**
|
|
26
|
+
* Per-feed monotonic sequence assigned by the actor.
|
|
27
|
+
*/
|
|
28
|
+
sequence: Schema.Number,
|
|
29
|
+
/**
|
|
30
|
+
* Actor of the immediate predecessor block, if any.
|
|
31
|
+
*/
|
|
32
|
+
prevActorId: Schema.NullOr(Schema.String),
|
|
33
|
+
/**
|
|
34
|
+
* Sequence of the immediate predecessor block, if any.
|
|
35
|
+
*/
|
|
36
|
+
prevSequence: Schema.NullOr(Schema.Number),
|
|
37
|
+
/**
|
|
38
|
+
* Globally ordered position assigned by a position authority.
|
|
39
|
+
* Unlike `sequence` (per-feed causal order), this enables merged incremental reads across feeds.
|
|
40
|
+
*/
|
|
41
|
+
position: Schema.NullOr(Schema.Number),
|
|
42
|
+
/**
|
|
43
|
+
* Milliseconds since Unix epoch when the block was created.
|
|
44
|
+
*/
|
|
45
|
+
timestamp: Schema.Number,
|
|
46
|
+
/**
|
|
47
|
+
* Serialized application payload.
|
|
48
|
+
*/
|
|
49
|
+
data: Schema.Uint8Array,
|
|
50
|
+
/**
|
|
51
|
+
* Local insertion ID.
|
|
52
|
+
* Not replicated.
|
|
53
|
+
*/
|
|
54
|
+
// TODO(dmaretskyi): Remove. Use cursors.
|
|
55
|
+
insertionId: Schema.optional(Schema.Number),
|
|
56
|
+
});
|
|
57
|
+
//
|
|
58
|
+
// RPC Schemas
|
|
59
|
+
//
|
|
60
|
+
/**
|
|
61
|
+
* Query parameters for retrieving blocks from one namespace in one space.
|
|
62
|
+
*/
|
|
63
|
+
export const QueryRequest = Schema.Struct({
|
|
64
|
+
/**
|
|
65
|
+
* Optional request correlation identifier.
|
|
66
|
+
*/
|
|
67
|
+
requestId: Schema.optional(Schema.String),
|
|
68
|
+
/**
|
|
69
|
+
* Target space identifier.
|
|
70
|
+
*/
|
|
71
|
+
spaceId: SpaceId,
|
|
72
|
+
/**
|
|
73
|
+
* Feed namespace to query.
|
|
74
|
+
*/
|
|
75
|
+
feedNamespace: Schema.String,
|
|
76
|
+
query: Schema.optional(Schema.Union(Schema.Struct({
|
|
77
|
+
/**
|
|
78
|
+
* Explicit list of feed IDs to read from.
|
|
79
|
+
*/
|
|
80
|
+
feedIds: Schema.Array(Schema.String),
|
|
81
|
+
}), Schema.Struct({
|
|
82
|
+
/**
|
|
83
|
+
* Existing subscription to resolve feed IDs from.
|
|
84
|
+
*/
|
|
85
|
+
subscriptionId: Schema.String,
|
|
86
|
+
}))),
|
|
87
|
+
/**
|
|
88
|
+
* Get changes following this cursor (exclusive).
|
|
89
|
+
*
|
|
90
|
+
* Must not be used with `position`.
|
|
91
|
+
*/
|
|
92
|
+
cursor: Schema.optional(FeedCursor),
|
|
93
|
+
/**
|
|
94
|
+
* Get changes following this position.
|
|
95
|
+
* Returned blocks have strictly greater position than this.
|
|
96
|
+
*
|
|
97
|
+
* Must not be used with `cursor`.
|
|
98
|
+
*/
|
|
99
|
+
position: Schema.optional(Schema.Number),
|
|
100
|
+
/**
|
|
101
|
+
* Only return blocks that are not positioned.
|
|
102
|
+
*
|
|
103
|
+
* Must not be used with `cursor` or `position`.
|
|
104
|
+
*/
|
|
105
|
+
unpositionedOnly: Schema.optional(Schema.Boolean),
|
|
106
|
+
/**
|
|
107
|
+
* Maximum number of blocks to return.
|
|
108
|
+
*/
|
|
109
|
+
limit: Schema.optional(Schema.Number),
|
|
110
|
+
});
|
|
111
|
+
/**
|
|
112
|
+
* Result payload for a query operation.
|
|
113
|
+
*/
|
|
114
|
+
export const QueryResponse = Schema.Struct({
|
|
115
|
+
/**
|
|
116
|
+
* Echoed request correlation identifier.
|
|
117
|
+
*/
|
|
118
|
+
requestId: Schema.optional(Schema.String),
|
|
119
|
+
/**
|
|
120
|
+
* Cursor to continue reading from this result boundary.
|
|
121
|
+
*/
|
|
122
|
+
nextCursor: FeedCursor,
|
|
123
|
+
/**
|
|
124
|
+
* Indicates whether more matching blocks are available.
|
|
125
|
+
*/
|
|
126
|
+
hasMore: Schema.Boolean,
|
|
127
|
+
/**
|
|
128
|
+
* Returned blocks for the current page.
|
|
129
|
+
*/
|
|
130
|
+
blocks: Schema.Array(Block),
|
|
131
|
+
});
|
|
132
|
+
/**
|
|
133
|
+
* Parameters for creating or refreshing a feed subscription.
|
|
134
|
+
*/
|
|
135
|
+
export const SubscribeRequest = Schema.Struct({
|
|
136
|
+
/**
|
|
137
|
+
* Optional request correlation identifier.
|
|
138
|
+
*/
|
|
139
|
+
requestId: Schema.optional(Schema.String),
|
|
140
|
+
/**
|
|
141
|
+
* Optional space scope for the subscription.
|
|
142
|
+
*/
|
|
143
|
+
spaceId: Schema.optional(Schema.String),
|
|
144
|
+
/**
|
|
145
|
+
* Feeds to include in the subscription.
|
|
146
|
+
*/
|
|
147
|
+
feedIds: Schema.Array(Schema.String),
|
|
148
|
+
});
|
|
149
|
+
/**
|
|
150
|
+
* Response payload for subscription creation.
|
|
151
|
+
*/
|
|
152
|
+
export const SubscribeResponse = Schema.Struct({
|
|
153
|
+
/**
|
|
154
|
+
* Echoed request correlation identifier.
|
|
155
|
+
*/
|
|
156
|
+
requestId: Schema.optional(Schema.String),
|
|
157
|
+
/**
|
|
158
|
+
* Identifier to use in subsequent subscription queries.
|
|
159
|
+
*/
|
|
160
|
+
subscriptionId: Schema.String,
|
|
161
|
+
/**
|
|
162
|
+
* Expiration timestamp in milliseconds since Unix epoch.
|
|
163
|
+
*/
|
|
164
|
+
expiresAt: Schema.Number,
|
|
165
|
+
});
|
|
166
|
+
/**
|
|
167
|
+
* Request payload for appending one or more blocks.
|
|
168
|
+
*/
|
|
169
|
+
export const AppendRequest = Schema.Struct({
|
|
170
|
+
/**
|
|
171
|
+
* Optional request correlation identifier.
|
|
172
|
+
*/
|
|
173
|
+
requestId: Schema.optional(Schema.String),
|
|
174
|
+
/**
|
|
175
|
+
* Target space identifier.
|
|
176
|
+
*/
|
|
177
|
+
spaceId: Schema.String,
|
|
178
|
+
/**
|
|
179
|
+
* Namespace that all appended blocks belong to.
|
|
180
|
+
*/
|
|
181
|
+
feedNamespace: Schema.String,
|
|
182
|
+
/**
|
|
183
|
+
* Blocks to append.
|
|
184
|
+
*/
|
|
185
|
+
blocks: Schema.Array(Block),
|
|
186
|
+
});
|
|
187
|
+
/**
|
|
188
|
+
* Result payload for append operations.
|
|
189
|
+
*/
|
|
190
|
+
export const AppendResponse = Schema.Struct({
|
|
191
|
+
/**
|
|
192
|
+
* Echoed request correlation identifier.
|
|
193
|
+
*/
|
|
194
|
+
requestId: Schema.optional(Schema.String),
|
|
195
|
+
/**
|
|
196
|
+
* Assigned global positions for appended blocks.
|
|
197
|
+
*/
|
|
198
|
+
positions: Schema.Array(Schema.Number),
|
|
199
|
+
});
|
|
200
|
+
/**
|
|
201
|
+
* Tagged transport message union for queue protocol RPC traffic.
|
|
202
|
+
*/
|
|
203
|
+
export const ProtocolMessage = Schema.Union(Schema.TaggedStruct('QueryRequest', QueryRequest.fields), Schema.TaggedStruct('QueryResponse', QueryResponse.fields), Schema.TaggedStruct('SubscribeRequest', SubscribeRequest.fields), Schema.TaggedStruct('SubscribeResponse', SubscribeResponse.fields), Schema.TaggedStruct('AppendRequest', AppendRequest.fields), Schema.TaggedStruct('AppendResponse', AppendResponse.fields), Schema.TaggedStruct('Error', {
|
|
204
|
+
/**
|
|
205
|
+
* Human-readable error message.
|
|
206
|
+
*/
|
|
207
|
+
message: Schema.String,
|
|
208
|
+
})).pipe(Schema.extend(Schema.Struct({
|
|
209
|
+
senderPeerId: Schema.UndefinedOr(Schema.String),
|
|
210
|
+
/**
|
|
211
|
+
* Could be undefined if the recipient could be assumed from the context.
|
|
212
|
+
*/
|
|
213
|
+
recipientPeerId: Schema.UndefinedOr(Schema.String),
|
|
214
|
+
})));
|
|
215
|
+
/**
|
|
216
|
+
* Reserved namespaces with protocol-level semantics.
|
|
217
|
+
*/
|
|
218
|
+
export const WellKnownNamespaces = {
|
|
219
|
+
data: 'data',
|
|
220
|
+
trace: 'trace',
|
|
221
|
+
};
|
|
222
|
+
export const isWellKnownNamespace = (namespace) => Object.values(WellKnownNamespaces).includes(namespace);
|
|
223
|
+
/**
|
|
224
|
+
* Encodes queue replicator service identifier as `<service>:<namespace>:<spaceId>`.
|
|
225
|
+
*/
|
|
226
|
+
export const encodeServiceId = (namespace, spaceId) => `${EdgeService.QUEUE_REPLICATOR}:${namespace}:${spaceId}`;
|
|
227
|
+
/**
|
|
228
|
+
* Decodes and validates queue replicator service identifier.
|
|
229
|
+
*/
|
|
230
|
+
export const decodeServiceId = (serviceId) => {
|
|
231
|
+
const [service, namespace, spaceId] = serviceId.split(':');
|
|
232
|
+
invariant(service === EdgeService.QUEUE_REPLICATOR, `Invalid service: ${service}`);
|
|
233
|
+
invariant(isWellKnownNamespace(namespace), `Invalid namespace: ${namespace}`);
|
|
234
|
+
invariant(SpaceId.isValid(spaceId), `Invalid spaceId: ${spaceId}`);
|
|
235
|
+
return { namespace: namespace, spaceId };
|
|
236
|
+
};
|
|
237
|
+
//# sourceMappingURL=FeedProtocol.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedProtocol.js","sourceRoot":"","sources":["../../src/FeedProtocol.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAYF,MAAM,CAAC,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAEhE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAGpF;;GAEG;AACH,MA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
|
import type * as QueryProto from '@dxos/protocols/proto/dxos/echo/query';
|
|
3
3
|
import type * as DataProto from '@dxos/protocols/proto/dxos/echo/service';
|
|
4
|
-
import { type
|
|
4
|
+
import { type EdgeFunctionEnv } from './edge';
|
|
5
|
+
import type * as FeedProtocol from './FeedProtocol';
|
|
5
6
|
/**
|
|
6
7
|
* Function implementation.
|
|
7
8
|
* This is a contract between the user-defined function and the runtime.
|
|
@@ -57,7 +58,12 @@ export interface Context {
|
|
|
57
58
|
* Queue service.
|
|
58
59
|
* Available if the function is invoked in context of a space.
|
|
59
60
|
*/
|
|
60
|
-
queueService?: QueueService;
|
|
61
|
+
queueService?: FeedProtocol.QueueService;
|
|
62
|
+
/**
|
|
63
|
+
* Functions service.
|
|
64
|
+
* Available if the function is invoked in context of a space.
|
|
65
|
+
*/
|
|
66
|
+
functionsAiService?: EdgeFunctionEnv.FunctionsAiService;
|
|
61
67
|
};
|
|
62
68
|
/**
|
|
63
69
|
* That space that the function is invoked in context of.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionProtocol.d.ts","sourceRoot":"","sources":["../../src/FunctionProtocol.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,KAAK,UAAU,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,KAAK,SAAS,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"FunctionProtocol.d.ts","sourceRoot":"","sources":["../../src/FunctionProtocol.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,KAAK,UAAU,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,KAAK,SAAS,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,KAAK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|
|
2
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { 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
|
+
* / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
76
|
+
* / We use JSON strings instead of google.protobuf.Struct because Struct
|
|
77
|
+
* / coerces `undefined` to `null`, corrupting optional fields.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: repeated string objects = 1;
|
|
80
|
+
*/
|
|
81
|
+
objects: string[];
|
|
82
|
+
/**
|
|
83
|
+
* / Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string next_cursor = 2;
|
|
86
|
+
*/
|
|
87
|
+
nextCursor: string;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: string prev_cursor = 3;
|
|
90
|
+
*/
|
|
91
|
+
prevCursor: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message dxos.client.services.QueueQueryResult.
|
|
95
|
+
* Use `create(QueueQueryResultSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export declare const QueueQueryResultSchema: GenMessage<QueueQueryResult>;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from message dxos.client.services.QueryQueueRequest
|
|
100
|
+
*/
|
|
101
|
+
export type QueryQueueRequest = Message<"dxos.client.services.QueryQueueRequest"> & {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: dxos.client.services.QueueQuery query = 1;
|
|
104
|
+
*/
|
|
105
|
+
query?: QueueQuery;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message dxos.client.services.QueryQueueRequest.
|
|
109
|
+
* Use `create(QueryQueueRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const QueryQueueRequestSchema: GenMessage<QueryQueueRequest>;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message dxos.client.services.InsertIntoQueueRequest
|
|
114
|
+
*/
|
|
115
|
+
export type InsertIntoQueueRequest = Message<"dxos.client.services.InsertIntoQueueRequest"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string subspace_tag = 1;
|
|
118
|
+
*/
|
|
119
|
+
subspaceTag: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: string space_id = 2;
|
|
122
|
+
*/
|
|
123
|
+
spaceId: string;
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: string queue_id = 3;
|
|
126
|
+
*/
|
|
127
|
+
queueId: string;
|
|
128
|
+
/**
|
|
129
|
+
* / JSON-encoded object payloads. Each entry is a serialized ObjectJSON.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: repeated string objects = 4;
|
|
132
|
+
*/
|
|
133
|
+
objects: string[];
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message dxos.client.services.InsertIntoQueueRequest.
|
|
137
|
+
* Use `create(InsertIntoQueueRequestSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const InsertIntoQueueRequestSchema: GenMessage<InsertIntoQueueRequest>;
|
|
140
|
+
/**
|
|
141
|
+
* @generated from message dxos.client.services.DeleteFromQueueRequest
|
|
142
|
+
*/
|
|
143
|
+
export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQueueRequest"> & {
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: string subspace_tag = 1;
|
|
146
|
+
*/
|
|
147
|
+
subspaceTag: string;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: string space_id = 2;
|
|
150
|
+
*/
|
|
151
|
+
spaceId: string;
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: string queue_id = 3;
|
|
154
|
+
*/
|
|
155
|
+
queueId: string;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: repeated string object_ids = 4;
|
|
158
|
+
*/
|
|
159
|
+
objectIds: string[];
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message dxos.client.services.DeleteFromQueueRequest.
|
|
163
|
+
* Use `create(DeleteFromQueueRequestSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest>;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message dxos.client.services.SyncQueueRequest
|
|
168
|
+
*/
|
|
169
|
+
export type SyncQueueRequest = Message<"dxos.client.services.SyncQueueRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string subspace_tag = 1;
|
|
172
|
+
*/
|
|
173
|
+
subspaceTag: string;
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string space_id = 2;
|
|
176
|
+
*/
|
|
177
|
+
spaceId: string;
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string queue_id = 3;
|
|
180
|
+
*/
|
|
181
|
+
queueId: string;
|
|
182
|
+
/**
|
|
183
|
+
* / Whether to push local changes to the server. Defaults to true.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: optional bool should_push = 4;
|
|
186
|
+
*/
|
|
187
|
+
shouldPush?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* / Whether to pull remote changes from the server. Defaults to true.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: optional bool should_pull = 5;
|
|
192
|
+
*/
|
|
193
|
+
shouldPull?: boolean;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message dxos.client.services.SyncQueueRequest.
|
|
197
|
+
* Use `create(SyncQueueRequestSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export declare const SyncQueueRequestSchema: GenMessage<SyncQueueRequest>;
|
|
200
|
+
/**
|
|
201
|
+
* @generated from service dxos.client.services.QueueService
|
|
202
|
+
*/
|
|
203
|
+
export declare const QueueService: GenService<{
|
|
204
|
+
/**
|
|
205
|
+
* @generated from rpc dxos.client.services.QueueService.QueryQueue
|
|
206
|
+
*/
|
|
207
|
+
queryQueue: {
|
|
208
|
+
methodKind: "unary";
|
|
209
|
+
input: typeof QueryQueueRequestSchema;
|
|
210
|
+
output: typeof QueueQueryResultSchema;
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* @generated from rpc dxos.client.services.QueueService.InsertIntoQueue
|
|
214
|
+
*/
|
|
215
|
+
insertIntoQueue: {
|
|
216
|
+
methodKind: "unary";
|
|
217
|
+
input: typeof InsertIntoQueueRequestSchema;
|
|
218
|
+
output: typeof EmptySchema;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* @generated from rpc dxos.client.services.QueueService.DeleteFromQueue
|
|
222
|
+
*/
|
|
223
|
+
deleteFromQueue: {
|
|
224
|
+
methodKind: "unary";
|
|
225
|
+
input: typeof DeleteFromQueueRequestSchema;
|
|
226
|
+
output: typeof EmptySchema;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @generated from rpc dxos.client.services.QueueService.SyncQueue
|
|
230
|
+
*/
|
|
231
|
+
syncQueue: {
|
|
232
|
+
methodKind: "unary";
|
|
233
|
+
input: typeof SyncQueueRequestSchema;
|
|
234
|
+
output: typeof EmptySchema;
|
|
235
|
+
};
|
|
236
|
+
}>;
|
|
237
|
+
//# sourceMappingURL=queue_pb.d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O,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,gBAAgB,CACxB,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC;IACpC;;OAEG;IACH,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,uBAAuB,CAAC;QACtC,MAAM,EAAE,OAAO,sBAAsB,CAAC;KACvC,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,eAAe,EAAE;QACf,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,4BAA4B,CAAC;QAC3C,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE;QACT,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sBAAsB,CAAC;QACrC,MAAM,EAAE,OAAO,WAAW,CAAC;KAC5B,CAAC;CACH,CACuC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 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 } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file dxos/client/queue.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const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dGFnGAEgASgJEhAKCHNwYWNlX2lkGAIgASgJEhAKCHF1ZXVlX2lkGAMgASgJEhgKC3Nob3VsZF9wdXNoGAQgASgISACIAQESGAoLc2hvdWxkX3B1bGwYBSABKAhIAYgBAUIOCgxfc2hvdWxkX3B1c2hCDgoMX3Nob3VsZF9wdWxsMuwCCgxRdWV1ZVNlcnZpY2USXQoKUXVlcnlRdWV1ZRInLmR4b3MuY2xpZW50LnNlcnZpY2VzLlF1ZXJ5UXVldWVSZXF1ZXN0GiYuZHhvcy5jbGllbnQuc2VydmljZXMuUXVldWVRdWVyeVJlc3VsdBJXCg9JbnNlcnRJbnRvUXVldWUSLC5keG9zLmNsaWVudC5zZXJ2aWNlcy5JbnNlcnRJbnRvUXVldWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5ElcKD0RlbGV0ZUZyb21RdWV1ZRIsLmR4b3MuY2xpZW50LnNlcnZpY2VzLkRlbGV0ZUZyb21RdWV1ZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSSwoJU3luY1F1ZXVlEiYuZHhvcy5jbGllbnQuc2VydmljZXMuU3luY1F1ZXVlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eWIGcHJvdG8z", [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
|
+
* Describes the message dxos.client.services.SyncQueueRequest.
|
|
37
|
+
* Use `create(SyncQueueRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const SyncQueueRequestSchema = /*@__PURE__*/ messageDesc(file_dxos_client_queue, 5);
|
|
40
|
+
/**
|
|
41
|
+
* @generated from service dxos.client.services.QueueService
|
|
42
|
+
*/
|
|
43
|
+
export const QueueService = /*@__PURE__*/ serviceDesc(file_dxos_client_queue, 0);
|
|
44
|
+
//# 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,MAAM,wBAAwB,CAAC;AAGpE;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAY,aAAa,CAC1D,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