@dxos/protocols 0.5.1-next.260c093 → 0.5.1-next.39e0ee2
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/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 +19 -0
- package/dist/cjs/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/cjs/src/proto/gen/google/protobuf.d.ts.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 +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/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 +19 -0
- package/dist/esm/src/proto/gen/dxos/iframe.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/google/protobuf.d.ts +4 -4
- package/dist/esm/src/proto/gen/google/protobuf.d.ts.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/iframe.proto +12 -0
- package/src/proto/gen/dxos/client/services.ts +175 -175
- package/src/proto/gen/dxos/devtools/host.ts +31 -31
- package/src/proto/gen/dxos/iframe.ts +19 -0
- package/src/proto/gen/google/protobuf.ts +4 -4
- 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;AA+DhE,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;AA+DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA0iB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,wuzGAAwuzG,CAAC,CAAC,CAAC;AACjyzG,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.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.39e0ee2",
|
|
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.5.1-next.
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
36
|
+
"@dxos/codec-protobuf": "0.5.1-next.39e0ee2",
|
|
37
|
+
"@dxos/invariant": "0.5.1-next.39e0ee2",
|
|
38
|
+
"@dxos/keys": "0.5.1-next.39e0ee2",
|
|
39
|
+
"@dxos/timeframe": "0.5.1-next.39e0ee2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -78,7 +78,19 @@ message LayoutRequest {
|
|
|
78
78
|
optional string target = 4;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
message InvitationUrlRequest {
|
|
82
|
+
/// Base URL for invitations.
|
|
83
|
+
string invitation_url = 1;
|
|
84
|
+
|
|
85
|
+
/// Query parameter for device invitations.
|
|
86
|
+
string device_invitation_param = 2;
|
|
87
|
+
|
|
88
|
+
/// Query parameter for space invitations.
|
|
89
|
+
string space_invitation_param = 3;
|
|
90
|
+
}
|
|
91
|
+
|
|
81
92
|
/// Shell UI RPCs.
|
|
82
93
|
service ShellService {
|
|
83
94
|
rpc SetLayout(LayoutRequest) returns (google.protobuf.Empty);
|
|
95
|
+
rpc SetInvitationUrl(InvitationUrlRequest) returns (google.protobuf.Empty);
|
|
84
96
|
}
|
|
@@ -61,181 +61,6 @@ import * as dxos_value from "../value";
|
|
|
61
61
|
import * as example_testing_data from "../../example/testing/data";
|
|
62
62
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
63
63
|
import * as google_protobuf from "../../google/protobuf";
|
|
64
|
-
/**
|
|
65
|
-
* Defined in:
|
|
66
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
67
|
-
*/
|
|
68
|
-
export interface Metrics {
|
|
69
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
70
|
-
values?: Metrics.KeyPair[];
|
|
71
|
-
}
|
|
72
|
-
export namespace Metrics {
|
|
73
|
-
/**
|
|
74
|
-
* Defined in:
|
|
75
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
76
|
-
*/
|
|
77
|
-
export interface KeyPair {
|
|
78
|
-
/**
|
|
79
|
-
* Options:
|
|
80
|
-
* - proto3_optional = true
|
|
81
|
-
*/
|
|
82
|
-
key?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Options:
|
|
85
|
-
* - proto3_optional = true
|
|
86
|
-
*/
|
|
87
|
-
value?: dxos_value.Value;
|
|
88
|
-
/**
|
|
89
|
-
* Options:
|
|
90
|
-
* - proto3_optional = true
|
|
91
|
-
*/
|
|
92
|
-
stats?: dxos_value.Stats;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Defined in:
|
|
97
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
98
|
-
*/
|
|
99
|
-
export interface ControlMetricsRequest {
|
|
100
|
-
/**
|
|
101
|
-
* Options:
|
|
102
|
-
* - proto3_optional = true
|
|
103
|
-
*/
|
|
104
|
-
reset?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Options:
|
|
107
|
-
* - proto3_optional = true
|
|
108
|
-
*/
|
|
109
|
-
record?: boolean;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Defined in:
|
|
113
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
114
|
-
*/
|
|
115
|
-
export interface ControlMetricsResponse {
|
|
116
|
-
/**
|
|
117
|
-
* Options:
|
|
118
|
-
* - proto3_optional = true
|
|
119
|
-
*/
|
|
120
|
-
recording?: boolean;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Defined in:
|
|
124
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
125
|
-
*/
|
|
126
|
-
export interface QueryMetricsRequest {
|
|
127
|
-
/**
|
|
128
|
-
* Options:
|
|
129
|
-
* - proto3_optional = true
|
|
130
|
-
*/
|
|
131
|
-
interval?: number;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Defined in:
|
|
135
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
136
|
-
*/
|
|
137
|
-
export interface QueryMetricsResponse {
|
|
138
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
139
|
-
metrics: Metrics;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Defined in:
|
|
143
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
144
|
-
*/
|
|
145
|
-
export enum LogLevel {
|
|
146
|
-
TRACE = 5,
|
|
147
|
-
DEBUG = 10,
|
|
148
|
-
INFO = 11,
|
|
149
|
-
WARN = 12,
|
|
150
|
-
ERROR = 13
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Defined in:
|
|
154
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
155
|
-
*/
|
|
156
|
-
export interface QueryLogsRequest {
|
|
157
|
-
filters?: QueryLogsRequest.Filter[];
|
|
158
|
-
/**
|
|
159
|
-
* Options:
|
|
160
|
-
* - proto3_optional = true
|
|
161
|
-
*/
|
|
162
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
163
|
-
}
|
|
164
|
-
export namespace QueryLogsRequest {
|
|
165
|
-
/**
|
|
166
|
-
* Defined in:
|
|
167
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
168
|
-
*/
|
|
169
|
-
export enum MatchingOptions {
|
|
170
|
-
INCLUSIVE = 1,
|
|
171
|
-
EXPLICIT = 2
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Defined in:
|
|
175
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
176
|
-
*/
|
|
177
|
-
export interface Filter {
|
|
178
|
-
level: LogLevel;
|
|
179
|
-
/**
|
|
180
|
-
* Options:
|
|
181
|
-
* - proto3_optional = true
|
|
182
|
-
*/
|
|
183
|
-
pattern?: string;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Defined in:
|
|
188
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
189
|
-
*/
|
|
190
|
-
export interface LogEntry {
|
|
191
|
-
level: LogLevel;
|
|
192
|
-
message: string;
|
|
193
|
-
/**
|
|
194
|
-
* Options:
|
|
195
|
-
* - proto3_optional = true
|
|
196
|
-
*/
|
|
197
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
198
|
-
/**
|
|
199
|
-
* Options:
|
|
200
|
-
* - proto3_optional = true
|
|
201
|
-
*/
|
|
202
|
-
meta?: LogEntry.Meta;
|
|
203
|
-
/**
|
|
204
|
-
* Options:
|
|
205
|
-
* - proto3_optional = true
|
|
206
|
-
*/
|
|
207
|
-
error?: dxos_error.Error;
|
|
208
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
209
|
-
}
|
|
210
|
-
export namespace LogEntry {
|
|
211
|
-
/**
|
|
212
|
-
* Defined in:
|
|
213
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
214
|
-
*/
|
|
215
|
-
export interface Meta {
|
|
216
|
-
file: string;
|
|
217
|
-
line: number;
|
|
218
|
-
/**
|
|
219
|
-
* Options:
|
|
220
|
-
* - proto3_optional = true
|
|
221
|
-
*/
|
|
222
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
223
|
-
/**
|
|
224
|
-
* Options:
|
|
225
|
-
* - proto3_optional = true
|
|
226
|
-
*/
|
|
227
|
-
resourceId?: number;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Defined in:
|
|
232
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
233
|
-
*/
|
|
234
|
-
export interface LoggingService {
|
|
235
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
236
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
237
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
238
|
-
}
|
|
239
64
|
/**
|
|
240
65
|
* Defined in:
|
|
241
66
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -1125,3 +950,178 @@ export interface NetworkService {
|
|
|
1125
950
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
1126
951
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
1127
952
|
}
|
|
953
|
+
/**
|
|
954
|
+
* Defined in:
|
|
955
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
956
|
+
*/
|
|
957
|
+
export interface Metrics {
|
|
958
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
959
|
+
values?: Metrics.KeyPair[];
|
|
960
|
+
}
|
|
961
|
+
export namespace Metrics {
|
|
962
|
+
/**
|
|
963
|
+
* Defined in:
|
|
964
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
965
|
+
*/
|
|
966
|
+
export interface KeyPair {
|
|
967
|
+
/**
|
|
968
|
+
* Options:
|
|
969
|
+
* - proto3_optional = true
|
|
970
|
+
*/
|
|
971
|
+
key?: string;
|
|
972
|
+
/**
|
|
973
|
+
* Options:
|
|
974
|
+
* - proto3_optional = true
|
|
975
|
+
*/
|
|
976
|
+
value?: dxos_value.Value;
|
|
977
|
+
/**
|
|
978
|
+
* Options:
|
|
979
|
+
* - proto3_optional = true
|
|
980
|
+
*/
|
|
981
|
+
stats?: dxos_value.Stats;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Defined in:
|
|
986
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
987
|
+
*/
|
|
988
|
+
export interface ControlMetricsRequest {
|
|
989
|
+
/**
|
|
990
|
+
* Options:
|
|
991
|
+
* - proto3_optional = true
|
|
992
|
+
*/
|
|
993
|
+
reset?: boolean;
|
|
994
|
+
/**
|
|
995
|
+
* Options:
|
|
996
|
+
* - proto3_optional = true
|
|
997
|
+
*/
|
|
998
|
+
record?: boolean;
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Defined in:
|
|
1002
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1003
|
+
*/
|
|
1004
|
+
export interface ControlMetricsResponse {
|
|
1005
|
+
/**
|
|
1006
|
+
* Options:
|
|
1007
|
+
* - proto3_optional = true
|
|
1008
|
+
*/
|
|
1009
|
+
recording?: boolean;
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* Defined in:
|
|
1013
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1014
|
+
*/
|
|
1015
|
+
export interface QueryMetricsRequest {
|
|
1016
|
+
/**
|
|
1017
|
+
* Options:
|
|
1018
|
+
* - proto3_optional = true
|
|
1019
|
+
*/
|
|
1020
|
+
interval?: number;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* Defined in:
|
|
1024
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1025
|
+
*/
|
|
1026
|
+
export interface QueryMetricsResponse {
|
|
1027
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1028
|
+
metrics: Metrics;
|
|
1029
|
+
}
|
|
1030
|
+
/**
|
|
1031
|
+
* Defined in:
|
|
1032
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1033
|
+
*/
|
|
1034
|
+
export enum LogLevel {
|
|
1035
|
+
TRACE = 5,
|
|
1036
|
+
DEBUG = 10,
|
|
1037
|
+
INFO = 11,
|
|
1038
|
+
WARN = 12,
|
|
1039
|
+
ERROR = 13
|
|
1040
|
+
}
|
|
1041
|
+
/**
|
|
1042
|
+
* Defined in:
|
|
1043
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1044
|
+
*/
|
|
1045
|
+
export interface QueryLogsRequest {
|
|
1046
|
+
filters?: QueryLogsRequest.Filter[];
|
|
1047
|
+
/**
|
|
1048
|
+
* Options:
|
|
1049
|
+
* - proto3_optional = true
|
|
1050
|
+
*/
|
|
1051
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
1052
|
+
}
|
|
1053
|
+
export namespace QueryLogsRequest {
|
|
1054
|
+
/**
|
|
1055
|
+
* Defined in:
|
|
1056
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1057
|
+
*/
|
|
1058
|
+
export enum MatchingOptions {
|
|
1059
|
+
INCLUSIVE = 1,
|
|
1060
|
+
EXPLICIT = 2
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Defined in:
|
|
1064
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1065
|
+
*/
|
|
1066
|
+
export interface Filter {
|
|
1067
|
+
level: LogLevel;
|
|
1068
|
+
/**
|
|
1069
|
+
* Options:
|
|
1070
|
+
* - proto3_optional = true
|
|
1071
|
+
*/
|
|
1072
|
+
pattern?: string;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* Defined in:
|
|
1077
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1078
|
+
*/
|
|
1079
|
+
export interface LogEntry {
|
|
1080
|
+
level: LogLevel;
|
|
1081
|
+
message: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Options:
|
|
1084
|
+
* - proto3_optional = true
|
|
1085
|
+
*/
|
|
1086
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Options:
|
|
1089
|
+
* - proto3_optional = true
|
|
1090
|
+
*/
|
|
1091
|
+
meta?: LogEntry.Meta;
|
|
1092
|
+
/**
|
|
1093
|
+
* Options:
|
|
1094
|
+
* - proto3_optional = true
|
|
1095
|
+
*/
|
|
1096
|
+
error?: dxos_error.Error;
|
|
1097
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1098
|
+
}
|
|
1099
|
+
export namespace LogEntry {
|
|
1100
|
+
/**
|
|
1101
|
+
* Defined in:
|
|
1102
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1103
|
+
*/
|
|
1104
|
+
export interface Meta {
|
|
1105
|
+
file: string;
|
|
1106
|
+
line: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* Options:
|
|
1109
|
+
* - proto3_optional = true
|
|
1110
|
+
*/
|
|
1111
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1112
|
+
/**
|
|
1113
|
+
* Options:
|
|
1114
|
+
* - proto3_optional = true
|
|
1115
|
+
*/
|
|
1116
|
+
resourceId?: number;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* Defined in:
|
|
1121
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1122
|
+
*/
|
|
1123
|
+
export interface LoggingService {
|
|
1124
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1125
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1126
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1127
|
+
}
|
|
@@ -61,37 +61,6 @@ import * as dxos_value from "../value";
|
|
|
61
61
|
import * as example_testing_data from "../../example/testing/data";
|
|
62
62
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
63
63
|
import * as google_protobuf from "../../google/protobuf";
|
|
64
|
-
/**
|
|
65
|
-
* Defined in:
|
|
66
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
67
|
-
*/
|
|
68
|
-
export interface Services {
|
|
69
|
-
spaces?: SpaceStats[];
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Defined in:
|
|
73
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
74
|
-
*/
|
|
75
|
-
export interface SpaceStats {
|
|
76
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
77
|
-
peers?: PeerStats[];
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Defined in:
|
|
81
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
82
|
-
*/
|
|
83
|
-
export interface PeerStats {
|
|
84
|
-
controlFeed: FeedStats;
|
|
85
|
-
dataFeed: FeedStats;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Defined in:
|
|
89
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
90
|
-
*/
|
|
91
|
-
export interface FeedStats {
|
|
92
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
93
|
-
length: number;
|
|
94
|
-
}
|
|
95
64
|
/**
|
|
96
65
|
* Defined in:
|
|
97
66
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -514,3 +483,34 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
514
483
|
export interface SubscribeToSwarmInfoResponse {
|
|
515
484
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
516
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* Defined in:
|
|
488
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
489
|
+
*/
|
|
490
|
+
export interface Services {
|
|
491
|
+
spaces?: SpaceStats[];
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Defined in:
|
|
495
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
496
|
+
*/
|
|
497
|
+
export interface SpaceStats {
|
|
498
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
499
|
+
peers?: PeerStats[];
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Defined in:
|
|
503
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
504
|
+
*/
|
|
505
|
+
export interface PeerStats {
|
|
506
|
+
controlFeed: FeedStats;
|
|
507
|
+
dataFeed: FeedStats;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Defined in:
|
|
511
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
512
|
+
*/
|
|
513
|
+
export interface FeedStats {
|
|
514
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
515
|
+
length: number;
|
|
516
|
+
}
|
|
@@ -192,6 +192,24 @@ export interface LayoutRequest {
|
|
|
192
192
|
*/
|
|
193
193
|
target?: string;
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Defined in:
|
|
197
|
+
* {@link file://./../../dxos/iframe.proto}
|
|
198
|
+
*/
|
|
199
|
+
export interface InvitationUrlRequest {
|
|
200
|
+
/**
|
|
201
|
+
* Base URL for invitations.
|
|
202
|
+
*/
|
|
203
|
+
invitationUrl: string;
|
|
204
|
+
/**
|
|
205
|
+
* Query parameter for device invitations.
|
|
206
|
+
*/
|
|
207
|
+
deviceInvitationParam: string;
|
|
208
|
+
/**
|
|
209
|
+
* Query parameter for space invitations.
|
|
210
|
+
*/
|
|
211
|
+
spaceInvitationParam: string;
|
|
212
|
+
}
|
|
195
213
|
/**
|
|
196
214
|
* Shell UI RPCs.
|
|
197
215
|
*
|
|
@@ -200,4 +218,5 @@ export interface LayoutRequest {
|
|
|
200
218
|
*/
|
|
201
219
|
export interface ShellService {
|
|
202
220
|
setLayout: (request: LayoutRequest, options?: RequestOptions) => Promise<void>;
|
|
221
|
+
setInvitationUrl: (request: InvitationUrlRequest, options?: RequestOptions) => Promise<void>;
|
|
203
222
|
}
|
|
@@ -80,14 +80,14 @@ export enum NullValue {
|
|
|
80
80
|
export interface ListValue {
|
|
81
81
|
values?: Value[];
|
|
82
82
|
}
|
|
83
|
-
export interface Any {
|
|
84
|
-
type_url: string;
|
|
85
|
-
value: Uint8Array;
|
|
86
|
-
}
|
|
87
83
|
export interface Timestamp {
|
|
88
84
|
seconds: string;
|
|
89
85
|
nanos: number;
|
|
90
86
|
}
|
|
87
|
+
export interface Any {
|
|
88
|
+
type_url: string;
|
|
89
|
+
value: Uint8Array;
|
|
90
|
+
}
|
|
91
91
|
export interface FileDescriptorSet {
|
|
92
92
|
file?: FileDescriptorProto[];
|
|
93
93
|
}
|