@dxos/protocols 0.6.2 → 0.6.3-main.226a8ae
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 +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/echo/service.d.ts +25 -0
- package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/cjs/src/proto/gen/index.d.ts +3 -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 +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/echo/service.d.ts +25 -0
- package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
- package/dist/esm/src/proto/gen/index.d.ts +3 -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 +6 -6
- package/src/proto/dxos/client/services.proto +2 -0
- package/src/proto/dxos/echo/service.proto +16 -0
- package/src/proto/gen/dxos/client/services.ts +182 -175
- package/src/proto/gen/dxos/echo/service.ts +25 -0
- package/src/proto/gen/index.ts +4 -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;AAgEhE,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;AAgEhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA0jB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,oq7GAAoq7G,CAAC,CAAC,CAAC;AAC7t7G,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.6.
|
|
3
|
+
"version": "0.6.3-main.226a8ae",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@effect/schema": "^0.67.16",
|
|
37
|
-
"@dxos/codec-protobuf": "0.6.
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/timeframe": "0.6.
|
|
41
|
-
"@dxos/util": "0.6.
|
|
37
|
+
"@dxos/codec-protobuf": "0.6.3-main.226a8ae",
|
|
38
|
+
"@dxos/invariant": "0.6.3-main.226a8ae",
|
|
39
|
+
"@dxos/keys": "0.6.3-main.226a8ae",
|
|
40
|
+
"@dxos/timeframe": "0.6.3-main.226a8ae",
|
|
41
|
+
"@dxos/util": "0.6.3-main.226a8ae"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"glob": "~7.1.6"
|
|
@@ -389,6 +389,8 @@ message CreateEpochRequest {
|
|
|
389
389
|
message CreateEpochResponse {
|
|
390
390
|
/// Credential of the new epoch.
|
|
391
391
|
optional dxos.halo.credentials.Credential epoch_credential = 1;
|
|
392
|
+
/// Control pipeline timeframe.
|
|
393
|
+
optional dxos.echo.timeframe.TimeframeVector control_timeframe = 2;
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
message UpdateMemberRoleRequest {
|
|
@@ -93,6 +93,19 @@ message ReIndexHeadsRequest {
|
|
|
93
93
|
repeated string document_ids = 1;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
message GetSpaceSyncStateRequest {
|
|
97
|
+
string space_id = 1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message SpaceSyncState {
|
|
101
|
+
message PeerState {
|
|
102
|
+
string peer_id = 1;
|
|
103
|
+
int32 documents_to_reconcile = 2;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
repeated PeerState peers = 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
96
109
|
service DataService {
|
|
97
110
|
/**
|
|
98
111
|
* Subscribe to incremental updates of multiple automerge socuments.
|
|
@@ -123,4 +136,7 @@ service DataService {
|
|
|
123
136
|
|
|
124
137
|
/// Wait for any pending index updates.
|
|
125
138
|
rpc UpdateIndexes(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
139
|
+
|
|
140
|
+
// TODO(dmaretskyi): Stream subscription.
|
|
141
|
+
rpc GetSpaceSyncState(GetSpaceSyncStateRequest) returns (SpaceSyncState);
|
|
126
142
|
}
|
|
@@ -62,181 +62,6 @@ import * as dxos_value from "../value";
|
|
|
62
62
|
import * as example_testing_data from "../../example/testing/data";
|
|
63
63
|
import * as example_testing_rpc from "../../example/testing/rpc";
|
|
64
64
|
import * as google_protobuf from "../../google/protobuf";
|
|
65
|
-
/**
|
|
66
|
-
* Defined in:
|
|
67
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
68
|
-
*/
|
|
69
|
-
export interface Metrics {
|
|
70
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
71
|
-
values?: Metrics.KeyPair[];
|
|
72
|
-
}
|
|
73
|
-
export namespace Metrics {
|
|
74
|
-
/**
|
|
75
|
-
* Defined in:
|
|
76
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
77
|
-
*/
|
|
78
|
-
export interface KeyPair {
|
|
79
|
-
/**
|
|
80
|
-
* Options:
|
|
81
|
-
* - proto3_optional = true
|
|
82
|
-
*/
|
|
83
|
-
key?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Options:
|
|
86
|
-
* - proto3_optional = true
|
|
87
|
-
*/
|
|
88
|
-
value?: dxos_value.Value;
|
|
89
|
-
/**
|
|
90
|
-
* Options:
|
|
91
|
-
* - proto3_optional = true
|
|
92
|
-
*/
|
|
93
|
-
stats?: dxos_value.Stats;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Defined in:
|
|
98
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
99
|
-
*/
|
|
100
|
-
export interface ControlMetricsRequest {
|
|
101
|
-
/**
|
|
102
|
-
* Options:
|
|
103
|
-
* - proto3_optional = true
|
|
104
|
-
*/
|
|
105
|
-
reset?: boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Options:
|
|
108
|
-
* - proto3_optional = true
|
|
109
|
-
*/
|
|
110
|
-
record?: boolean;
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Defined in:
|
|
114
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
115
|
-
*/
|
|
116
|
-
export interface ControlMetricsResponse {
|
|
117
|
-
/**
|
|
118
|
-
* Options:
|
|
119
|
-
* - proto3_optional = true
|
|
120
|
-
*/
|
|
121
|
-
recording?: boolean;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Defined in:
|
|
125
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
126
|
-
*/
|
|
127
|
-
export interface QueryMetricsRequest {
|
|
128
|
-
/**
|
|
129
|
-
* Options:
|
|
130
|
-
* - proto3_optional = true
|
|
131
|
-
*/
|
|
132
|
-
interval?: number;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* Defined in:
|
|
136
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
137
|
-
*/
|
|
138
|
-
export interface QueryMetricsResponse {
|
|
139
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
140
|
-
metrics: Metrics;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Defined in:
|
|
144
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
145
|
-
*/
|
|
146
|
-
export enum LogLevel {
|
|
147
|
-
TRACE = 5,
|
|
148
|
-
DEBUG = 10,
|
|
149
|
-
INFO = 11,
|
|
150
|
-
WARN = 12,
|
|
151
|
-
ERROR = 13
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Defined in:
|
|
155
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
156
|
-
*/
|
|
157
|
-
export interface QueryLogsRequest {
|
|
158
|
-
filters?: QueryLogsRequest.Filter[];
|
|
159
|
-
/**
|
|
160
|
-
* Options:
|
|
161
|
-
* - proto3_optional = true
|
|
162
|
-
*/
|
|
163
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
164
|
-
}
|
|
165
|
-
export namespace QueryLogsRequest {
|
|
166
|
-
/**
|
|
167
|
-
* Defined in:
|
|
168
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
169
|
-
*/
|
|
170
|
-
export enum MatchingOptions {
|
|
171
|
-
INCLUSIVE = 1,
|
|
172
|
-
EXPLICIT = 2
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Defined in:
|
|
176
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
177
|
-
*/
|
|
178
|
-
export interface Filter {
|
|
179
|
-
level: LogLevel;
|
|
180
|
-
/**
|
|
181
|
-
* Options:
|
|
182
|
-
* - proto3_optional = true
|
|
183
|
-
*/
|
|
184
|
-
pattern?: string;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Defined in:
|
|
189
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
190
|
-
*/
|
|
191
|
-
export interface LogEntry {
|
|
192
|
-
level: LogLevel;
|
|
193
|
-
message: string;
|
|
194
|
-
/**
|
|
195
|
-
* Options:
|
|
196
|
-
* - proto3_optional = true
|
|
197
|
-
*/
|
|
198
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
199
|
-
/**
|
|
200
|
-
* Options:
|
|
201
|
-
* - proto3_optional = true
|
|
202
|
-
*/
|
|
203
|
-
meta?: LogEntry.Meta;
|
|
204
|
-
/**
|
|
205
|
-
* Options:
|
|
206
|
-
* - proto3_optional = true
|
|
207
|
-
*/
|
|
208
|
-
error?: dxos_error.Error;
|
|
209
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
210
|
-
}
|
|
211
|
-
export namespace LogEntry {
|
|
212
|
-
/**
|
|
213
|
-
* Defined in:
|
|
214
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
215
|
-
*/
|
|
216
|
-
export interface Meta {
|
|
217
|
-
file: string;
|
|
218
|
-
line: number;
|
|
219
|
-
/**
|
|
220
|
-
* Options:
|
|
221
|
-
* - proto3_optional = true
|
|
222
|
-
*/
|
|
223
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
224
|
-
/**
|
|
225
|
-
* Options:
|
|
226
|
-
* - proto3_optional = true
|
|
227
|
-
*/
|
|
228
|
-
resourceId?: number;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Defined in:
|
|
233
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
234
|
-
*/
|
|
235
|
-
export interface LoggingService {
|
|
236
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
237
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
238
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
239
|
-
}
|
|
240
65
|
/**
|
|
241
66
|
* Defined in:
|
|
242
67
|
* {@link file://./../../../dxos/client/services.proto}
|
|
@@ -853,6 +678,13 @@ export interface CreateEpochResponse {
|
|
|
853
678
|
* - proto3_optional = true
|
|
854
679
|
*/
|
|
855
680
|
epochCredential?: dxos_halo_credentials.Credential;
|
|
681
|
+
/**
|
|
682
|
+
* Control pipeline timeframe.
|
|
683
|
+
*
|
|
684
|
+
* Options:
|
|
685
|
+
* - proto3_optional = true
|
|
686
|
+
*/
|
|
687
|
+
controlTimeframe?: ReturnType<(typeof substitutions)["dxos.echo.timeframe.TimeframeVector"]["decode"]>;
|
|
856
688
|
}
|
|
857
689
|
/**
|
|
858
690
|
* Defined in:
|
|
@@ -1219,3 +1051,178 @@ export interface NetworkService {
|
|
|
1219
1051
|
updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
|
|
1220
1052
|
queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
|
|
1221
1053
|
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Defined in:
|
|
1056
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1057
|
+
*/
|
|
1058
|
+
export interface Metrics {
|
|
1059
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1060
|
+
values?: Metrics.KeyPair[];
|
|
1061
|
+
}
|
|
1062
|
+
export namespace Metrics {
|
|
1063
|
+
/**
|
|
1064
|
+
* Defined in:
|
|
1065
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1066
|
+
*/
|
|
1067
|
+
export interface KeyPair {
|
|
1068
|
+
/**
|
|
1069
|
+
* Options:
|
|
1070
|
+
* - proto3_optional = true
|
|
1071
|
+
*/
|
|
1072
|
+
key?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* Options:
|
|
1075
|
+
* - proto3_optional = true
|
|
1076
|
+
*/
|
|
1077
|
+
value?: dxos_value.Value;
|
|
1078
|
+
/**
|
|
1079
|
+
* Options:
|
|
1080
|
+
* - proto3_optional = true
|
|
1081
|
+
*/
|
|
1082
|
+
stats?: dxos_value.Stats;
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Defined in:
|
|
1087
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1088
|
+
*/
|
|
1089
|
+
export interface ControlMetricsRequest {
|
|
1090
|
+
/**
|
|
1091
|
+
* Options:
|
|
1092
|
+
* - proto3_optional = true
|
|
1093
|
+
*/
|
|
1094
|
+
reset?: boolean;
|
|
1095
|
+
/**
|
|
1096
|
+
* Options:
|
|
1097
|
+
* - proto3_optional = true
|
|
1098
|
+
*/
|
|
1099
|
+
record?: boolean;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Defined in:
|
|
1103
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1104
|
+
*/
|
|
1105
|
+
export interface ControlMetricsResponse {
|
|
1106
|
+
/**
|
|
1107
|
+
* Options:
|
|
1108
|
+
* - proto3_optional = true
|
|
1109
|
+
*/
|
|
1110
|
+
recording?: boolean;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Defined in:
|
|
1114
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1115
|
+
*/
|
|
1116
|
+
export interface QueryMetricsRequest {
|
|
1117
|
+
/**
|
|
1118
|
+
* Options:
|
|
1119
|
+
* - proto3_optional = true
|
|
1120
|
+
*/
|
|
1121
|
+
interval?: number;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* Defined in:
|
|
1125
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1126
|
+
*/
|
|
1127
|
+
export interface QueryMetricsResponse {
|
|
1128
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1129
|
+
metrics: Metrics;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Defined in:
|
|
1133
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1134
|
+
*/
|
|
1135
|
+
export enum LogLevel {
|
|
1136
|
+
TRACE = 5,
|
|
1137
|
+
DEBUG = 10,
|
|
1138
|
+
INFO = 11,
|
|
1139
|
+
WARN = 12,
|
|
1140
|
+
ERROR = 13
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
* Defined in:
|
|
1144
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1145
|
+
*/
|
|
1146
|
+
export interface QueryLogsRequest {
|
|
1147
|
+
filters?: QueryLogsRequest.Filter[];
|
|
1148
|
+
/**
|
|
1149
|
+
* Options:
|
|
1150
|
+
* - proto3_optional = true
|
|
1151
|
+
*/
|
|
1152
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
1153
|
+
}
|
|
1154
|
+
export namespace QueryLogsRequest {
|
|
1155
|
+
/**
|
|
1156
|
+
* Defined in:
|
|
1157
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1158
|
+
*/
|
|
1159
|
+
export enum MatchingOptions {
|
|
1160
|
+
INCLUSIVE = 1,
|
|
1161
|
+
EXPLICIT = 2
|
|
1162
|
+
}
|
|
1163
|
+
/**
|
|
1164
|
+
* Defined in:
|
|
1165
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1166
|
+
*/
|
|
1167
|
+
export interface Filter {
|
|
1168
|
+
level: LogLevel;
|
|
1169
|
+
/**
|
|
1170
|
+
* Options:
|
|
1171
|
+
* - proto3_optional = true
|
|
1172
|
+
*/
|
|
1173
|
+
pattern?: string;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* Defined in:
|
|
1178
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1179
|
+
*/
|
|
1180
|
+
export interface LogEntry {
|
|
1181
|
+
level: LogLevel;
|
|
1182
|
+
message: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Options:
|
|
1185
|
+
* - proto3_optional = true
|
|
1186
|
+
*/
|
|
1187
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Options:
|
|
1190
|
+
* - proto3_optional = true
|
|
1191
|
+
*/
|
|
1192
|
+
meta?: LogEntry.Meta;
|
|
1193
|
+
/**
|
|
1194
|
+
* Options:
|
|
1195
|
+
* - proto3_optional = true
|
|
1196
|
+
*/
|
|
1197
|
+
error?: dxos_error.Error;
|
|
1198
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
1199
|
+
}
|
|
1200
|
+
export namespace LogEntry {
|
|
1201
|
+
/**
|
|
1202
|
+
* Defined in:
|
|
1203
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1204
|
+
*/
|
|
1205
|
+
export interface Meta {
|
|
1206
|
+
file: string;
|
|
1207
|
+
line: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* Options:
|
|
1210
|
+
* - proto3_optional = true
|
|
1211
|
+
*/
|
|
1212
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Options:
|
|
1215
|
+
* - proto3_optional = true
|
|
1216
|
+
*/
|
|
1217
|
+
resourceId?: number;
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Defined in:
|
|
1222
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
1223
|
+
*/
|
|
1224
|
+
export interface LoggingService {
|
|
1225
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
1226
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
1227
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
1228
|
+
}
|
|
@@ -183,6 +183,30 @@ export interface WaitUntilHeadsReplicatedRequest {
|
|
|
183
183
|
export interface ReIndexHeadsRequest {
|
|
184
184
|
documentIds?: string[];
|
|
185
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* Defined in:
|
|
188
|
+
* {@link file://./../../../dxos/echo/service.proto}
|
|
189
|
+
*/
|
|
190
|
+
export interface GetSpaceSyncStateRequest {
|
|
191
|
+
spaceId: string;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Defined in:
|
|
195
|
+
* {@link file://./../../../dxos/echo/service.proto}
|
|
196
|
+
*/
|
|
197
|
+
export interface SpaceSyncState {
|
|
198
|
+
peers?: SpaceSyncState.PeerState[];
|
|
199
|
+
}
|
|
200
|
+
export namespace SpaceSyncState {
|
|
201
|
+
/**
|
|
202
|
+
* Defined in:
|
|
203
|
+
* {@link file://./../../../dxos/echo/service.proto}
|
|
204
|
+
*/
|
|
205
|
+
export interface PeerState {
|
|
206
|
+
peerId: string;
|
|
207
|
+
documentsToReconcile: number;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
186
210
|
/**
|
|
187
211
|
* Defined in:
|
|
188
212
|
* {@link file://./../../../dxos/echo/service.proto}
|
|
@@ -217,4 +241,5 @@ export interface DataService {
|
|
|
217
241
|
* Wait for any pending index updates.
|
|
218
242
|
*/
|
|
219
243
|
updateIndexes: (request: void, options?: RequestOptions) => Promise<void>;
|
|
244
|
+
getSpaceSyncState: (request: GetSpaceSyncStateRequest, options?: RequestOptions) => Promise<SpaceSyncState>;
|
|
220
245
|
}
|