@dxos/protocols 0.1.56 → 0.1.57-main.281294d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +175 -175
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.js +25 -25
- package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.d.ts +7 -0
- package/dist/cjs/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts +1 -4
- package/dist/cjs/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.js +1 -1
- package/dist/cjs/src/proto/gen/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +175 -175
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.js +24 -24
- package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.d.ts +7 -0
- package/dist/esm/src/proto/gen/dxos/config.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/config.js.map +1 -1
- package/dist/esm/src/proto/gen/dxos/echo/object.d.ts +1 -4
- package/dist/esm/src/proto/gen/dxos/echo/object.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.js +1 -1
- package/dist/esm/src/proto/gen/index.js.map +1 -1
- package/package.json +4 -4
- package/src/proto/dxos/config.proto +3 -0
- package/src/proto/dxos/echo/object.proto +1 -1
- package/src/proto/gen/dxos/client/services.ts +175 -175
- package/src/proto/gen/dxos/config.ts +7 -0
- package/src/proto/gen/dxos/echo/object.ts +1 -4
- package/src/proto/gen/index.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAuDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAye7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAuDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAye7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,6kyFAA6kyF,CAAC,CAAC,CAAC;AACtoyF,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.57-main.281294d",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/codec-protobuf": "0.1.
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.1.57-main.281294d",
|
|
37
|
+
"@dxos/timeframe": "0.1.57-main.281294d",
|
|
38
|
+
"@dxos/keys": "0.1.57-main.281294d"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"glob": "~7.1.6"
|
|
@@ -122,6 +122,9 @@ message Runtime {
|
|
|
122
122
|
/// Location of the remote client host.
|
|
123
123
|
// TODO(burdon): Rename vault_endpoint (generalize http/ws; drop vault.html).
|
|
124
124
|
optional string remote_source = 6;
|
|
125
|
+
|
|
126
|
+
/// Connect to and serve client services to a remote proxy.
|
|
127
|
+
optional string devtools_proxy = 7;
|
|
125
128
|
}
|
|
126
129
|
|
|
127
130
|
message App {
|
|
@@ -72,7 +72,7 @@ message MutationMeta {
|
|
|
72
72
|
optional timeframe.TimeframeVector timeframe = 4;
|
|
73
73
|
|
|
74
74
|
/// If this mutation was created by this client, this field will be set to the tag in the mutation.
|
|
75
|
-
|
|
75
|
+
repeated string client_tag = 5;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
message EchoObjectBatch {
|
|
@@ -53,6 +53,181 @@ import * as dxos_value from "../value";
|
|
|
53
53
|
import * as example_testing_data from "../../example/testing/data";
|
|
54
54
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
55
55
|
import * as google_protobuf from "../../google/protobuf";
|
|
56
|
+
/**
|
|
57
|
+
* Defined in:
|
|
58
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
59
|
+
*/
|
|
60
|
+
export interface Metrics {
|
|
61
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
62
|
+
values?: Metrics.KeyPair[];
|
|
63
|
+
}
|
|
64
|
+
export namespace Metrics {
|
|
65
|
+
/**
|
|
66
|
+
* Defined in:
|
|
67
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
68
|
+
*/
|
|
69
|
+
export interface KeyPair {
|
|
70
|
+
/**
|
|
71
|
+
* Options:
|
|
72
|
+
* - proto3_optional = true
|
|
73
|
+
*/
|
|
74
|
+
key?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Options:
|
|
77
|
+
* - proto3_optional = true
|
|
78
|
+
*/
|
|
79
|
+
value?: dxos_value.Value;
|
|
80
|
+
/**
|
|
81
|
+
* Options:
|
|
82
|
+
* - proto3_optional = true
|
|
83
|
+
*/
|
|
84
|
+
stats?: dxos_value.Stats;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Defined in:
|
|
89
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
90
|
+
*/
|
|
91
|
+
export interface ControlMetricsRequest {
|
|
92
|
+
/**
|
|
93
|
+
* Options:
|
|
94
|
+
* - proto3_optional = true
|
|
95
|
+
*/
|
|
96
|
+
reset?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Options:
|
|
99
|
+
* - proto3_optional = true
|
|
100
|
+
*/
|
|
101
|
+
record?: boolean;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Defined in:
|
|
105
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
106
|
+
*/
|
|
107
|
+
export interface ControlMetricsResponse {
|
|
108
|
+
/**
|
|
109
|
+
* Options:
|
|
110
|
+
* - proto3_optional = true
|
|
111
|
+
*/
|
|
112
|
+
recording?: boolean;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Defined in:
|
|
116
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
117
|
+
*/
|
|
118
|
+
export interface QueryMetricsRequest {
|
|
119
|
+
/**
|
|
120
|
+
* Options:
|
|
121
|
+
* - proto3_optional = true
|
|
122
|
+
*/
|
|
123
|
+
interval?: number;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Defined in:
|
|
127
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
128
|
+
*/
|
|
129
|
+
export interface QueryMetricsResponse {
|
|
130
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
131
|
+
metrics: Metrics;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Defined in:
|
|
135
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
136
|
+
*/
|
|
137
|
+
export enum LogLevel {
|
|
138
|
+
TRACE = 5,
|
|
139
|
+
DEBUG = 10,
|
|
140
|
+
INFO = 11,
|
|
141
|
+
WARN = 12,
|
|
142
|
+
ERROR = 13
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Defined in:
|
|
146
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
147
|
+
*/
|
|
148
|
+
export interface QueryLogsRequest {
|
|
149
|
+
filters?: QueryLogsRequest.Filter[];
|
|
150
|
+
/**
|
|
151
|
+
* Options:
|
|
152
|
+
* - proto3_optional = true
|
|
153
|
+
*/
|
|
154
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
155
|
+
}
|
|
156
|
+
export namespace QueryLogsRequest {
|
|
157
|
+
/**
|
|
158
|
+
* Defined in:
|
|
159
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
160
|
+
*/
|
|
161
|
+
export enum MatchingOptions {
|
|
162
|
+
INCLUSIVE = 1,
|
|
163
|
+
EXPLICIT = 2
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Defined in:
|
|
167
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
168
|
+
*/
|
|
169
|
+
export interface Filter {
|
|
170
|
+
level: LogLevel;
|
|
171
|
+
/**
|
|
172
|
+
* Options:
|
|
173
|
+
* - proto3_optional = true
|
|
174
|
+
*/
|
|
175
|
+
pattern?: string;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Defined in:
|
|
180
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
181
|
+
*/
|
|
182
|
+
export interface LogEntry {
|
|
183
|
+
level: LogLevel;
|
|
184
|
+
message: string;
|
|
185
|
+
/**
|
|
186
|
+
* Options:
|
|
187
|
+
* - proto3_optional = true
|
|
188
|
+
*/
|
|
189
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
190
|
+
/**
|
|
191
|
+
* Options:
|
|
192
|
+
* - proto3_optional = true
|
|
193
|
+
*/
|
|
194
|
+
meta?: LogEntry.Meta;
|
|
195
|
+
/**
|
|
196
|
+
* Options:
|
|
197
|
+
* - proto3_optional = true
|
|
198
|
+
*/
|
|
199
|
+
error?: dxos_error.Error;
|
|
200
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
201
|
+
}
|
|
202
|
+
export namespace LogEntry {
|
|
203
|
+
/**
|
|
204
|
+
* Defined in:
|
|
205
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
206
|
+
*/
|
|
207
|
+
export interface Meta {
|
|
208
|
+
file: string;
|
|
209
|
+
line: number;
|
|
210
|
+
/**
|
|
211
|
+
* Options:
|
|
212
|
+
* - proto3_optional = true
|
|
213
|
+
*/
|
|
214
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
215
|
+
/**
|
|
216
|
+
* Options:
|
|
217
|
+
* - proto3_optional = true
|
|
218
|
+
*/
|
|
219
|
+
resourceId?: number;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Defined in:
|
|
224
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
225
|
+
*/
|
|
226
|
+
export interface LoggingService {
|
|
227
|
+
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
228
|
+
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
229
|
+
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
230
|
+
}
|
|
56
231
|
/**
|
|
57
232
|
* Defined in:
|
|
58
233
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -741,178 +916,3 @@ export interface NetworkService {
|
|
|
741
916
|
updateConfig: (request: UpdateConfigRequest) => Promise<void>;
|
|
742
917
|
queryStatus: (request: void) => Stream<NetworkStatus>;
|
|
743
918
|
}
|
|
744
|
-
/**
|
|
745
|
-
* Defined in:
|
|
746
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
747
|
-
*/
|
|
748
|
-
export interface Metrics {
|
|
749
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
750
|
-
values?: Metrics.KeyPair[];
|
|
751
|
-
}
|
|
752
|
-
export namespace Metrics {
|
|
753
|
-
/**
|
|
754
|
-
* Defined in:
|
|
755
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
756
|
-
*/
|
|
757
|
-
export interface KeyPair {
|
|
758
|
-
/**
|
|
759
|
-
* Options:
|
|
760
|
-
* - proto3_optional = true
|
|
761
|
-
*/
|
|
762
|
-
key?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Options:
|
|
765
|
-
* - proto3_optional = true
|
|
766
|
-
*/
|
|
767
|
-
value?: dxos_value.Value;
|
|
768
|
-
/**
|
|
769
|
-
* Options:
|
|
770
|
-
* - proto3_optional = true
|
|
771
|
-
*/
|
|
772
|
-
stats?: dxos_value.Stats;
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
/**
|
|
776
|
-
* Defined in:
|
|
777
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
778
|
-
*/
|
|
779
|
-
export interface ControlMetricsRequest {
|
|
780
|
-
/**
|
|
781
|
-
* Options:
|
|
782
|
-
* - proto3_optional = true
|
|
783
|
-
*/
|
|
784
|
-
reset?: boolean;
|
|
785
|
-
/**
|
|
786
|
-
* Options:
|
|
787
|
-
* - proto3_optional = true
|
|
788
|
-
*/
|
|
789
|
-
record?: boolean;
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Defined in:
|
|
793
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
794
|
-
*/
|
|
795
|
-
export interface ControlMetricsResponse {
|
|
796
|
-
/**
|
|
797
|
-
* Options:
|
|
798
|
-
* - proto3_optional = true
|
|
799
|
-
*/
|
|
800
|
-
recording?: boolean;
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* Defined in:
|
|
804
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
805
|
-
*/
|
|
806
|
-
export interface QueryMetricsRequest {
|
|
807
|
-
/**
|
|
808
|
-
* Options:
|
|
809
|
-
* - proto3_optional = true
|
|
810
|
-
*/
|
|
811
|
-
interval?: number;
|
|
812
|
-
}
|
|
813
|
-
/**
|
|
814
|
-
* Defined in:
|
|
815
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
816
|
-
*/
|
|
817
|
-
export interface QueryMetricsResponse {
|
|
818
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
819
|
-
metrics: Metrics;
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* Defined in:
|
|
823
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
824
|
-
*/
|
|
825
|
-
export enum LogLevel {
|
|
826
|
-
TRACE = 5,
|
|
827
|
-
DEBUG = 10,
|
|
828
|
-
INFO = 11,
|
|
829
|
-
WARN = 12,
|
|
830
|
-
ERROR = 13
|
|
831
|
-
}
|
|
832
|
-
/**
|
|
833
|
-
* Defined in:
|
|
834
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
835
|
-
*/
|
|
836
|
-
export interface QueryLogsRequest {
|
|
837
|
-
filters?: QueryLogsRequest.Filter[];
|
|
838
|
-
/**
|
|
839
|
-
* Options:
|
|
840
|
-
* - proto3_optional = true
|
|
841
|
-
*/
|
|
842
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
843
|
-
}
|
|
844
|
-
export namespace QueryLogsRequest {
|
|
845
|
-
/**
|
|
846
|
-
* Defined in:
|
|
847
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
848
|
-
*/
|
|
849
|
-
export enum MatchingOptions {
|
|
850
|
-
INCLUSIVE = 1,
|
|
851
|
-
EXPLICIT = 2
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* Defined in:
|
|
855
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
856
|
-
*/
|
|
857
|
-
export interface Filter {
|
|
858
|
-
level: LogLevel;
|
|
859
|
-
/**
|
|
860
|
-
* Options:
|
|
861
|
-
* - proto3_optional = true
|
|
862
|
-
*/
|
|
863
|
-
pattern?: string;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* Defined in:
|
|
868
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
869
|
-
*/
|
|
870
|
-
export interface LogEntry {
|
|
871
|
-
level: LogLevel;
|
|
872
|
-
message: string;
|
|
873
|
-
/**
|
|
874
|
-
* Options:
|
|
875
|
-
* - proto3_optional = true
|
|
876
|
-
*/
|
|
877
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
878
|
-
/**
|
|
879
|
-
* Options:
|
|
880
|
-
* - proto3_optional = true
|
|
881
|
-
*/
|
|
882
|
-
meta?: LogEntry.Meta;
|
|
883
|
-
/**
|
|
884
|
-
* Options:
|
|
885
|
-
* - proto3_optional = true
|
|
886
|
-
*/
|
|
887
|
-
error?: dxos_error.Error;
|
|
888
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
889
|
-
}
|
|
890
|
-
export namespace LogEntry {
|
|
891
|
-
/**
|
|
892
|
-
* Defined in:
|
|
893
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
894
|
-
*/
|
|
895
|
-
export interface Meta {
|
|
896
|
-
file: string;
|
|
897
|
-
line: number;
|
|
898
|
-
/**
|
|
899
|
-
* Options:
|
|
900
|
-
* - proto3_optional = true
|
|
901
|
-
*/
|
|
902
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
903
|
-
/**
|
|
904
|
-
* Options:
|
|
905
|
-
* - proto3_optional = true
|
|
906
|
-
*/
|
|
907
|
-
resourceId?: number;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
/**
|
|
911
|
-
* Defined in:
|
|
912
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
913
|
-
*/
|
|
914
|
-
export interface LoggingService {
|
|
915
|
-
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
916
|
-
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
917
|
-
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
918
|
-
}
|
|
@@ -284,6 +284,13 @@ export namespace Runtime {
|
|
|
284
284
|
* - proto3_optional = true
|
|
285
285
|
*/
|
|
286
286
|
remoteSource?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Connect to and serve client services to a remote proxy.
|
|
289
|
+
*
|
|
290
|
+
* Options:
|
|
291
|
+
* - proto3_optional = true
|
|
292
|
+
*/
|
|
293
|
+
devtoolsProxy?: string;
|
|
287
294
|
}
|
|
288
295
|
export namespace Client {
|
|
289
296
|
/**
|
|
@@ -190,11 +190,8 @@ export interface MutationMeta {
|
|
|
190
190
|
timeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
191
191
|
/**
|
|
192
192
|
* If this mutation was created by this client, this field will be set to the tag in the mutation.
|
|
193
|
-
*
|
|
194
|
-
* Options:
|
|
195
|
-
* - proto3_optional = true
|
|
196
193
|
*/
|
|
197
|
-
clientTag?: string;
|
|
194
|
+
clientTag?: string[];
|
|
198
195
|
}
|
|
199
196
|
/**
|
|
200
197
|
* Defined in:
|