@dxos/protocols 0.3.5-next.63b0922 → 0.3.5
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/halo/credentials.d.ts +11 -0
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/dxos/halo/credentials.js.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/halo/credentials.d.ts +11 -0
- package/dist/esm/src/proto/gen/dxos/halo/credentials.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/dxos/halo/credentials.js.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/echo/model/document.proto +6 -6
- package/src/proto/dxos/halo/credentials.proto +4 -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/halo/credentials.ts +11 -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;AA4DhE,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;AA4DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAmgB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,y09FAAy09F,CAAC,CAAC,CAAC;AACl49F,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.5
|
|
3
|
+
"version": "0.3.5",
|
|
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/timeframe": "0.3.5
|
|
36
|
+
"@dxos/invariant": "0.3.5",
|
|
37
|
+
"@dxos/keys": "0.3.5",
|
|
38
|
+
"@dxos/codec-protobuf": "0.3.5",
|
|
39
|
+
"@dxos/timeframe": "0.3.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"glob": "~7.1.6"
|
|
@@ -42,22 +42,22 @@ message Value {
|
|
|
42
42
|
* Ordered collection of values.
|
|
43
43
|
*/
|
|
44
44
|
message Array {
|
|
45
|
-
repeated Value values
|
|
45
|
+
repeated Value values = 1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Key x Value tuple.
|
|
50
50
|
*/
|
|
51
51
|
message KeyValue {
|
|
52
|
-
string key
|
|
53
|
-
Value value
|
|
52
|
+
string key = 1;
|
|
53
|
+
Value value = 2;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Object data definition.
|
|
58
58
|
*/
|
|
59
59
|
message KeyValueObject {
|
|
60
|
-
repeated KeyValue properties
|
|
60
|
+
repeated KeyValue properties = 1;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
@@ -65,7 +65,7 @@ message KeyValueObject {
|
|
|
65
65
|
*/
|
|
66
66
|
message Reference {
|
|
67
67
|
// TODO(dmaretskyi): Rename `id`.
|
|
68
|
-
string itemId
|
|
68
|
+
string itemId = 1;
|
|
69
69
|
|
|
70
70
|
/// "space", or "protobuf"
|
|
71
71
|
optional string protocol = 2;
|
|
@@ -154,7 +154,7 @@ message ObjectMutationSet {
|
|
|
154
154
|
optional Reference type_ref = 4;
|
|
155
155
|
|
|
156
156
|
repeated ObjectMutation mutations = 2;
|
|
157
|
-
|
|
157
|
+
|
|
158
158
|
// Mutations for the `meta` keyspace.
|
|
159
159
|
repeated ObjectMutation meta_mutations = 3;
|
|
160
160
|
}
|
|
@@ -70,6 +70,10 @@ message SpaceMember {
|
|
|
70
70
|
dxos.keys.PublicKey genesis_feed_key = 4;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
message MemberProfile {
|
|
74
|
+
optional ProfileDocument profile = 3;
|
|
75
|
+
}
|
|
76
|
+
|
|
73
77
|
// [ASSERTION]: Device is authorized to sign messages for a given Agent (Identity).
|
|
74
78
|
// NOTE: Devices are Admitted to Identities.
|
|
75
79
|
message AuthorizedDevice {
|
|
@@ -58,181 +58,6 @@ import * as dxos_value from "../value";
|
|
|
58
58
|
import * as example_testing_data from "../../example/testing/data";
|
|
59
59
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
60
60
|
import * as google_protobuf from "../../google/protobuf";
|
|
61
|
-
/**
|
|
62
|
-
* Defined in:
|
|
63
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
64
|
-
*/
|
|
65
|
-
export interface Metrics {
|
|
66
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
67
|
-
values?: Metrics.KeyPair[];
|
|
68
|
-
}
|
|
69
|
-
export namespace Metrics {
|
|
70
|
-
/**
|
|
71
|
-
* Defined in:
|
|
72
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
73
|
-
*/
|
|
74
|
-
export interface KeyPair {
|
|
75
|
-
/**
|
|
76
|
-
* Options:
|
|
77
|
-
* - proto3_optional = true
|
|
78
|
-
*/
|
|
79
|
-
key?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Options:
|
|
82
|
-
* - proto3_optional = true
|
|
83
|
-
*/
|
|
84
|
-
value?: dxos_value.Value;
|
|
85
|
-
/**
|
|
86
|
-
* Options:
|
|
87
|
-
* - proto3_optional = true
|
|
88
|
-
*/
|
|
89
|
-
stats?: dxos_value.Stats;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Defined in:
|
|
94
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
95
|
-
*/
|
|
96
|
-
export interface ControlMetricsRequest {
|
|
97
|
-
/**
|
|
98
|
-
* Options:
|
|
99
|
-
* - proto3_optional = true
|
|
100
|
-
*/
|
|
101
|
-
reset?: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Options:
|
|
104
|
-
* - proto3_optional = true
|
|
105
|
-
*/
|
|
106
|
-
record?: boolean;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Defined in:
|
|
110
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
111
|
-
*/
|
|
112
|
-
export interface ControlMetricsResponse {
|
|
113
|
-
/**
|
|
114
|
-
* Options:
|
|
115
|
-
* - proto3_optional = true
|
|
116
|
-
*/
|
|
117
|
-
recording?: boolean;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Defined in:
|
|
121
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
122
|
-
*/
|
|
123
|
-
export interface QueryMetricsRequest {
|
|
124
|
-
/**
|
|
125
|
-
* Options:
|
|
126
|
-
* - proto3_optional = true
|
|
127
|
-
*/
|
|
128
|
-
interval?: number;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Defined in:
|
|
132
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
133
|
-
*/
|
|
134
|
-
export interface QueryMetricsResponse {
|
|
135
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
136
|
-
metrics: Metrics;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Defined in:
|
|
140
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
141
|
-
*/
|
|
142
|
-
export enum LogLevel {
|
|
143
|
-
TRACE = 5,
|
|
144
|
-
DEBUG = 10,
|
|
145
|
-
INFO = 11,
|
|
146
|
-
WARN = 12,
|
|
147
|
-
ERROR = 13
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Defined in:
|
|
151
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
152
|
-
*/
|
|
153
|
-
export interface QueryLogsRequest {
|
|
154
|
-
filters?: QueryLogsRequest.Filter[];
|
|
155
|
-
/**
|
|
156
|
-
* Options:
|
|
157
|
-
* - proto3_optional = true
|
|
158
|
-
*/
|
|
159
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
160
|
-
}
|
|
161
|
-
export namespace QueryLogsRequest {
|
|
162
|
-
/**
|
|
163
|
-
* Defined in:
|
|
164
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
165
|
-
*/
|
|
166
|
-
export enum MatchingOptions {
|
|
167
|
-
INCLUSIVE = 1,
|
|
168
|
-
EXPLICIT = 2
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Defined in:
|
|
172
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
173
|
-
*/
|
|
174
|
-
export interface Filter {
|
|
175
|
-
level: LogLevel;
|
|
176
|
-
/**
|
|
177
|
-
* Options:
|
|
178
|
-
* - proto3_optional = true
|
|
179
|
-
*/
|
|
180
|
-
pattern?: string;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* Defined in:
|
|
185
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
186
|
-
*/
|
|
187
|
-
export interface LogEntry {
|
|
188
|
-
level: LogLevel;
|
|
189
|
-
message: string;
|
|
190
|
-
/**
|
|
191
|
-
* Options:
|
|
192
|
-
* - proto3_optional = true
|
|
193
|
-
*/
|
|
194
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
195
|
-
/**
|
|
196
|
-
* Options:
|
|
197
|
-
* - proto3_optional = true
|
|
198
|
-
*/
|
|
199
|
-
meta?: LogEntry.Meta;
|
|
200
|
-
/**
|
|
201
|
-
* Options:
|
|
202
|
-
* - proto3_optional = true
|
|
203
|
-
*/
|
|
204
|
-
error?: dxos_error.Error;
|
|
205
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
206
|
-
}
|
|
207
|
-
export namespace LogEntry {
|
|
208
|
-
/**
|
|
209
|
-
* Defined in:
|
|
210
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
211
|
-
*/
|
|
212
|
-
export interface Meta {
|
|
213
|
-
file: string;
|
|
214
|
-
line: number;
|
|
215
|
-
/**
|
|
216
|
-
* Options:
|
|
217
|
-
* - proto3_optional = true
|
|
218
|
-
*/
|
|
219
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
220
|
-
/**
|
|
221
|
-
* Options:
|
|
222
|
-
* - proto3_optional = true
|
|
223
|
-
*/
|
|
224
|
-
resourceId?: number;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Defined in:
|
|
229
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
230
|
-
*/
|
|
231
|
-
export interface LoggingService {
|
|
232
|
-
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
233
|
-
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
234
|
-
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
235
|
-
}
|
|
236
61
|
/**
|
|
237
62
|
* Defined in:
|
|
238
63
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -927,3 +752,178 @@ export interface NetworkService {
|
|
|
927
752
|
updateConfig: (request: UpdateConfigRequest) => Promise<void>;
|
|
928
753
|
queryStatus: (request: void) => Stream<NetworkStatus>;
|
|
929
754
|
}
|
|
755
|
+
/**
|
|
756
|
+
* Defined in:
|
|
757
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
758
|
+
*/
|
|
759
|
+
export interface Metrics {
|
|
760
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
761
|
+
values?: Metrics.KeyPair[];
|
|
762
|
+
}
|
|
763
|
+
export namespace Metrics {
|
|
764
|
+
/**
|
|
765
|
+
* Defined in:
|
|
766
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
767
|
+
*/
|
|
768
|
+
export interface KeyPair {
|
|
769
|
+
/**
|
|
770
|
+
* Options:
|
|
771
|
+
* - proto3_optional = true
|
|
772
|
+
*/
|
|
773
|
+
key?: string;
|
|
774
|
+
/**
|
|
775
|
+
* Options:
|
|
776
|
+
* - proto3_optional = true
|
|
777
|
+
*/
|
|
778
|
+
value?: dxos_value.Value;
|
|
779
|
+
/**
|
|
780
|
+
* Options:
|
|
781
|
+
* - proto3_optional = true
|
|
782
|
+
*/
|
|
783
|
+
stats?: dxos_value.Stats;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
/**
|
|
787
|
+
* Defined in:
|
|
788
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
789
|
+
*/
|
|
790
|
+
export interface ControlMetricsRequest {
|
|
791
|
+
/**
|
|
792
|
+
* Options:
|
|
793
|
+
* - proto3_optional = true
|
|
794
|
+
*/
|
|
795
|
+
reset?: boolean;
|
|
796
|
+
/**
|
|
797
|
+
* Options:
|
|
798
|
+
* - proto3_optional = true
|
|
799
|
+
*/
|
|
800
|
+
record?: boolean;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Defined in:
|
|
804
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
805
|
+
*/
|
|
806
|
+
export interface ControlMetricsResponse {
|
|
807
|
+
/**
|
|
808
|
+
* Options:
|
|
809
|
+
* - proto3_optional = true
|
|
810
|
+
*/
|
|
811
|
+
recording?: boolean;
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Defined in:
|
|
815
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
816
|
+
*/
|
|
817
|
+
export interface QueryMetricsRequest {
|
|
818
|
+
/**
|
|
819
|
+
* Options:
|
|
820
|
+
* - proto3_optional = true
|
|
821
|
+
*/
|
|
822
|
+
interval?: number;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Defined in:
|
|
826
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
827
|
+
*/
|
|
828
|
+
export interface QueryMetricsResponse {
|
|
829
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
830
|
+
metrics: Metrics;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Defined in:
|
|
834
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
835
|
+
*/
|
|
836
|
+
export enum LogLevel {
|
|
837
|
+
TRACE = 5,
|
|
838
|
+
DEBUG = 10,
|
|
839
|
+
INFO = 11,
|
|
840
|
+
WARN = 12,
|
|
841
|
+
ERROR = 13
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Defined in:
|
|
845
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
846
|
+
*/
|
|
847
|
+
export interface QueryLogsRequest {
|
|
848
|
+
filters?: QueryLogsRequest.Filter[];
|
|
849
|
+
/**
|
|
850
|
+
* Options:
|
|
851
|
+
* - proto3_optional = true
|
|
852
|
+
*/
|
|
853
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
854
|
+
}
|
|
855
|
+
export namespace QueryLogsRequest {
|
|
856
|
+
/**
|
|
857
|
+
* Defined in:
|
|
858
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
859
|
+
*/
|
|
860
|
+
export enum MatchingOptions {
|
|
861
|
+
INCLUSIVE = 1,
|
|
862
|
+
EXPLICIT = 2
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Defined in:
|
|
866
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
867
|
+
*/
|
|
868
|
+
export interface Filter {
|
|
869
|
+
level: LogLevel;
|
|
870
|
+
/**
|
|
871
|
+
* Options:
|
|
872
|
+
* - proto3_optional = true
|
|
873
|
+
*/
|
|
874
|
+
pattern?: string;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Defined in:
|
|
879
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
880
|
+
*/
|
|
881
|
+
export interface LogEntry {
|
|
882
|
+
level: LogLevel;
|
|
883
|
+
message: string;
|
|
884
|
+
/**
|
|
885
|
+
* Options:
|
|
886
|
+
* - proto3_optional = true
|
|
887
|
+
*/
|
|
888
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
889
|
+
/**
|
|
890
|
+
* Options:
|
|
891
|
+
* - proto3_optional = true
|
|
892
|
+
*/
|
|
893
|
+
meta?: LogEntry.Meta;
|
|
894
|
+
/**
|
|
895
|
+
* Options:
|
|
896
|
+
* - proto3_optional = true
|
|
897
|
+
*/
|
|
898
|
+
error?: dxos_error.Error;
|
|
899
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
900
|
+
}
|
|
901
|
+
export namespace LogEntry {
|
|
902
|
+
/**
|
|
903
|
+
* Defined in:
|
|
904
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
905
|
+
*/
|
|
906
|
+
export interface Meta {
|
|
907
|
+
file: string;
|
|
908
|
+
line: number;
|
|
909
|
+
/**
|
|
910
|
+
* Options:
|
|
911
|
+
* - proto3_optional = true
|
|
912
|
+
*/
|
|
913
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
914
|
+
/**
|
|
915
|
+
* Options:
|
|
916
|
+
* - proto3_optional = true
|
|
917
|
+
*/
|
|
918
|
+
resourceId?: number;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Defined in:
|
|
923
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
924
|
+
*/
|
|
925
|
+
export interface LoggingService {
|
|
926
|
+
controlMetrics: (request: ControlMetricsRequest) => Promise<ControlMetricsResponse>;
|
|
927
|
+
queryMetrics: (request: QueryMetricsRequest) => Stream<QueryMetricsResponse>;
|
|
928
|
+
queryLogs: (request: QueryLogsRequest) => Stream<LogEntry>;
|
|
929
|
+
}
|
|
@@ -58,37 +58,6 @@ import * as dxos_value from "../value";
|
|
|
58
58
|
import * as example_testing_data from "../../example/testing/data";
|
|
59
59
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
60
60
|
import * as google_protobuf from "../../google/protobuf";
|
|
61
|
-
/**
|
|
62
|
-
* Defined in:
|
|
63
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
64
|
-
*/
|
|
65
|
-
export interface Services {
|
|
66
|
-
spaces?: SpaceStats[];
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Defined in:
|
|
70
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
71
|
-
*/
|
|
72
|
-
export interface SpaceStats {
|
|
73
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
74
|
-
peers?: PeerStats[];
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Defined in:
|
|
78
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
79
|
-
*/
|
|
80
|
-
export interface PeerStats {
|
|
81
|
-
controlFeed: FeedStats;
|
|
82
|
-
dataFeed: FeedStats;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Defined in:
|
|
86
|
-
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
87
|
-
*/
|
|
88
|
-
export interface FeedStats {
|
|
89
|
-
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
90
|
-
length: number;
|
|
91
|
-
}
|
|
92
61
|
/**
|
|
93
62
|
* Defined in:
|
|
94
63
|
* {@link file://./../../../dxos/devtools/host.proto}
|
|
@@ -511,3 +480,34 @@ export interface SubscribeToSwarmInfoRequest {
|
|
|
511
480
|
export interface SubscribeToSwarmInfoResponse {
|
|
512
481
|
data?: dxos_devtools_swarm.SwarmInfo[];
|
|
513
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
* Defined in:
|
|
485
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
486
|
+
*/
|
|
487
|
+
export interface Services {
|
|
488
|
+
spaces?: SpaceStats[];
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Defined in:
|
|
492
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
493
|
+
*/
|
|
494
|
+
export interface SpaceStats {
|
|
495
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
496
|
+
peers?: PeerStats[];
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Defined in:
|
|
500
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
501
|
+
*/
|
|
502
|
+
export interface PeerStats {
|
|
503
|
+
controlFeed: FeedStats;
|
|
504
|
+
dataFeed: FeedStats;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Defined in:
|
|
508
|
+
* {@link file://./../../../dxos/devtools/diagnostics.proto}
|
|
509
|
+
*/
|
|
510
|
+
export interface FeedStats {
|
|
511
|
+
key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
|
|
512
|
+
length: number;
|
|
513
|
+
}
|
|
@@ -103,6 +103,17 @@ export namespace SpaceMember {
|
|
|
103
103
|
READER = 3
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Defined in:
|
|
108
|
+
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
109
|
+
*/
|
|
110
|
+
export interface MemberProfile {
|
|
111
|
+
/**
|
|
112
|
+
* Options:
|
|
113
|
+
* - proto3_optional = true
|
|
114
|
+
*/
|
|
115
|
+
profile?: ProfileDocument;
|
|
116
|
+
}
|
|
106
117
|
/**
|
|
107
118
|
* Defined in:
|
|
108
119
|
* {@link file://./../../../dxos/halo/credentials.proto}
|
|
@@ -77,14 +77,14 @@ export enum NullValue {
|
|
|
77
77
|
export interface ListValue {
|
|
78
78
|
values?: Value[];
|
|
79
79
|
}
|
|
80
|
-
export interface Any {
|
|
81
|
-
type_url: string;
|
|
82
|
-
value: Uint8Array;
|
|
83
|
-
}
|
|
84
80
|
export interface Timestamp {
|
|
85
81
|
seconds: string;
|
|
86
82
|
nanos: number;
|
|
87
83
|
}
|
|
84
|
+
export interface Any {
|
|
85
|
+
type_url: string;
|
|
86
|
+
value: Uint8Array;
|
|
87
|
+
}
|
|
88
88
|
export interface FileDescriptorSet {
|
|
89
89
|
file?: FileDescriptorProto[];
|
|
90
90
|
}
|