@dxos/protocols 0.3.10 → 0.3.11-main.0ac3ef5
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/agent/echoproxy.d.ts +1 -1
- package/dist/cjs/src/proto/gen/dxos/agent/echoproxy.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +182 -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/iframe.d.ts +23 -2
- 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/google/protobuf.d.ts +8 -8
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +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/agent/echoproxy.d.ts +1 -1
- package/dist/esm/src/proto/gen/dxos/agent/echoproxy.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/client/services.d.ts +182 -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/iframe.d.ts +23 -2
- 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/google/protobuf.d.ts +8 -8
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.js.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +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 +6 -6
- package/src/proto/dxos/agent/echo-proxy.proto +1 -1
- package/src/proto/dxos/agent/query.proto +0 -1
- package/src/proto/dxos/client/services.proto +3 -0
- package/src/proto/dxos/iframe.proto +13 -2
- package/src/proto/gen/dxos/agent/echoproxy.ts +1 -1
- package/src/proto/gen/dxos/client/services.ts +182 -175
- package/src/proto/gen/dxos/iframe.ts +23 -2
- package/src/proto/gen/google/protobuf.ts +8 -8
- package/src/proto/gen/index.ts +2 -2
|
@@ -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;AAghB7C,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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAghB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+kjGAA+kjG,CAAC,CAAC,CAAC;AACxojG,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.
|
|
3
|
+
"version": "0.3.11-main.0ac3ef5",
|
|
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/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/keys": "0.3.11-main.0ac3ef5",
|
|
37
|
+
"@dxos/invariant": "0.3.11-main.0ac3ef5",
|
|
38
|
+
"@dxos/codec-protobuf": "0.3.11-main.0ac3ef5",
|
|
39
|
+
"@dxos/timeframe": "0.3.11-main.0ac3ef5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
|
-
"tsc-cjs": "tsc --module commonjs --target es2018 --outdir ./dist/cjs"
|
|
48
|
+
"tsc-cjs": "rm -rf dist/cjs; tsc --module commonjs --target es2018 --outdir ./dist/cjs"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -407,6 +407,9 @@ message Invitation {
|
|
|
407
407
|
|
|
408
408
|
/// Authentication code created by host (only present if auth_method is SHARED_SECRET).
|
|
409
409
|
optional string auth_code = 10;
|
|
410
|
+
|
|
411
|
+
/// Path or identifier to navigate to after successful authentication.
|
|
412
|
+
optional string target = 11;
|
|
410
413
|
}
|
|
411
414
|
|
|
412
415
|
message AuthenticationRequest {
|
|
@@ -29,11 +29,14 @@ enum ShellDisplay {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
message AppContextRequest {
|
|
32
|
-
/// The display mode that shell should use
|
|
32
|
+
/// The display mode that shell should use.
|
|
33
33
|
optional ShellDisplay display = 1;
|
|
34
34
|
|
|
35
|
-
/// The key of the joined space
|
|
35
|
+
/// The key of the joined space.
|
|
36
36
|
optional dxos.keys.PublicKey space_key = 2;
|
|
37
|
+
|
|
38
|
+
/// Target to redirect to after a successful invitation.
|
|
39
|
+
optional string target = 3;
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
/// App RPCs for the shell.
|
|
@@ -52,9 +55,17 @@ enum ShellLayout {
|
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
message LayoutRequest {
|
|
58
|
+
/// Determins which panel of the shell is opened.
|
|
55
59
|
ShellLayout layout = 1;
|
|
60
|
+
|
|
61
|
+
/// Invitation code to join a space.
|
|
56
62
|
optional string invitation_code = 2;
|
|
63
|
+
|
|
64
|
+
/// Key of the space to share.
|
|
57
65
|
optional dxos.keys.PublicKey space_key = 3;
|
|
66
|
+
|
|
67
|
+
/// Target to include in an invitation for redirecting after a successful invitation.
|
|
68
|
+
optional string target = 4;
|
|
58
69
|
}
|
|
59
70
|
|
|
60
71
|
/// Shell UI RPCs.
|
|
@@ -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}
|
|
@@ -623,6 +798,13 @@ export interface Invitation {
|
|
|
623
798
|
* - proto3_optional = true
|
|
624
799
|
*/
|
|
625
800
|
authCode?: string;
|
|
801
|
+
/**
|
|
802
|
+
* Path or identifier to navigate to after successful authentication.
|
|
803
|
+
*
|
|
804
|
+
* Options:
|
|
805
|
+
* - proto3_optional = true
|
|
806
|
+
*/
|
|
807
|
+
target?: string;
|
|
626
808
|
}
|
|
627
809
|
export namespace Invitation {
|
|
628
810
|
/**
|
|
@@ -768,178 +950,3 @@ export interface NetworkService {
|
|
|
768
950
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
769
951
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
770
952
|
}
|
|
771
|
-
/**
|
|
772
|
-
* Defined in:
|
|
773
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
774
|
-
*/
|
|
775
|
-
export interface Metrics {
|
|
776
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
777
|
-
values?: Metrics.KeyPair[];
|
|
778
|
-
}
|
|
779
|
-
export namespace Metrics {
|
|
780
|
-
/**
|
|
781
|
-
* Defined in:
|
|
782
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
783
|
-
*/
|
|
784
|
-
export interface KeyPair {
|
|
785
|
-
/**
|
|
786
|
-
* Options:
|
|
787
|
-
* - proto3_optional = true
|
|
788
|
-
*/
|
|
789
|
-
key?: string;
|
|
790
|
-
/**
|
|
791
|
-
* Options:
|
|
792
|
-
* - proto3_optional = true
|
|
793
|
-
*/
|
|
794
|
-
value?: dxos_value.Value;
|
|
795
|
-
/**
|
|
796
|
-
* Options:
|
|
797
|
-
* - proto3_optional = true
|
|
798
|
-
*/
|
|
799
|
-
stats?: dxos_value.Stats;
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* Defined in:
|
|
804
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
805
|
-
*/
|
|
806
|
-
export interface ControlMetricsRequest {
|
|
807
|
-
/**
|
|
808
|
-
* Options:
|
|
809
|
-
* - proto3_optional = true
|
|
810
|
-
*/
|
|
811
|
-
reset?: boolean;
|
|
812
|
-
/**
|
|
813
|
-
* Options:
|
|
814
|
-
* - proto3_optional = true
|
|
815
|
-
*/
|
|
816
|
-
record?: boolean;
|
|
817
|
-
}
|
|
818
|
-
/**
|
|
819
|
-
* Defined in:
|
|
820
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
821
|
-
*/
|
|
822
|
-
export interface ControlMetricsResponse {
|
|
823
|
-
/**
|
|
824
|
-
* Options:
|
|
825
|
-
* - proto3_optional = true
|
|
826
|
-
*/
|
|
827
|
-
recording?: boolean;
|
|
828
|
-
}
|
|
829
|
-
/**
|
|
830
|
-
* Defined in:
|
|
831
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
832
|
-
*/
|
|
833
|
-
export interface QueryMetricsRequest {
|
|
834
|
-
/**
|
|
835
|
-
* Options:
|
|
836
|
-
* - proto3_optional = true
|
|
837
|
-
*/
|
|
838
|
-
interval?: number;
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* Defined in:
|
|
842
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
843
|
-
*/
|
|
844
|
-
export interface QueryMetricsResponse {
|
|
845
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
846
|
-
metrics: Metrics;
|
|
847
|
-
}
|
|
848
|
-
/**
|
|
849
|
-
* Defined in:
|
|
850
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
851
|
-
*/
|
|
852
|
-
export enum LogLevel {
|
|
853
|
-
TRACE = 5,
|
|
854
|
-
DEBUG = 10,
|
|
855
|
-
INFO = 11,
|
|
856
|
-
WARN = 12,
|
|
857
|
-
ERROR = 13
|
|
858
|
-
}
|
|
859
|
-
/**
|
|
860
|
-
* Defined in:
|
|
861
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
862
|
-
*/
|
|
863
|
-
export interface QueryLogsRequest {
|
|
864
|
-
filters?: QueryLogsRequest.Filter[];
|
|
865
|
-
/**
|
|
866
|
-
* Options:
|
|
867
|
-
* - proto3_optional = true
|
|
868
|
-
*/
|
|
869
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
870
|
-
}
|
|
871
|
-
export namespace QueryLogsRequest {
|
|
872
|
-
/**
|
|
873
|
-
* Defined in:
|
|
874
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
875
|
-
*/
|
|
876
|
-
export enum MatchingOptions {
|
|
877
|
-
INCLUSIVE = 1,
|
|
878
|
-
EXPLICIT = 2
|
|
879
|
-
}
|
|
880
|
-
/**
|
|
881
|
-
* Defined in:
|
|
882
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
883
|
-
*/
|
|
884
|
-
export interface Filter {
|
|
885
|
-
level: LogLevel;
|
|
886
|
-
/**
|
|
887
|
-
* Options:
|
|
888
|
-
* - proto3_optional = true
|
|
889
|
-
*/
|
|
890
|
-
pattern?: string;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
/**
|
|
894
|
-
* Defined in:
|
|
895
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
896
|
-
*/
|
|
897
|
-
export interface LogEntry {
|
|
898
|
-
level: LogLevel;
|
|
899
|
-
message: string;
|
|
900
|
-
/**
|
|
901
|
-
* Options:
|
|
902
|
-
* - proto3_optional = true
|
|
903
|
-
*/
|
|
904
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
905
|
-
/**
|
|
906
|
-
* Options:
|
|
907
|
-
* - proto3_optional = true
|
|
908
|
-
*/
|
|
909
|
-
meta?: LogEntry.Meta;
|
|
910
|
-
/**
|
|
911
|
-
* Options:
|
|
912
|
-
* - proto3_optional = true
|
|
913
|
-
*/
|
|
914
|
-
error?: dxos_error.Error;
|
|
915
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
916
|
-
}
|
|
917
|
-
export namespace LogEntry {
|
|
918
|
-
/**
|
|
919
|
-
* Defined in:
|
|
920
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
921
|
-
*/
|
|
922
|
-
export interface Meta {
|
|
923
|
-
file: string;
|
|
924
|
-
line: number;
|
|
925
|
-
/**
|
|
926
|
-
* Options:
|
|
927
|
-
* - proto3_optional = true
|
|
928
|
-
*/
|
|
929
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
930
|
-
/**
|
|
931
|
-
* Options:
|
|
932
|
-
* - proto3_optional = true
|
|
933
|
-
*/
|
|
934
|
-
resourceId?: number;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* Defined in:
|
|
939
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
940
|
-
*/
|
|
941
|
-
export interface LoggingService {
|
|
942
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
943
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
944
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
945
|
-
}
|
|
@@ -97,19 +97,26 @@ export enum ShellDisplay {
|
|
|
97
97
|
*/
|
|
98
98
|
export interface AppContextRequest {
|
|
99
99
|
/**
|
|
100
|
-
* The display mode that shell should use
|
|
100
|
+
* The display mode that shell should use.
|
|
101
101
|
*
|
|
102
102
|
* Options:
|
|
103
103
|
* - proto3_optional = true
|
|
104
104
|
*/
|
|
105
105
|
display?: ShellDisplay;
|
|
106
106
|
/**
|
|
107
|
-
* The key of the joined space
|
|
107
|
+
* The key of the joined space.
|
|
108
108
|
*
|
|
109
109
|
* Options:
|
|
110
110
|
* - proto3_optional = true
|
|
111
111
|
*/
|
|
112
112
|
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
113
|
+
/**
|
|
114
|
+
* Target to redirect to after a successful invitation.
|
|
115
|
+
*
|
|
116
|
+
* Options:
|
|
117
|
+
* - proto3_optional = true
|
|
118
|
+
*/
|
|
119
|
+
target?: string;
|
|
113
120
|
}
|
|
114
121
|
/**
|
|
115
122
|
* App RPCs for the shell.
|
|
@@ -138,17 +145,31 @@ export enum ShellLayout {
|
|
|
138
145
|
* {@link file://./../../dxos/iframe.proto}
|
|
139
146
|
*/
|
|
140
147
|
export interface LayoutRequest {
|
|
148
|
+
/**
|
|
149
|
+
* Determins which panel of the shell is opened.
|
|
150
|
+
*/
|
|
141
151
|
layout: ShellLayout;
|
|
142
152
|
/**
|
|
153
|
+
* Invitation code to join a space.
|
|
154
|
+
*
|
|
143
155
|
* Options:
|
|
144
156
|
* - proto3_optional = true
|
|
145
157
|
*/
|
|
146
158
|
invitationCode?: string;
|
|
147
159
|
/**
|
|
160
|
+
* Key of the space to share.
|
|
161
|
+
*
|
|
148
162
|
* Options:
|
|
149
163
|
* - proto3_optional = true
|
|
150
164
|
*/
|
|
151
165
|
spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
166
|
+
/**
|
|
167
|
+
* Target to include in an invitation for redirecting after a successful invitation.
|
|
168
|
+
*
|
|
169
|
+
* Options:
|
|
170
|
+
* - proto3_optional = true
|
|
171
|
+
*/
|
|
172
|
+
target?: string;
|
|
152
173
|
}
|
|
153
174
|
/**
|
|
154
175
|
* Shell UI RPCs.
|
|
@@ -61,14 +61,6 @@ import * as example_testing_data from "../example/testing/data";
|
|
|
61
61
|
import * as example_testing_rpc from "../example/testing/rpc";
|
|
62
62
|
export interface Empty {
|
|
63
63
|
}
|
|
64
|
-
export interface Timestamp {
|
|
65
|
-
seconds: string;
|
|
66
|
-
nanos: number;
|
|
67
|
-
}
|
|
68
|
-
export interface Any {
|
|
69
|
-
type_url: string;
|
|
70
|
-
value: Uint8Array;
|
|
71
|
-
}
|
|
72
64
|
export interface Struct {
|
|
73
65
|
fields?: Partial<Record<string, Value>>;
|
|
74
66
|
}
|
|
@@ -86,6 +78,14 @@ export enum NullValue {
|
|
|
86
78
|
export interface ListValue {
|
|
87
79
|
values?: Value[];
|
|
88
80
|
}
|
|
81
|
+
export interface Timestamp {
|
|
82
|
+
seconds: string;
|
|
83
|
+
nanos: number;
|
|
84
|
+
}
|
|
85
|
+
export interface Any {
|
|
86
|
+
type_url: string;
|
|
87
|
+
value: Uint8Array;
|
|
88
|
+
}
|
|
89
89
|
export interface FileDescriptorSet {
|
|
90
90
|
file?: FileDescriptorProto[];
|
|
91
91
|
}
|