@dxos/protocols 0.8.4-main.fbb7a13 → 0.8.4-main.fcfe5033a5
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 +2 -2
- package/dist/src/FunctionProtocol.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts +42 -0
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.d.ts.map +1 -1
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js +7 -2
- package/dist/src/buf/proto/gen/dxos/client/queue_pb.js.map +1 -1
- 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 +104 -2
- 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/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/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 +0 -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 +12 -24
- package/dist/src/edge/EdgeFunctionEnv.d.ts.map +1 -1
- package/dist/src/edge/edge.d.ts +165 -0
- package/dist/src/edge/edge.d.ts.map +1 -1
- package/dist/src/edge/edge.js +13 -0
- package/dist/src/edge/edge.js.map +1 -1
- package/dist/src/edge/errors.d.ts +1 -1
- package/dist/src/edge/errors.js +1 -1
- package/dist/src/edge/index.d.ts +4 -3
- package/dist/src/edge/index.d.ts.map +1 -1
- package/dist/src/edge/index.js +4 -3
- package/dist/src/edge/index.js.map +1 -1
- 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/encoding.d.ts +1 -1
- 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 +1 -1
- package/dist/src/errors/errors.d.ts.map +1 -1
- package/dist/src/errors/errors.js +1 -1
- package/dist/src/errors/errors.js.map +1 -1
- package/dist/src/errors/errors.test.js +1 -1
- package/dist/src/errors/helpers.d.ts +1 -1
- package/dist/src/errors/index.d.ts +5 -5
- package/dist/src/errors/index.js +5 -5
- package/dist/src/index.d.ts +12 -12
- 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/proto/gen/dxos/client/services.d.ts +1009 -954
- 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 +55 -1
- 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/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 +32 -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 +14 -14
- package/src/FeedProtocol.ts +320 -0
- package/src/FunctionProtocol.ts +2 -4
- 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 +51 -2
- package/src/buf/proto/gen/dxos/client/services_pb.ts +114 -40
- package/src/buf/proto/gen/dxos/config_pb.ts +122 -4
- 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 +1 -1
- package/src/buf/proto/gen/dxos/echo/service_pb.ts +1 -1
- 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 +2 -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 +25 -27
- package/src/edge/edge.ts +120 -0
- package/src/edge/errors.ts +1 -1
- package/src/edge/index.ts +4 -3
- package/src/edge/registry.ts +96 -0
- package/src/errors/encoding.ts +2 -3
- package/src/errors/errors.test.ts +1 -1
- package/src/errors/errors.ts +2 -3
- package/src/errors/helpers.ts +1 -1
- package/src/errors/index.ts +5 -5
- package/src/index.ts +12 -14
- package/src/indexing.test.ts +1 -1
- package/src/proto/dxos/client/queue.proto +11 -0
- package/src/proto/dxos/client/services.proto +19 -1
- package/src/proto/dxos/config.proto +47 -2
- package/src/proto/dxos/echo/metadata.proto +3 -0
- package/src/proto/dxos/edge/messenger.proto +10 -0
- package/src/proto/dxos/halo/credentials.proto +15 -0
- package/src/proto/dxos/iframe.proto +0 -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 -954
- package/src/proto/gen/dxos/config.ts +55 -1
- 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/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 +33 -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/queue.d.ts +0 -3
- package/dist/src/queue.d.ts.map +0 -1
- package/dist/src/queue.js +0 -5
- package/dist/src/queue.js.map +0 -1
- package/src/queue.ts +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.fcfe5033a5",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -63,23 +63,23 @@
|
|
|
63
63
|
"src"
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@bufbuild/protobuf": "2.
|
|
67
|
-
"@dxos/codec-protobuf": "0.8.4-main.
|
|
68
|
-
"@dxos/errors": "0.8.4-main.
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
66
|
+
"@bufbuild/protobuf": "2.11.0",
|
|
67
|
+
"@dxos/codec-protobuf": "0.8.4-main.fcfe5033a5",
|
|
68
|
+
"@dxos/errors": "0.8.4-main.fcfe5033a5",
|
|
69
|
+
"@dxos/effect": "0.8.4-main.fcfe5033a5",
|
|
70
|
+
"@dxos/keys": "0.8.4-main.fcfe5033a5",
|
|
71
|
+
"@dxos/util": "0.8.4-main.fcfe5033a5",
|
|
72
|
+
"@dxos/invariant": "0.8.4-main.fcfe5033a5",
|
|
73
|
+
"@dxos/timeframe": "0.8.4-main.fcfe5033a5"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@bufbuild/buf": "1.
|
|
77
|
-
"@bufbuild/protoc-gen-es": "2.
|
|
78
|
-
"effect": "3.
|
|
79
|
-
"@dxos/protobuf-compiler": "0.8.4-main.
|
|
76
|
+
"@bufbuild/buf": "1.65.0",
|
|
77
|
+
"@bufbuild/protoc-gen-es": "2.11.0",
|
|
78
|
+
"effect": "3.20.0",
|
|
79
|
+
"@dxos/protobuf-compiler": "0.8.4-main.fcfe5033a5"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"effect": "3.
|
|
82
|
+
"effect": "3.20.0"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2026 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
type QueueService,
|
|
7
|
+
type QueueQuery,
|
|
8
|
+
type QueueQueryResult as QueryResult,
|
|
9
|
+
type QueryQueueRequest,
|
|
10
|
+
type InsertIntoQueueRequest,
|
|
11
|
+
type DeleteFromQueueRequest,
|
|
12
|
+
type SyncQueueRequest,
|
|
13
|
+
} from './proto/gen/dxos/client/services.js';
|
|
14
|
+
|
|
15
|
+
export const KEY_QUEUE_POSITION = 'org.dxos.key.queue-position';
|
|
16
|
+
|
|
17
|
+
import * as Schema from 'effect/Schema';
|
|
18
|
+
|
|
19
|
+
import { invariant } from '@dxos/invariant';
|
|
20
|
+
import { SpaceId } from '@dxos/keys';
|
|
21
|
+
|
|
22
|
+
import { EdgeService } from './edge/edge.js';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Opaque pagination cursor for feed queries.
|
|
26
|
+
*/
|
|
27
|
+
export const FeedCursor = Schema.String.pipe(Schema.brand('@dxos/feed/FeedCursor'));
|
|
28
|
+
export type FeedCursor = Schema.Schema.Type<typeof FeedCursor>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Replicated queue block payload and ordering metadata.
|
|
32
|
+
*/
|
|
33
|
+
export const Block = Schema.Struct({
|
|
34
|
+
/**
|
|
35
|
+
* Appears on blocks returned from query.
|
|
36
|
+
*/
|
|
37
|
+
feedId: Schema.UndefinedOr(Schema.String),
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Actor that produced this block.
|
|
41
|
+
*/
|
|
42
|
+
actorId: Schema.String,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Per-feed monotonic sequence assigned by the actor.
|
|
46
|
+
*/
|
|
47
|
+
sequence: Schema.Number,
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Actor of the immediate predecessor block, if any.
|
|
51
|
+
*/
|
|
52
|
+
prevActorId: Schema.NullOr(Schema.String),
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Sequence of the immediate predecessor block, if any.
|
|
56
|
+
*/
|
|
57
|
+
prevSequence: Schema.NullOr(Schema.Number),
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Globally ordered position assigned by a position authority.
|
|
61
|
+
* Unlike `sequence` (per-feed causal order), this enables merged incremental reads across feeds.
|
|
62
|
+
*/
|
|
63
|
+
position: Schema.NullOr(Schema.Number),
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Milliseconds since Unix epoch when the block was created.
|
|
67
|
+
*/
|
|
68
|
+
timestamp: Schema.Number,
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Serialized application payload.
|
|
72
|
+
*/
|
|
73
|
+
data: Schema.Uint8Array,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Local insertion ID.
|
|
77
|
+
* Not replicated.
|
|
78
|
+
*/
|
|
79
|
+
// TODO(dmaretskyi): Remove. Use cursors.
|
|
80
|
+
insertionId: Schema.optional(Schema.Number),
|
|
81
|
+
});
|
|
82
|
+
export interface Block extends Schema.Schema.Type<typeof Block> {}
|
|
83
|
+
|
|
84
|
+
//
|
|
85
|
+
// RPC Schemas
|
|
86
|
+
//
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Query parameters for retrieving blocks from one namespace in one space.
|
|
90
|
+
*/
|
|
91
|
+
export const QueryRequest = Schema.Struct({
|
|
92
|
+
/**
|
|
93
|
+
* Optional request correlation identifier.
|
|
94
|
+
*/
|
|
95
|
+
requestId: Schema.optional(Schema.String),
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Target space identifier.
|
|
99
|
+
*/
|
|
100
|
+
spaceId: SpaceId,
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Feed namespace to query.
|
|
104
|
+
*/
|
|
105
|
+
feedNamespace: Schema.String,
|
|
106
|
+
|
|
107
|
+
query: Schema.optional(
|
|
108
|
+
Schema.Union(
|
|
109
|
+
Schema.Struct({
|
|
110
|
+
/**
|
|
111
|
+
* Explicit list of feed IDs to read from.
|
|
112
|
+
*/
|
|
113
|
+
feedIds: Schema.Array(Schema.String),
|
|
114
|
+
}),
|
|
115
|
+
Schema.Struct({
|
|
116
|
+
/**
|
|
117
|
+
* Existing subscription to resolve feed IDs from.
|
|
118
|
+
*/
|
|
119
|
+
subscriptionId: Schema.String,
|
|
120
|
+
}),
|
|
121
|
+
),
|
|
122
|
+
),
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Get changes following this cursor (exclusive).
|
|
126
|
+
*
|
|
127
|
+
* Must not be used with `position`.
|
|
128
|
+
*/
|
|
129
|
+
cursor: Schema.optional(FeedCursor),
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Get changes following this position.
|
|
133
|
+
* Returned blocks have strictly greater position than this.
|
|
134
|
+
*
|
|
135
|
+
* Must not be used with `cursor`.
|
|
136
|
+
*/
|
|
137
|
+
position: Schema.optional(Schema.Number),
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Only return blocks that are not positioned.
|
|
141
|
+
*
|
|
142
|
+
* Must not be used with `cursor` or `position`.
|
|
143
|
+
*/
|
|
144
|
+
unpositionedOnly: Schema.optional(Schema.Boolean),
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Maximum number of blocks to return.
|
|
148
|
+
*/
|
|
149
|
+
limit: Schema.optional(Schema.Number),
|
|
150
|
+
});
|
|
151
|
+
export interface QueryRequest extends Schema.Schema.Type<typeof QueryRequest> {}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Result payload for a query operation.
|
|
155
|
+
*/
|
|
156
|
+
export const QueryResponse = Schema.Struct({
|
|
157
|
+
/**
|
|
158
|
+
* Echoed request correlation identifier.
|
|
159
|
+
*/
|
|
160
|
+
requestId: Schema.optional(Schema.String),
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Cursor to continue reading from this result boundary.
|
|
164
|
+
*/
|
|
165
|
+
nextCursor: FeedCursor,
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Indicates whether more matching blocks are available.
|
|
169
|
+
*/
|
|
170
|
+
hasMore: Schema.Boolean,
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Returned blocks for the current page.
|
|
174
|
+
*/
|
|
175
|
+
blocks: Schema.Array(Block),
|
|
176
|
+
});
|
|
177
|
+
export interface QueryResponse extends Schema.Schema.Type<typeof QueryResponse> {}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Parameters for creating or refreshing a feed subscription.
|
|
181
|
+
*/
|
|
182
|
+
export const SubscribeRequest = Schema.Struct({
|
|
183
|
+
/**
|
|
184
|
+
* Optional request correlation identifier.
|
|
185
|
+
*/
|
|
186
|
+
requestId: Schema.optional(Schema.String),
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Optional space scope for the subscription.
|
|
190
|
+
*/
|
|
191
|
+
spaceId: Schema.optional(Schema.String),
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Feeds to include in the subscription.
|
|
195
|
+
*/
|
|
196
|
+
feedIds: Schema.Array(Schema.String),
|
|
197
|
+
});
|
|
198
|
+
export interface SubscribeRequest extends Schema.Schema.Type<typeof SubscribeRequest> {}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Response payload for subscription creation.
|
|
202
|
+
*/
|
|
203
|
+
export const SubscribeResponse = Schema.Struct({
|
|
204
|
+
/**
|
|
205
|
+
* Echoed request correlation identifier.
|
|
206
|
+
*/
|
|
207
|
+
requestId: Schema.optional(Schema.String),
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Identifier to use in subsequent subscription queries.
|
|
211
|
+
*/
|
|
212
|
+
subscriptionId: Schema.String,
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Expiration timestamp in milliseconds since Unix epoch.
|
|
216
|
+
*/
|
|
217
|
+
expiresAt: Schema.Number,
|
|
218
|
+
});
|
|
219
|
+
export interface SubscribeResponse extends Schema.Schema.Type<typeof SubscribeResponse> {}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Request payload for appending one or more blocks.
|
|
223
|
+
*/
|
|
224
|
+
export const AppendRequest = Schema.Struct({
|
|
225
|
+
/**
|
|
226
|
+
* Optional request correlation identifier.
|
|
227
|
+
*/
|
|
228
|
+
requestId: Schema.optional(Schema.String),
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Target space identifier.
|
|
232
|
+
*/
|
|
233
|
+
spaceId: Schema.String,
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Namespace that all appended blocks belong to.
|
|
237
|
+
*/
|
|
238
|
+
feedNamespace: Schema.String,
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Blocks to append.
|
|
242
|
+
*/
|
|
243
|
+
blocks: Schema.Array(Block),
|
|
244
|
+
});
|
|
245
|
+
export interface AppendRequest extends Schema.Schema.Type<typeof AppendRequest> {}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Result payload for append operations.
|
|
249
|
+
*/
|
|
250
|
+
export const AppendResponse = Schema.Struct({
|
|
251
|
+
/**
|
|
252
|
+
* Echoed request correlation identifier.
|
|
253
|
+
*/
|
|
254
|
+
requestId: Schema.optional(Schema.String),
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Assigned global positions for appended blocks.
|
|
258
|
+
*/
|
|
259
|
+
positions: Schema.Array(Schema.Number),
|
|
260
|
+
});
|
|
261
|
+
export interface AppendResponse extends Schema.Schema.Type<typeof AppendResponse> {}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Tagged transport message union for queue protocol RPC traffic.
|
|
265
|
+
*/
|
|
266
|
+
export const ProtocolMessage = Schema.Union(
|
|
267
|
+
Schema.TaggedStruct('QueryRequest', QueryRequest.fields),
|
|
268
|
+
Schema.TaggedStruct('QueryResponse', QueryResponse.fields),
|
|
269
|
+
Schema.TaggedStruct('SubscribeRequest', SubscribeRequest.fields),
|
|
270
|
+
Schema.TaggedStruct('SubscribeResponse', SubscribeResponse.fields),
|
|
271
|
+
Schema.TaggedStruct('AppendRequest', AppendRequest.fields),
|
|
272
|
+
Schema.TaggedStruct('AppendResponse', AppendResponse.fields),
|
|
273
|
+
Schema.TaggedStruct('Error', {
|
|
274
|
+
/**
|
|
275
|
+
* Human-readable error message.
|
|
276
|
+
*/
|
|
277
|
+
message: Schema.String,
|
|
278
|
+
}),
|
|
279
|
+
).pipe(
|
|
280
|
+
Schema.extend(
|
|
281
|
+
Schema.Struct({
|
|
282
|
+
senderPeerId: Schema.UndefinedOr(Schema.String),
|
|
283
|
+
/**
|
|
284
|
+
* Could be undefined if the recipient could be assumed from the context.
|
|
285
|
+
*/
|
|
286
|
+
recipientPeerId: Schema.UndefinedOr(Schema.String),
|
|
287
|
+
}),
|
|
288
|
+
),
|
|
289
|
+
);
|
|
290
|
+
export type ProtocolMessage = Schema.Schema.Type<typeof ProtocolMessage>;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Reserved namespaces with protocol-level semantics.
|
|
294
|
+
*/
|
|
295
|
+
export const WellKnownNamespaces = {
|
|
296
|
+
data: 'data',
|
|
297
|
+
trace: 'trace',
|
|
298
|
+
} as const;
|
|
299
|
+
|
|
300
|
+
export const isWellKnownNamespace = (namespace: string) =>
|
|
301
|
+
Object.values(WellKnownNamespaces).includes(namespace as any);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Encodes queue replicator service identifier as `<service>:<namespace>:<spaceId>`.
|
|
305
|
+
*/
|
|
306
|
+
export const encodeServiceId = (namespace: string, spaceId: SpaceId) =>
|
|
307
|
+
`${EdgeService.QUEUE_REPLICATOR}:${namespace}:${spaceId}`;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Decodes and validates queue replicator service identifier.
|
|
311
|
+
*/
|
|
312
|
+
export const decodeServiceId = (
|
|
313
|
+
serviceId: string,
|
|
314
|
+
): { namespace: keyof typeof WellKnownNamespaces; spaceId: SpaceId } => {
|
|
315
|
+
const [service, namespace, spaceId] = serviceId.split(':');
|
|
316
|
+
invariant(service === EdgeService.QUEUE_REPLICATOR, `Invalid service: ${service}`);
|
|
317
|
+
invariant(isWellKnownNamespace(namespace), `Invalid namespace: ${namespace}`);
|
|
318
|
+
invariant(SpaceId.isValid(spaceId), `Invalid spaceId: ${spaceId}`);
|
|
319
|
+
return { namespace: namespace as keyof typeof WellKnownNamespaces, spaceId };
|
|
320
|
+
};
|
package/src/FunctionProtocol.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type * as QueryProto from '@dxos/protocols/proto/dxos/echo/query';
|
|
|
7
7
|
import type * as DataProto from '@dxos/protocols/proto/dxos/echo/service';
|
|
8
8
|
|
|
9
9
|
import { type EdgeFunctionEnv } from './edge';
|
|
10
|
-
import
|
|
10
|
+
import type * as FeedProtocol from './FeedProtocol';
|
|
11
11
|
|
|
12
12
|
//
|
|
13
13
|
// Function protocol definition
|
|
@@ -18,8 +18,6 @@ import { type QueueService } from './queue';
|
|
|
18
18
|
// - Protobuf service definitions are allowed (Q: What about PublicKey, Timeframe, etc.).
|
|
19
19
|
// - Breaking changes in this interface should be carefully considered.
|
|
20
20
|
|
|
21
|
-
// TODO(dmaretskyi): Consider moving this to protocols.
|
|
22
|
-
|
|
23
21
|
/**
|
|
24
22
|
* Function implementation.
|
|
25
23
|
* This is a contract between the user-defined function and the runtime.
|
|
@@ -77,7 +75,7 @@ export interface Context {
|
|
|
77
75
|
* Queue service.
|
|
78
76
|
* Available if the function is invoked in context of a space.
|
|
79
77
|
*/
|
|
80
|
-
queueService?: QueueService;
|
|
78
|
+
queueService?: FeedProtocol.QueueService;
|
|
81
79
|
|
|
82
80
|
/**
|
|
83
81
|
* Functions service.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/agent/dashboard.proto (package dxos.agent.dashboard, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/agent/echo-proxy.proto (package dxos.agent.echoproxy, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/agent/epoch.proto (package dxos.agent.epoch, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/agent/functions.proto (package dxos.agent.functions, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2020 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/bot.proto (package dxos.bot, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/client/invitation.proto (package dxos.client.services, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2021 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
// @generated by protoc-gen-es v2.
|
|
5
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
6
6
|
// @generated from file dxos/client/logging.proto (package dxos.client.services, syntax proto3)
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file dxos/client/queue.proto (package dxos.client.services, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file dxos/client/queue.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_dxos_client_queue: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("ChdkeG9zL2NsaWVudC9xdWV1ZS5wcm90bxIUZHhvcy5jbGllbnQuc2VydmljZXMi0wIKClF1ZXVlUXVlcnkSEAoIc3BhY2VfaWQYASABKAkSHQoQcXVldWVzX25hbWVzcGFjZRgCIAEoCUgAiAEBEhEKCXF1ZXVlX2lkcxgDIAMoCRISCgVhZnRlchgEIAEoCUgBiAEBEhMKBmJlZm9yZRgFIAEoCUgCiAEBEhsKDmJlZ2luX3Bvc2l0aW9uGAYgASgDSAOIAQESGQoMZW5kX3Bvc2l0aW9uGAcgASgDSASIAQESEgoFbGltaXQYCCABKAVIBYgBARIUCgdyZXZlcnNlGAkgASgISAaIAQESEgoKb2JqZWN0X2lkcxhkIAMoCUITChFfcXVldWVzX25hbWVzcGFjZUIICgZfYWZ0ZXJCCQoHX2JlZm9yZUIRCg9fYmVnaW5fcG9zaXRpb25CDwoNX2VuZF9wb3NpdGlvbkIICgZfbGltaXRCCgoIX3JldmVyc2UiZgoQUXVldWVRdWVyeVJlc3VsdBIoCgdvYmplY3RzGAEgAygLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBITCgtuZXh0X2N1cnNvchgCIAEoCRITCgtwcmV2X2N1cnNvchgDIAEoCSJEChFRdWVyeVF1ZXVlUmVxdWVzdBIvCgVxdWVyeRgBIAEoCzIgLmR4b3MuY2xpZW50LnNlcnZpY2VzLlF1ZXVlUXVlcnkifAoWSW5zZXJ0SW50b1F1ZXVlUmVxdWVzdBIUCgxzdWJzcGFjZV90YWcYASABKAkSEAoIc3BhY2VfaWQYAiABKAkSEAoIcXVldWVfaWQYAyABKAkSKAoHb2JqZWN0cxgEIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QiZgoWRGVsZXRlRnJvbVF1ZXVlUmVxdWVzdBIUCgxzdWJzcGFjZV90YWcYASABKAkSEAoIc3BhY2VfaWQYAiABKAkSEAoIcXVldWVfaWQYAyABKAkSEgoKb2JqZWN0X2lkcxgEIAMoCSKgAQoQU3luY1F1ZXVlUmVxdWVzdBIUCgxzdWJzcGFjZV90YWcYASABKAkSEAoIc3BhY2VfaWQYAiABKAkSEAoIcXVldWVfaWQYAyABKAkSGAoLc2hvdWxkX3B1c2gYBCABKAhIAIgBARIYCgtzaG91bGRfcHVsbBgFIAEoCEgBiAEBQg4KDF9zaG91bGRfcHVzaEIOCgxfc2hvdWxkX3B1bGwy7AIKDFF1ZXVlU2VydmljZRJdCgpRdWVyeVF1ZXVlEicuZHhvcy5jbGllbnQuc2VydmljZXMuUXVlcnlRdWV1ZVJlcXVlc3QaJi5keG9zLmNsaWVudC5zZXJ2aWNlcy5RdWV1ZVF1ZXJ5UmVzdWx0ElcKD0luc2VydEludG9RdWV1ZRIsLmR4b3MuY2xpZW50LnNlcnZpY2VzLkluc2VydEludG9RdWV1ZVJlcXVlc3QaFi5nb29nbGUucHJvdG9idWYuRW1wdHkSVwoPRGVsZXRlRnJvbVF1ZXVlEiwuZHhvcy5jbGllbnQuc2VydmljZXMuRGVsZXRlRnJvbVF1ZXVlUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eRJLCglTeW5jUXVldWUSJi5keG9zLmNsaWVudC5zZXJ2aWNlcy5TeW5jUXVldWVSZXF1ZXN0GhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5YgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_empty]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @generated from message dxos.client.services.QueueQuery
|
|
@@ -198,6 +198,47 @@ export type DeleteFromQueueRequest = Message<"dxos.client.services.DeleteFromQue
|
|
|
198
198
|
export const DeleteFromQueueRequestSchema: GenMessage<DeleteFromQueueRequest> = /*@__PURE__*/
|
|
199
199
|
messageDesc(file_dxos_client_queue, 4);
|
|
200
200
|
|
|
201
|
+
/**
|
|
202
|
+
* @generated from message dxos.client.services.SyncQueueRequest
|
|
203
|
+
*/
|
|
204
|
+
export type SyncQueueRequest = Message<"dxos.client.services.SyncQueueRequest"> & {
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: string subspace_tag = 1;
|
|
207
|
+
*/
|
|
208
|
+
subspaceTag: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string space_id = 2;
|
|
212
|
+
*/
|
|
213
|
+
spaceId: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string queue_id = 3;
|
|
217
|
+
*/
|
|
218
|
+
queueId: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* / Whether to push local changes to the server. Defaults to true.
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: optional bool should_push = 4;
|
|
224
|
+
*/
|
|
225
|
+
shouldPush?: boolean;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* / Whether to pull remote changes from the server. Defaults to true.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: optional bool should_pull = 5;
|
|
231
|
+
*/
|
|
232
|
+
shouldPull?: boolean;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message dxos.client.services.SyncQueueRequest.
|
|
237
|
+
* Use `create(SyncQueueRequestSchema)` to create a new message.
|
|
238
|
+
*/
|
|
239
|
+
export const SyncQueueRequestSchema: GenMessage<SyncQueueRequest> = /*@__PURE__*/
|
|
240
|
+
messageDesc(file_dxos_client_queue, 5);
|
|
241
|
+
|
|
201
242
|
/**
|
|
202
243
|
* @generated from service dxos.client.services.QueueService
|
|
203
244
|
*/
|
|
@@ -226,6 +267,14 @@ export const QueueService: GenService<{
|
|
|
226
267
|
input: typeof DeleteFromQueueRequestSchema;
|
|
227
268
|
output: typeof EmptySchema;
|
|
228
269
|
},
|
|
270
|
+
/**
|
|
271
|
+
* @generated from rpc dxos.client.services.QueueService.SyncQueue
|
|
272
|
+
*/
|
|
273
|
+
syncQueue: {
|
|
274
|
+
methodKind: "unary";
|
|
275
|
+
input: typeof SyncQueueRequestSchema;
|
|
276
|
+
output: typeof EmptySchema;
|
|
277
|
+
},
|
|
229
278
|
}> = /*@__PURE__*/
|
|
230
279
|
serviceDesc(file_dxos_client_queue, 0);
|
|
231
280
|
|