@dxos/protocols 0.3.11-main.4feb9c9 → 0.3.11-main.508f304
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 +192 -176
- 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/devtools/host.d.ts +31 -31
- package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts +7 -0
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +1 -0
- 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 +192 -176
- 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/devtools/host.d.ts +31 -31
- package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts +7 -0
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/iframe.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +1 -0
- 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 +5 -5
- package/src/proto/dxos/client/services.proto +6 -1
- package/src/proto/dxos/iframe.proto +6 -1
- package/src/proto/gen/dxos/client/services.ts +192 -176
- package/src/proto/gen/dxos/devtools/host.ts +31 -31
- package/src/proto/gen/dxos/iframe.ts +7 -0
- package/src/proto/gen/index.ts +2 -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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAkhB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,ilkGAAilkG,CAAC,CAAC,CAAC;AAC1okG,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.3.11-main.
|
|
3
|
+
"version": "0.3.11-main.508f304",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dxos/codec-protobuf": "0.3.11-main.
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/invariant": "0.3.11-main.
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.3.11-main.508f304",
|
|
37
|
+
"@dxos/keys": "0.3.11-main.508f304",
|
|
38
|
+
"@dxos/invariant": "0.3.11-main.508f304",
|
|
39
|
+
"@dxos/timeframe": "0.3.11-main.508f304"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -107,9 +107,14 @@ message SignPresentationRequest {
|
|
|
107
107
|
optional bytes nonce = 2;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
message CreateIdentityRequest {
|
|
111
|
+
optional halo.credentials.ProfileDocument profile = 1;
|
|
112
|
+
optional bool use_automerge = 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
110
115
|
// TODO(wittjosiah): Align pluralization with other services.
|
|
111
116
|
service IdentityService {
|
|
112
|
-
rpc CreateIdentity(
|
|
117
|
+
rpc CreateIdentity(CreateIdentityRequest) returns (Identity);
|
|
113
118
|
rpc RecoverIdentity(RecoverIdentityRequest) returns (Identity);
|
|
114
119
|
rpc QueryIdentity(google.protobuf.Empty) returns (stream QueryIdentityResponse);
|
|
115
120
|
rpc UpdateProfile(halo.credentials.ProfileDocument) returns (Identity);
|
|
@@ -34,9 +34,14 @@ message AppContextRequest {
|
|
|
34
34
|
|
|
35
35
|
/// The key of the joined space.
|
|
36
36
|
optional dxos.keys.PublicKey space_key = 2;
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
/// Target to redirect to after a successful invitation.
|
|
39
39
|
optional string target = 3;
|
|
40
|
+
|
|
41
|
+
/// Reload the app.
|
|
42
|
+
/// Shell cannot reload the app from within an iframe.
|
|
43
|
+
/// Used after sign out/identity reset.
|
|
44
|
+
optional bool reload = 4;
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
/// App RPCs for the shell.
|
|
@@ -59,6 +59,181 @@ import * as dxos_value from "../value";
|
|
|
59
59
|
import * as example_testing_data from "../../example/testing/data";
|
|
60
60
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
61
61
|
import * as google_protobuf from "../../google/protobuf";
|
|
62
|
+
/**
|
|
63
|
+
* Defined in:
|
|
64
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
65
|
+
*/
|
|
66
|
+
export interface Metrics {
|
|
67
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
68
|
+
values?: Metrics.KeyPair[];
|
|
69
|
+
}
|
|
70
|
+
export namespace Metrics {
|
|
71
|
+
/**
|
|
72
|
+
* Defined in:
|
|
73
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
74
|
+
*/
|
|
75
|
+
export interface KeyPair {
|
|
76
|
+
/**
|
|
77
|
+
* Options:
|
|
78
|
+
* - proto3_optional = true
|
|
79
|
+
*/
|
|
80
|
+
key?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Options:
|
|
83
|
+
* - proto3_optional = true
|
|
84
|
+
*/
|
|
85
|
+
value?: dxos_value.Value;
|
|
86
|
+
/**
|
|
87
|
+
* Options:
|
|
88
|
+
* - proto3_optional = true
|
|
89
|
+
*/
|
|
90
|
+
stats?: dxos_value.Stats;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Defined in:
|
|
95
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
96
|
+
*/
|
|
97
|
+
export interface ControlMetricsRequest {
|
|
98
|
+
/**
|
|
99
|
+
* Options:
|
|
100
|
+
* - proto3_optional = true
|
|
101
|
+
*/
|
|
102
|
+
reset?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Options:
|
|
105
|
+
* - proto3_optional = true
|
|
106
|
+
*/
|
|
107
|
+
record?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Defined in:
|
|
111
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
112
|
+
*/
|
|
113
|
+
export interface ControlMetricsResponse {
|
|
114
|
+
/**
|
|
115
|
+
* Options:
|
|
116
|
+
* - proto3_optional = true
|
|
117
|
+
*/
|
|
118
|
+
recording?: boolean;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Defined in:
|
|
122
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
123
|
+
*/
|
|
124
|
+
export interface QueryMetricsRequest {
|
|
125
|
+
/**
|
|
126
|
+
* Options:
|
|
127
|
+
* - proto3_optional = true
|
|
128
|
+
*/
|
|
129
|
+
interval?: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Defined in:
|
|
133
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
134
|
+
*/
|
|
135
|
+
export interface QueryMetricsResponse {
|
|
136
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
137
|
+
metrics: Metrics;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Defined in:
|
|
141
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
142
|
+
*/
|
|
143
|
+
export enum LogLevel {
|
|
144
|
+
TRACE = 5,
|
|
145
|
+
DEBUG = 10,
|
|
146
|
+
INFO = 11,
|
|
147
|
+
WARN = 12,
|
|
148
|
+
ERROR = 13
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Defined in:
|
|
152
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
153
|
+
*/
|
|
154
|
+
export interface QueryLogsRequest {
|
|
155
|
+
filters?: QueryLogsRequest.Filter[];
|
|
156
|
+
/**
|
|
157
|
+
* Options:
|
|
158
|
+
* - proto3_optional = true
|
|
159
|
+
*/
|
|
160
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
161
|
+
}
|
|
162
|
+
export namespace QueryLogsRequest {
|
|
163
|
+
/**
|
|
164
|
+
* Defined in:
|
|
165
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
166
|
+
*/
|
|
167
|
+
export enum MatchingOptions {
|
|
168
|
+
INCLUSIVE = 1,
|
|
169
|
+
EXPLICIT = 2
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Defined in:
|
|
173
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
174
|
+
*/
|
|
175
|
+
export interface Filter {
|
|
176
|
+
level: LogLevel;
|
|
177
|
+
/**
|
|
178
|
+
* Options:
|
|
179
|
+
* - proto3_optional = true
|
|
180
|
+
*/
|
|
181
|
+
pattern?: string;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Defined in:
|
|
186
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
187
|
+
*/
|
|
188
|
+
export interface LogEntry {
|
|
189
|
+
level: LogLevel;
|
|
190
|
+
message: string;
|
|
191
|
+
/**
|
|
192
|
+
* Options:
|
|
193
|
+
* - proto3_optional = true
|
|
194
|
+
*/
|
|
195
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
196
|
+
/**
|
|
197
|
+
* Options:
|
|
198
|
+
* - proto3_optional = true
|
|
199
|
+
*/
|
|
200
|
+
meta?: LogEntry.Meta;
|
|
201
|
+
/**
|
|
202
|
+
* Options:
|
|
203
|
+
* - proto3_optional = true
|
|
204
|
+
*/
|
|
205
|
+
error?: dxos_error.Error;
|
|
206
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
207
|
+
}
|
|
208
|
+
export namespace LogEntry {
|
|
209
|
+
/**
|
|
210
|
+
* Defined in:
|
|
211
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
212
|
+
*/
|
|
213
|
+
export interface Meta {
|
|
214
|
+
file: string;
|
|
215
|
+
line: number;
|
|
216
|
+
/**
|
|
217
|
+
* Options:
|
|
218
|
+
* - proto3_optional = true
|
|
219
|
+
*/
|
|
220
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
221
|
+
/**
|
|
222
|
+
* Options:
|
|
223
|
+
* - proto3_optional = true
|
|
224
|
+
*/
|
|
225
|
+
resourceId?: number;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Defined in:
|
|
230
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
231
|
+
*/
|
|
232
|
+
export interface LoggingService {
|
|
233
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
234
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
235
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
236
|
+
}
|
|
62
237
|
/**
|
|
63
238
|
* Defined in:
|
|
64
239
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -195,12 +370,28 @@ export interface SignPresentationRequest {
|
|
|
195
370
|
*/
|
|
196
371
|
nonce?: Uint8Array;
|
|
197
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* Defined in:
|
|
375
|
+
* {@link file://./../../../dxos/client/services.proto}
|
|
376
|
+
*/
|
|
377
|
+
export interface CreateIdentityRequest {
|
|
378
|
+
/**
|
|
379
|
+
* Options:
|
|
380
|
+
* - proto3_optional = true
|
|
381
|
+
*/
|
|
382
|
+
profile?: dxos_halo_credentials.ProfileDocument;
|
|
383
|
+
/**
|
|
384
|
+
* Options:
|
|
385
|
+
* - proto3_optional = true
|
|
386
|
+
*/
|
|
387
|
+
useAutomerge?: boolean;
|
|
388
|
+
}
|
|
198
389
|
/**
|
|
199
390
|
* Defined in:
|
|
200
391
|
* {@link file://./../../../dxos/client/services.proto}
|
|
201
392
|
*/
|
|
202
393
|
export interface IdentityService {
|
|
203
|
-
createIdentity: (request:
|
|
394
|
+
createIdentity: (request: CreateIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
204
395
|
recoverIdentity: (request: RecoverIdentityRequest, options?: RequestOptions) => Promise<Identity>;
|
|
205
396
|
queryIdentity: (request: void, options?: RequestOptions) => Stream<QueryIdentityResponse>;
|
|
206
397
|
updateProfile: (request: dxos_halo_credentials.ProfileDocument, options?: RequestOptions) => Promise<Identity>;
|
|
@@ -775,178 +966,3 @@ export interface NetworkService {
|
|
|
775
966
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
776
967
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
777
968
|
}
|
|
778
|
-
/**
|
|
779
|
-
* Defined in:
|
|
780
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
781
|
-
*/
|
|
782
|
-
export interface Metrics {
|
|
783
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
784
|
-
values?: Metrics.KeyPair[];
|
|
785
|
-
}
|
|
786
|
-
export namespace Metrics {
|
|
787
|
-
/**
|
|
788
|
-
* Defined in:
|
|
789
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
790
|
-
*/
|
|
791
|
-
export interface KeyPair {
|
|
792
|
-
/**
|
|
793
|
-
* Options:
|
|
794
|
-
* - proto3_optional = true
|
|
795
|
-
*/
|
|
796
|
-
key?: string;
|
|
797
|
-
/**
|
|
798
|
-
* Options:
|
|
799
|
-
* - proto3_optional = true
|
|
800
|
-
*/
|
|
801
|
-
value?: dxos_value.Value;
|
|
802
|
-
/**
|
|
803
|
-
* Options:
|
|
804
|
-
* - proto3_optional = true
|
|
805
|
-
*/
|
|
806
|
-
stats?: dxos_value.Stats;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
/**
|
|
810
|
-
* Defined in:
|
|
811
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
812
|
-
*/
|
|
813
|
-
export interface ControlMetricsRequest {
|
|
814
|
-
/**
|
|
815
|
-
* Options:
|
|
816
|
-
* - proto3_optional = true
|
|
817
|
-
*/
|
|
818
|
-
reset?: boolean;
|
|
819
|
-
/**
|
|
820
|
-
* Options:
|
|
821
|
-
* - proto3_optional = true
|
|
822
|
-
*/
|
|
823
|
-
record?: boolean;
|
|
824
|
-
}
|
|
825
|
-
/**
|
|
826
|
-
* Defined in:
|
|
827
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
828
|
-
*/
|
|
829
|
-
export interface ControlMetricsResponse {
|
|
830
|
-
/**
|
|
831
|
-
* Options:
|
|
832
|
-
* - proto3_optional = true
|
|
833
|
-
*/
|
|
834
|
-
recording?: boolean;
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* Defined in:
|
|
838
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
839
|
-
*/
|
|
840
|
-
export interface QueryMetricsRequest {
|
|
841
|
-
/**
|
|
842
|
-
* Options:
|
|
843
|
-
* - proto3_optional = true
|
|
844
|
-
*/
|
|
845
|
-
interval?: number;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Defined in:
|
|
849
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
850
|
-
*/
|
|
851
|
-
export interface QueryMetricsResponse {
|
|
852
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
853
|
-
metrics: Metrics;
|
|
854
|
-
}
|
|
855
|
-
/**
|
|
856
|
-
* Defined in:
|
|
857
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
858
|
-
*/
|
|
859
|
-
export enum LogLevel {
|
|
860
|
-
TRACE = 5,
|
|
861
|
-
DEBUG = 10,
|
|
862
|
-
INFO = 11,
|
|
863
|
-
WARN = 12,
|
|
864
|
-
ERROR = 13
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* Defined in:
|
|
868
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
869
|
-
*/
|
|
870
|
-
export interface QueryLogsRequest {
|
|
871
|
-
filters?: QueryLogsRequest.Filter[];
|
|
872
|
-
/**
|
|
873
|
-
* Options:
|
|
874
|
-
* - proto3_optional = true
|
|
875
|
-
*/
|
|
876
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
877
|
-
}
|
|
878
|
-
export namespace QueryLogsRequest {
|
|
879
|
-
/**
|
|
880
|
-
* Defined in:
|
|
881
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
882
|
-
*/
|
|
883
|
-
export enum MatchingOptions {
|
|
884
|
-
INCLUSIVE = 1,
|
|
885
|
-
EXPLICIT = 2
|
|
886
|
-
}
|
|
887
|
-
/**
|
|
888
|
-
* Defined in:
|
|
889
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
890
|
-
*/
|
|
891
|
-
export interface Filter {
|
|
892
|
-
level: LogLevel;
|
|
893
|
-
/**
|
|
894
|
-
* Options:
|
|
895
|
-
* - proto3_optional = true
|
|
896
|
-
*/
|
|
897
|
-
pattern?: string;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
/**
|
|
901
|
-
* Defined in:
|
|
902
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
903
|
-
*/
|
|
904
|
-
export interface LogEntry {
|
|
905
|
-
level: LogLevel;
|
|
906
|
-
message: string;
|
|
907
|
-
/**
|
|
908
|
-
* Options:
|
|
909
|
-
* - proto3_optional = true
|
|
910
|
-
*/
|
|
911
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
912
|
-
/**
|
|
913
|
-
* Options:
|
|
914
|
-
* - proto3_optional = true
|
|
915
|
-
*/
|
|
916
|
-
meta?: LogEntry.Meta;
|
|
917
|
-
/**
|
|
918
|
-
* Options:
|
|
919
|
-
* - proto3_optional = true
|
|
920
|
-
*/
|
|
921
|
-
error?: dxos_error.Error;
|
|
922
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
923
|
-
}
|
|
924
|
-
export namespace LogEntry {
|
|
925
|
-
/**
|
|
926
|
-
* Defined in:
|
|
927
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
928
|
-
*/
|
|
929
|
-
export interface Meta {
|
|
930
|
-
file: string;
|
|
931
|
-
line: number;
|
|
932
|
-
/**
|
|
933
|
-
* Options:
|
|
934
|
-
* - proto3_optional = true
|
|
935
|
-
*/
|
|
936
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
937
|
-
/**
|
|
938
|
-
* Options:
|
|
939
|
-
* - proto3_optional = true
|
|
940
|
-
*/
|
|
941
|
-
resourceId?: number;
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
/**
|
|
945
|
-
* Defined in:
|
|
946
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
947
|
-
*/
|
|
948
|
-
export interface LoggingService {
|
|
949
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
950
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
951
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
952
|
-
}
|
|
@@ -59,37 +59,6 @@ import * as dxos_value from "../value";
|
|
|
59
59
|
import * as example_testing_data from "../../example/testing/data";
|
|
60
60
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
61
61
|
import * as google_protobuf from "../../google/protobuf";
|
|
62
|
-
/**
|
|
63
|
-
* Defined in:
|
|
64
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
65
|
-
*/
|
|
66
|
-
export interface Services {
|
|
67
|
-
spaces?: SpaceStats[];
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Defined in:
|
|
71
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
72
|
-
*/
|
|
73
|
-
export interface SpaceStats {
|
|
74
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
75
|
-
peers?: PeerStats[];
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Defined in:
|
|
79
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
80
|
-
*/
|
|
81
|
-
export interface PeerStats {
|
|
82
|
-
controlFeed: FeedStats;
|
|
83
|
-
dataFeed: FeedStats;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Defined in:
|
|
87
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
88
|
-
*/
|
|
89
|
-
export interface FeedStats {
|
|
90
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
91
|
-
length: number;
|
|
92
|
-
}
|
|
93
62
|
/**
|
|
94
63
|
* Defined in:
|
|
95
64
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -512,3 +481,34 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
512
481
|
export interface SubscribeToSwarmInfoResponse {
|
|
513
482
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
514
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
* Defined in:
|
|
486
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
487
|
+
*/
|
|
488
|
+
export interface Services {
|
|
489
|
+
spaces?: SpaceStats[];
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Defined in:
|
|
493
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
494
|
+
*/
|
|
495
|
+
export interface SpaceStats {
|
|
496
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
497
|
+
peers?: PeerStats[];
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Defined in:
|
|
501
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
502
|
+
*/
|
|
503
|
+
export interface PeerStats {
|
|
504
|
+
controlFeed: FeedStats;
|
|
505
|
+
dataFeed: FeedStats;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Defined in:
|
|
509
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
510
|
+
*/
|
|
511
|
+
export interface FeedStats {
|
|
512
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
513
|
+
length: number;
|
|
514
|
+
}
|
|
@@ -117,6 +117,13 @@ export interface AppContextRequest {
|
|
|
117
117
|
* - proto3_optional = true
|
|
118
118
|
*/
|
|
119
119
|
target?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Used after sign out/identity reset.
|
|
122
|
+
*
|
|
123
|
+
* Options:
|
|
124
|
+
* - proto3_optional = true
|
|
125
|
+
*/
|
|
126
|
+
reload?: boolean;
|
|
120
127
|
}
|
|
121
128
|
/**
|
|
122
129
|
* App RPCs for the shell.
|