@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
|
@@ -65,6 +65,10 @@ import * as dxos_type from "../dxos/type.js";
|
|
|
65
65
|
import * as dxos_value from "../dxos/value.js";
|
|
66
66
|
import * as example_testing_data from "../example/testing/data.js";
|
|
67
67
|
import * as example_testing_rpc from "../example/testing/rpc.js";
|
|
68
|
+
export interface Any {
|
|
69
|
+
type_url: string;
|
|
70
|
+
value: Uint8Array;
|
|
71
|
+
}
|
|
68
72
|
export interface Empty {
|
|
69
73
|
}
|
|
70
74
|
export interface Struct {
|
|
@@ -88,27 +92,57 @@ export interface Timestamp {
|
|
|
88
92
|
seconds: string;
|
|
89
93
|
nanos: number;
|
|
90
94
|
}
|
|
91
|
-
export interface
|
|
92
|
-
|
|
95
|
+
export interface DoubleValue {
|
|
96
|
+
value: number;
|
|
97
|
+
}
|
|
98
|
+
export interface FloatValue {
|
|
99
|
+
value: number;
|
|
100
|
+
}
|
|
101
|
+
export interface Int64Value {
|
|
102
|
+
value: string;
|
|
103
|
+
}
|
|
104
|
+
export interface UInt64Value {
|
|
105
|
+
value: string;
|
|
106
|
+
}
|
|
107
|
+
export interface Int32Value {
|
|
108
|
+
value: number;
|
|
109
|
+
}
|
|
110
|
+
export interface UInt32Value {
|
|
111
|
+
value: number;
|
|
112
|
+
}
|
|
113
|
+
export interface BoolValue {
|
|
114
|
+
value: boolean;
|
|
115
|
+
}
|
|
116
|
+
export interface StringValue {
|
|
117
|
+
value: string;
|
|
118
|
+
}
|
|
119
|
+
export interface BytesValue {
|
|
93
120
|
value: Uint8Array;
|
|
94
121
|
}
|
|
95
122
|
export interface FileDescriptorSet {
|
|
96
123
|
file?: FileDescriptorProto[];
|
|
97
124
|
}
|
|
125
|
+
export enum Edition {
|
|
126
|
+
EDITION_UNKNOWN = 0,
|
|
127
|
+
EDITION_LEGACY = 900,
|
|
128
|
+
EDITION_PROTO2 = 998,
|
|
129
|
+
EDITION_PROTO3 = 999,
|
|
130
|
+
EDITION_2023 = 1000,
|
|
131
|
+
EDITION_2024 = 1001,
|
|
132
|
+
EDITION_1_TEST_ONLY = 1,
|
|
133
|
+
EDITION_2_TEST_ONLY = 2,
|
|
134
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
135
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
136
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
137
|
+
EDITION_MAX = 2147483647
|
|
138
|
+
}
|
|
98
139
|
export interface FileDescriptorProto {
|
|
99
140
|
name: string;
|
|
100
141
|
package: string;
|
|
101
142
|
dependency?: string[];
|
|
102
|
-
/**
|
|
103
|
-
* Options:
|
|
104
|
-
* - packed = false
|
|
105
|
-
*/
|
|
106
143
|
publicDependency?: number[];
|
|
107
|
-
/**
|
|
108
|
-
* Options:
|
|
109
|
-
* - packed = false
|
|
110
|
-
*/
|
|
111
144
|
weakDependency?: number[];
|
|
145
|
+
optionDependency?: string[];
|
|
112
146
|
messageType?: DescriptorProto[];
|
|
113
147
|
enumType?: EnumDescriptorProto[];
|
|
114
148
|
service?: ServiceDescriptorProto[];
|
|
@@ -116,6 +150,7 @@ export interface FileDescriptorProto {
|
|
|
116
150
|
options: FileOptions;
|
|
117
151
|
sourceCodeInfo: SourceCodeInfo;
|
|
118
152
|
syntax: string;
|
|
153
|
+
edition: Edition;
|
|
119
154
|
}
|
|
120
155
|
export interface DescriptorProto {
|
|
121
156
|
name: string;
|
|
@@ -128,17 +163,47 @@ export interface DescriptorProto {
|
|
|
128
163
|
options: MessageOptions;
|
|
129
164
|
reservedRange?: DescriptorProto.ReservedRange[];
|
|
130
165
|
reservedName?: string[];
|
|
166
|
+
visibility: SymbolVisibility;
|
|
131
167
|
}
|
|
132
168
|
export namespace DescriptorProto {
|
|
133
169
|
export interface ExtensionRange {
|
|
134
170
|
start: number;
|
|
135
171
|
end: number;
|
|
172
|
+
options: ExtensionRangeOptions;
|
|
136
173
|
}
|
|
137
174
|
export interface ReservedRange {
|
|
138
175
|
start: number;
|
|
139
176
|
end: number;
|
|
140
177
|
}
|
|
141
178
|
}
|
|
179
|
+
export interface ExtensionRangeOptions {
|
|
180
|
+
uninterpretedOption?: UninterpretedOption[];
|
|
181
|
+
/**
|
|
182
|
+
* Options:
|
|
183
|
+
* - retention = "RETENTION_SOURCE"
|
|
184
|
+
*/
|
|
185
|
+
declaration?: ExtensionRangeOptions.Declaration[];
|
|
186
|
+
features: FeatureSet;
|
|
187
|
+
/**
|
|
188
|
+
* Options:
|
|
189
|
+
* - default = "UNVERIFIED"
|
|
190
|
+
* - retention = "RETENTION_SOURCE"
|
|
191
|
+
*/
|
|
192
|
+
verification: ExtensionRangeOptions.VerificationState;
|
|
193
|
+
}
|
|
194
|
+
export namespace ExtensionRangeOptions {
|
|
195
|
+
export interface Declaration {
|
|
196
|
+
number: number;
|
|
197
|
+
fullName: string;
|
|
198
|
+
type: string;
|
|
199
|
+
reserved: boolean;
|
|
200
|
+
repeated: boolean;
|
|
201
|
+
}
|
|
202
|
+
export enum VerificationState {
|
|
203
|
+
DECLARATION = 0,
|
|
204
|
+
UNVERIFIED = 1
|
|
205
|
+
}
|
|
206
|
+
}
|
|
142
207
|
export interface FieldDescriptorProto {
|
|
143
208
|
name: string;
|
|
144
209
|
number: number;
|
|
@@ -150,6 +215,7 @@ export interface FieldDescriptorProto {
|
|
|
150
215
|
oneofIndex: number;
|
|
151
216
|
jsonName: string;
|
|
152
217
|
options: FieldOptions;
|
|
218
|
+
proto3Optional: boolean;
|
|
153
219
|
}
|
|
154
220
|
export namespace FieldDescriptorProto {
|
|
155
221
|
export enum Type {
|
|
@@ -174,8 +240,8 @@ export namespace FieldDescriptorProto {
|
|
|
174
240
|
}
|
|
175
241
|
export enum Label {
|
|
176
242
|
LABEL_OPTIONAL = 1,
|
|
177
|
-
|
|
178
|
-
|
|
243
|
+
LABEL_REPEATED = 3,
|
|
244
|
+
LABEL_REQUIRED = 2
|
|
179
245
|
}
|
|
180
246
|
}
|
|
181
247
|
export interface OneofDescriptorProto {
|
|
@@ -186,6 +252,15 @@ export interface EnumDescriptorProto {
|
|
|
186
252
|
name: string;
|
|
187
253
|
value?: EnumValueDescriptorProto[];
|
|
188
254
|
options: EnumOptions;
|
|
255
|
+
reservedRange?: EnumDescriptorProto.EnumReservedRange[];
|
|
256
|
+
reservedName?: string[];
|
|
257
|
+
visibility: SymbolVisibility;
|
|
258
|
+
}
|
|
259
|
+
export namespace EnumDescriptorProto {
|
|
260
|
+
export interface EnumReservedRange {
|
|
261
|
+
start: number;
|
|
262
|
+
end: number;
|
|
263
|
+
}
|
|
189
264
|
}
|
|
190
265
|
export interface EnumValueDescriptorProto {
|
|
191
266
|
name: string;
|
|
@@ -225,9 +300,19 @@ export interface FileOptions {
|
|
|
225
300
|
javaGenericServices: boolean;
|
|
226
301
|
pyGenericServices: boolean;
|
|
227
302
|
deprecated: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Options:
|
|
305
|
+
* - default = true
|
|
306
|
+
*/
|
|
228
307
|
ccEnableArenas: boolean;
|
|
229
308
|
objcClassPrefix: string;
|
|
230
309
|
csharpNamespace: string;
|
|
310
|
+
swiftPrefix: string;
|
|
311
|
+
phpClassPrefix: string;
|
|
312
|
+
phpNamespace: string;
|
|
313
|
+
phpMetadataNamespace: string;
|
|
314
|
+
rubyPackage: string;
|
|
315
|
+
features: FeatureSet;
|
|
231
316
|
uninterpretedOption?: UninterpretedOption[];
|
|
232
317
|
}
|
|
233
318
|
export namespace FileOptions {
|
|
@@ -242,6 +327,12 @@ export interface MessageOptions {
|
|
|
242
327
|
noStandardDescriptorAccessor: boolean;
|
|
243
328
|
deprecated: boolean;
|
|
244
329
|
mapEntry: boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Options:
|
|
332
|
+
* - deprecated = true
|
|
333
|
+
*/
|
|
334
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
335
|
+
features: FeatureSet;
|
|
245
336
|
uninterpretedOption?: UninterpretedOption[];
|
|
246
337
|
}
|
|
247
338
|
export interface FieldOptions {
|
|
@@ -257,19 +348,30 @@ export interface FieldOptions {
|
|
|
257
348
|
*/
|
|
258
349
|
jstype: FieldOptions.JSType;
|
|
259
350
|
lazy: boolean;
|
|
351
|
+
unverifiedLazy: boolean;
|
|
260
352
|
deprecated: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* Options:
|
|
355
|
+
* - deprecated = true
|
|
356
|
+
*/
|
|
261
357
|
weak: boolean;
|
|
358
|
+
debugRedact: boolean;
|
|
359
|
+
retention: FieldOptions.OptionRetention;
|
|
360
|
+
targets?: FieldOptions.OptionTargetType[];
|
|
361
|
+
editionDefaults?: FieldOptions.EditionDefault[];
|
|
362
|
+
features: FeatureSet;
|
|
363
|
+
featureSupport: FieldOptions.FeatureSupport;
|
|
262
364
|
uninterpretedOption?: UninterpretedOption[];
|
|
263
365
|
/**
|
|
264
366
|
* Options:
|
|
265
367
|
* - proto3_optional = true
|
|
266
368
|
*/
|
|
267
|
-
".
|
|
369
|
+
".preserveAny"?: boolean;
|
|
268
370
|
/**
|
|
269
371
|
* Options:
|
|
270
372
|
* - proto3_optional = true
|
|
271
373
|
*/
|
|
272
|
-
".
|
|
374
|
+
".dxos.config.envVar"?: string;
|
|
273
375
|
}
|
|
274
376
|
export namespace FieldOptions {
|
|
275
377
|
export enum CType {
|
|
@@ -282,27 +384,78 @@ export namespace FieldOptions {
|
|
|
282
384
|
JS_STRING = 1,
|
|
283
385
|
JS_NUMBER = 2
|
|
284
386
|
}
|
|
387
|
+
export enum OptionRetention {
|
|
388
|
+
RETENTION_UNKNOWN = 0,
|
|
389
|
+
RETENTION_RUNTIME = 1,
|
|
390
|
+
RETENTION_SOURCE = 2
|
|
391
|
+
}
|
|
392
|
+
export enum OptionTargetType {
|
|
393
|
+
TARGET_TYPE_UNKNOWN = 0,
|
|
394
|
+
TARGET_TYPE_FILE = 1,
|
|
395
|
+
TARGET_TYPE_EXTENSION_RANGE = 2,
|
|
396
|
+
TARGET_TYPE_MESSAGE = 3,
|
|
397
|
+
TARGET_TYPE_FIELD = 4,
|
|
398
|
+
TARGET_TYPE_ONEOF = 5,
|
|
399
|
+
TARGET_TYPE_ENUM = 6,
|
|
400
|
+
TARGET_TYPE_ENUM_ENTRY = 7,
|
|
401
|
+
TARGET_TYPE_SERVICE = 8,
|
|
402
|
+
TARGET_TYPE_METHOD = 9
|
|
403
|
+
}
|
|
404
|
+
export interface EditionDefault {
|
|
405
|
+
edition: Edition;
|
|
406
|
+
value: string;
|
|
407
|
+
}
|
|
408
|
+
export interface FeatureSupport {
|
|
409
|
+
editionIntroduced: Edition;
|
|
410
|
+
editionDeprecated: Edition;
|
|
411
|
+
deprecationWarning: string;
|
|
412
|
+
editionRemoved: Edition;
|
|
413
|
+
}
|
|
285
414
|
}
|
|
286
415
|
export interface OneofOptions {
|
|
416
|
+
features: FeatureSet;
|
|
287
417
|
uninterpretedOption?: UninterpretedOption[];
|
|
288
418
|
}
|
|
289
419
|
export interface EnumOptions {
|
|
290
420
|
allowAlias: boolean;
|
|
291
421
|
deprecated: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Options:
|
|
424
|
+
* - deprecated = true
|
|
425
|
+
*/
|
|
426
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
427
|
+
features: FeatureSet;
|
|
292
428
|
uninterpretedOption?: UninterpretedOption[];
|
|
293
429
|
}
|
|
294
430
|
export interface EnumValueOptions {
|
|
295
431
|
deprecated: boolean;
|
|
432
|
+
features: FeatureSet;
|
|
433
|
+
debugRedact: boolean;
|
|
434
|
+
featureSupport: FieldOptions.FeatureSupport;
|
|
296
435
|
uninterpretedOption?: UninterpretedOption[];
|
|
297
436
|
}
|
|
298
437
|
export interface ServiceOptions {
|
|
438
|
+
features: FeatureSet;
|
|
299
439
|
deprecated: boolean;
|
|
300
440
|
uninterpretedOption?: UninterpretedOption[];
|
|
301
441
|
}
|
|
302
442
|
export interface MethodOptions {
|
|
303
443
|
deprecated: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Options:
|
|
446
|
+
* - default = "IDEMPOTENCY_UNKNOWN"
|
|
447
|
+
*/
|
|
448
|
+
idempotencyLevel: MethodOptions.IdempotencyLevel;
|
|
449
|
+
features: FeatureSet;
|
|
304
450
|
uninterpretedOption?: UninterpretedOption[];
|
|
305
451
|
}
|
|
452
|
+
export namespace MethodOptions {
|
|
453
|
+
export enum IdempotencyLevel {
|
|
454
|
+
IDEMPOTENCY_UNKNOWN = 0,
|
|
455
|
+
NO_SIDE_EFFECTS = 1,
|
|
456
|
+
IDEMPOTENT = 2
|
|
457
|
+
}
|
|
458
|
+
}
|
|
306
459
|
export interface UninterpretedOption {
|
|
307
460
|
name?: UninterpretedOption.NamePart[];
|
|
308
461
|
identifierValue: string;
|
|
@@ -318,12 +471,155 @@ export namespace UninterpretedOption {
|
|
|
318
471
|
isExtension: boolean;
|
|
319
472
|
}
|
|
320
473
|
}
|
|
474
|
+
export interface FeatureSet {
|
|
475
|
+
/**
|
|
476
|
+
* Options:
|
|
477
|
+
* - retention = "RETENTION_RUNTIME"
|
|
478
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
479
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
480
|
+
* - edition_defaults.edition = "EDITION_2023"
|
|
481
|
+
* - edition_defaults.value = "EXPLICIT"
|
|
482
|
+
*/
|
|
483
|
+
fieldPresence: FeatureSet.FieldPresence;
|
|
484
|
+
/**
|
|
485
|
+
* Options:
|
|
486
|
+
* - retention = "RETENTION_RUNTIME"
|
|
487
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
488
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
489
|
+
* - edition_defaults.edition = "EDITION_PROTO3"
|
|
490
|
+
* - edition_defaults.value = "OPEN"
|
|
491
|
+
*/
|
|
492
|
+
enumType: FeatureSet.EnumType;
|
|
493
|
+
/**
|
|
494
|
+
* Options:
|
|
495
|
+
* - retention = "RETENTION_RUNTIME"
|
|
496
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
497
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
498
|
+
* - edition_defaults.edition = "EDITION_PROTO3"
|
|
499
|
+
* - edition_defaults.value = "PACKED"
|
|
500
|
+
*/
|
|
501
|
+
repeatedFieldEncoding: FeatureSet.RepeatedFieldEncoding;
|
|
502
|
+
/**
|
|
503
|
+
* Options:
|
|
504
|
+
* - retention = "RETENTION_RUNTIME"
|
|
505
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
506
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
507
|
+
* - edition_defaults.edition = "EDITION_PROTO3"
|
|
508
|
+
* - edition_defaults.value = "VERIFY"
|
|
509
|
+
*/
|
|
510
|
+
utf8Validation: FeatureSet.Utf8Validation;
|
|
511
|
+
/**
|
|
512
|
+
* Options:
|
|
513
|
+
* - retention = "RETENTION_RUNTIME"
|
|
514
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
515
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
516
|
+
* - edition_defaults.edition = "EDITION_LEGACY"
|
|
517
|
+
* - edition_defaults.value = "LENGTH_PREFIXED"
|
|
518
|
+
*/
|
|
519
|
+
messageEncoding: FeatureSet.MessageEncoding;
|
|
520
|
+
/**
|
|
521
|
+
* Options:
|
|
522
|
+
* - retention = "RETENTION_RUNTIME"
|
|
523
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
524
|
+
* - feature_support.edition_introduced = "EDITION_2023"
|
|
525
|
+
* - edition_defaults.edition = "EDITION_PROTO3"
|
|
526
|
+
* - edition_defaults.value = "ALLOW"
|
|
527
|
+
*/
|
|
528
|
+
jsonFormat: FeatureSet.JsonFormat;
|
|
529
|
+
/**
|
|
530
|
+
* Options:
|
|
531
|
+
* - retention = "RETENTION_SOURCE"
|
|
532
|
+
* - targets = "TARGET_TYPE_METHOD"
|
|
533
|
+
* - feature_support.edition_introduced = "EDITION_2024"
|
|
534
|
+
* - edition_defaults.edition = "EDITION_2024"
|
|
535
|
+
* - edition_defaults.value = "STYLE2024"
|
|
536
|
+
*/
|
|
537
|
+
enforceNamingStyle: FeatureSet.EnforceNamingStyle;
|
|
538
|
+
/**
|
|
539
|
+
* Options:
|
|
540
|
+
* - retention = "RETENTION_SOURCE"
|
|
541
|
+
* - targets = "TARGET_TYPE_FILE"
|
|
542
|
+
* - feature_support.edition_introduced = "EDITION_2024"
|
|
543
|
+
* - edition_defaults.edition = "EDITION_2024"
|
|
544
|
+
* - edition_defaults.value = "EXPORT_TOP_LEVEL"
|
|
545
|
+
*/
|
|
546
|
+
defaultSymbolVisibility: FeatureSet.VisibilityFeature.DefaultSymbolVisibility;
|
|
547
|
+
}
|
|
548
|
+
export namespace FeatureSet {
|
|
549
|
+
export enum FieldPresence {
|
|
550
|
+
FIELD_PRESENCE_UNKNOWN = 0,
|
|
551
|
+
EXPLICIT = 1,
|
|
552
|
+
IMPLICIT = 2,
|
|
553
|
+
LEGACY_REQUIRED = 3
|
|
554
|
+
}
|
|
555
|
+
export enum EnumType {
|
|
556
|
+
ENUM_TYPE_UNKNOWN = 0,
|
|
557
|
+
OPEN = 1,
|
|
558
|
+
CLOSED = 2
|
|
559
|
+
}
|
|
560
|
+
export enum RepeatedFieldEncoding {
|
|
561
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
562
|
+
PACKED = 1,
|
|
563
|
+
EXPANDED = 2
|
|
564
|
+
}
|
|
565
|
+
export enum Utf8Validation {
|
|
566
|
+
UTF8_VALIDATION_UNKNOWN = 0,
|
|
567
|
+
VERIFY = 2,
|
|
568
|
+
NONE = 3
|
|
569
|
+
}
|
|
570
|
+
export enum MessageEncoding {
|
|
571
|
+
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
572
|
+
LENGTH_PREFIXED = 1,
|
|
573
|
+
DELIMITED = 2
|
|
574
|
+
}
|
|
575
|
+
export enum JsonFormat {
|
|
576
|
+
JSON_FORMAT_UNKNOWN = 0,
|
|
577
|
+
ALLOW = 1,
|
|
578
|
+
LEGACY_BEST_EFFORT = 2
|
|
579
|
+
}
|
|
580
|
+
export enum EnforceNamingStyle {
|
|
581
|
+
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
582
|
+
STYLE2024 = 1,
|
|
583
|
+
STYLE_LEGACY = 2
|
|
584
|
+
}
|
|
585
|
+
export interface VisibilityFeature {
|
|
586
|
+
}
|
|
587
|
+
export namespace VisibilityFeature {
|
|
588
|
+
export enum DefaultSymbolVisibility {
|
|
589
|
+
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
590
|
+
EXPORT_ALL = 1,
|
|
591
|
+
EXPORT_TOP_LEVEL = 2,
|
|
592
|
+
LOCAL_ALL = 3,
|
|
593
|
+
STRICT = 4
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
export interface FeatureSetDefaults {
|
|
598
|
+
defaults?: FeatureSetDefaults.FeatureSetEditionDefault[];
|
|
599
|
+
minimumEdition: Edition;
|
|
600
|
+
maximumEdition: Edition;
|
|
601
|
+
}
|
|
602
|
+
export namespace FeatureSetDefaults {
|
|
603
|
+
export interface FeatureSetEditionDefault {
|
|
604
|
+
edition: Edition;
|
|
605
|
+
overridableFeatures: FeatureSet;
|
|
606
|
+
fixedFeatures: FeatureSet;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
321
609
|
export interface SourceCodeInfo {
|
|
322
610
|
location?: SourceCodeInfo.Location[];
|
|
323
611
|
}
|
|
324
612
|
export namespace SourceCodeInfo {
|
|
325
613
|
export interface Location {
|
|
614
|
+
/**
|
|
615
|
+
* Options:
|
|
616
|
+
* - packed = true
|
|
617
|
+
*/
|
|
326
618
|
path?: number[];
|
|
619
|
+
/**
|
|
620
|
+
* Options:
|
|
621
|
+
* - packed = true
|
|
622
|
+
*/
|
|
327
623
|
span?: number[];
|
|
328
624
|
leadingComments: string;
|
|
329
625
|
trailingComments: string;
|
|
@@ -335,36 +631,26 @@ export interface GeneratedCodeInfo {
|
|
|
335
631
|
}
|
|
336
632
|
export namespace GeneratedCodeInfo {
|
|
337
633
|
export interface Annotation {
|
|
634
|
+
/**
|
|
635
|
+
* Options:
|
|
636
|
+
* - packed = true
|
|
637
|
+
*/
|
|
338
638
|
path?: number[];
|
|
339
639
|
sourceFile: string;
|
|
340
640
|
begin: number;
|
|
341
641
|
end: number;
|
|
642
|
+
semantic: GeneratedCodeInfo.Annotation.Semantic;
|
|
643
|
+
}
|
|
644
|
+
export namespace Annotation {
|
|
645
|
+
export enum Semantic {
|
|
646
|
+
NONE = 0,
|
|
647
|
+
SET = 1,
|
|
648
|
+
ALIAS = 2
|
|
649
|
+
}
|
|
342
650
|
}
|
|
343
651
|
}
|
|
344
|
-
export
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
value: number;
|
|
349
|
-
}
|
|
350
|
-
export interface Int64Value {
|
|
351
|
-
value: string;
|
|
352
|
-
}
|
|
353
|
-
export interface UInt64Value {
|
|
354
|
-
value: string;
|
|
355
|
-
}
|
|
356
|
-
export interface Int32Value {
|
|
357
|
-
value: number;
|
|
358
|
-
}
|
|
359
|
-
export interface UInt32Value {
|
|
360
|
-
value: number;
|
|
361
|
-
}
|
|
362
|
-
export interface BoolValue {
|
|
363
|
-
value: boolean;
|
|
364
|
-
}
|
|
365
|
-
export interface StringValue {
|
|
366
|
-
value: string;
|
|
367
|
-
}
|
|
368
|
-
export interface BytesValue {
|
|
369
|
-
value: Uint8Array;
|
|
652
|
+
export enum SymbolVisibility {
|
|
653
|
+
VISIBILITY_UNSET = 0,
|
|
654
|
+
VISIBILITY_LOCAL = 1,
|
|
655
|
+
VISIBILITY_EXPORT = 2
|
|
370
656
|
}
|