@dxos/protocols 0.6.1-main.faf01b2 → 0.6.1-next.f8e935e

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.
Files changed (31) hide show
  1. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts +175 -175
  2. package/dist/cjs/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  3. package/dist/cjs/src/proto/gen/dxos/client/services.js +25 -25
  4. package/dist/cjs/src/proto/gen/dxos/client/services.js.map +1 -1
  5. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts +31 -31
  6. package/dist/cjs/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  7. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts +35 -10
  8. package/dist/cjs/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  9. package/dist/cjs/src/proto/gen/index.d.ts +3 -1
  10. package/dist/cjs/src/proto/gen/index.d.ts.map +1 -1
  11. package/dist/cjs/src/proto/gen/index.js +1 -1
  12. package/dist/cjs/src/proto/gen/index.js.map +1 -1
  13. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  14. package/dist/esm/src/proto/gen/dxos/client/services.d.ts +175 -175
  15. package/dist/esm/src/proto/gen/dxos/client/services.d.ts.map +1 -1
  16. package/dist/esm/src/proto/gen/dxos/client/services.js +24 -24
  17. package/dist/esm/src/proto/gen/dxos/client/services.js.map +1 -1
  18. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts +31 -31
  19. package/dist/esm/src/proto/gen/dxos/devtools/host.d.ts.map +1 -1
  20. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts +35 -10
  21. package/dist/esm/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  22. package/dist/esm/src/proto/gen/index.d.ts +3 -1
  23. package/dist/esm/src/proto/gen/index.d.ts.map +1 -1
  24. package/dist/esm/src/proto/gen/index.js +1 -1
  25. package/dist/esm/src/proto/gen/index.js.map +1 -1
  26. package/package.json +6 -6
  27. package/src/proto/dxos/echo/service.proto +21 -5
  28. package/src/proto/gen/dxos/client/services.ts +175 -175
  29. package/src/proto/gen/dxos/devtools/host.ts +31 -31
  30. package/src/proto/gen/dxos/echo/service.ts +35 -10
  31. package/src/proto/gen/index.ts +4 -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;AAgEhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAyjB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,+n5GAA+n5G,CAAC,CAAC,CAAC;AACxr5G,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,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;AA2jB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,wk6GAAwk6G,CAAC,CAAC,CAAC;AACjo6G,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.1-main.faf01b2",
3
+ "version": "0.6.1-next.f8e935e",
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.1-main.faf01b2",
38
- "@dxos/invariant": "0.6.1-main.faf01b2",
39
- "@dxos/keys": "0.6.1-main.faf01b2",
40
- "@dxos/timeframe": "0.6.1-main.faf01b2",
41
- "@dxos/util": "0.6.1-main.faf01b2"
37
+ "@dxos/codec-protobuf": "0.6.1-next.f8e935e",
38
+ "@dxos/keys": "0.6.1-next.f8e935e",
39
+ "@dxos/invariant": "0.6.1-next.f8e935e",
40
+ "@dxos/util": "0.6.1-next.f8e935e",
41
+ "@dxos/timeframe": "0.6.1-next.f8e935e"
42
42
  },
43
43
  "devDependencies": {
44
44
  "glob": "~7.1.6"
@@ -75,17 +75,25 @@ message SyncRepoResponse {
75
75
  optional bytes sync_message = 1;
76
76
  }
77
77
 
78
+ message DocHeadsList {
79
+ message Entry {
80
+ string document_id = 1;
81
+ repeated string heads = 2;
82
+ }
83
+
84
+ repeated Entry entries = 1;
85
+ }
86
+
78
87
  message GetDocumentHeadsRequest {
79
88
  repeated string document_ids = 1;
80
89
  }
81
90
 
82
91
  message GetDocumentHeadsResponse {
83
- message DocState {
84
- string document_id = 1;
85
- repeated string heads = 2;
86
- }
92
+ DocHeadsList heads = 1;
93
+ }
87
94
 
88
- repeated DocState states = 1;
95
+ message WaitUntilHeadsReplicatedRequest {
96
+ DocHeadsList heads = 1;
89
97
  }
90
98
 
91
99
  message ReIndexHeadsRequest {
@@ -103,5 +111,13 @@ service DataService {
103
111
  rpc SyncRepo(SyncRepoRequest) returns (stream SyncRepoResponse);
104
112
  rpc SendSyncMessage(SyncRepoRequest) returns (google.protobuf.Empty); // TODO(dmaretskyi): Bidirectional streams.
105
113
  rpc GetDocumentHeads(GetDocumentHeadsRequest) returns (GetDocumentHeadsResponse);
114
+
115
+ /// Wait until the we have the specified changes on the worker locally. Does not take into account the index or client.
116
+ rpc WaitUntilHeadsReplicated(WaitUntilHeadsReplicatedRequest) returns (google.protobuf.Empty);
117
+
118
+ /// Update heads index for selected docuemnts.
106
119
  rpc ReIndexHeads(ReIndexHeadsRequest) returns (google.protobuf.Empty);
120
+
121
+ /// Wait for any pending index updates.
122
+ rpc UpdateIndexes(google.protobuf.Empty) returns (google.protobuf.Empty);
107
123
  }
@@ -62,6 +62,181 @@ 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
+ }
65
240
  /**
66
241
  * Defined in:
67
242
  * {@link file://./../../../dxos/client/services.proto}
@@ -1044,178 +1219,3 @@ export interface NetworkService {
1044
1219
  updateConfig: (request: UpdateConfigRequest, options?: RequestOptions) => Promise<void>;
1045
1220
  queryStatus: (request: void, options?: RequestOptions) => Stream<NetworkStatus>;
1046
1221
  }
1047
- /**
1048
- * Defined in:
1049
- * {@link file://./../../../dxos/client/logging.proto}
1050
- */
1051
- export interface Metrics {
1052
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1053
- values?: Metrics.KeyPair[];
1054
- }
1055
- export namespace Metrics {
1056
- /**
1057
- * Defined in:
1058
- * {@link file://./../../../dxos/client/logging.proto}
1059
- */
1060
- export interface KeyPair {
1061
- /**
1062
- * Options:
1063
- * - proto3_optional = true
1064
- */
1065
- key?: string;
1066
- /**
1067
- * Options:
1068
- * - proto3_optional = true
1069
- */
1070
- value?: dxos_value.Value;
1071
- /**
1072
- * Options:
1073
- * - proto3_optional = true
1074
- */
1075
- stats?: dxos_value.Stats;
1076
- }
1077
- }
1078
- /**
1079
- * Defined in:
1080
- * {@link file://./../../../dxos/client/logging.proto}
1081
- */
1082
- export interface ControlMetricsRequest {
1083
- /**
1084
- * Options:
1085
- * - proto3_optional = true
1086
- */
1087
- reset?: boolean;
1088
- /**
1089
- * Options:
1090
- * - proto3_optional = true
1091
- */
1092
- record?: boolean;
1093
- }
1094
- /**
1095
- * Defined in:
1096
- * {@link file://./../../../dxos/client/logging.proto}
1097
- */
1098
- export interface ControlMetricsResponse {
1099
- /**
1100
- * Options:
1101
- * - proto3_optional = true
1102
- */
1103
- recording?: boolean;
1104
- }
1105
- /**
1106
- * Defined in:
1107
- * {@link file://./../../../dxos/client/logging.proto}
1108
- */
1109
- export interface QueryMetricsRequest {
1110
- /**
1111
- * Options:
1112
- * - proto3_optional = true
1113
- */
1114
- interval?: number;
1115
- }
1116
- /**
1117
- * Defined in:
1118
- * {@link file://./../../../dxos/client/logging.proto}
1119
- */
1120
- export interface QueryMetricsResponse {
1121
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1122
- metrics: Metrics;
1123
- }
1124
- /**
1125
- * Defined in:
1126
- * {@link file://./../../../dxos/client/logging.proto}
1127
- */
1128
- export enum LogLevel {
1129
- TRACE = 5,
1130
- DEBUG = 10,
1131
- INFO = 11,
1132
- WARN = 12,
1133
- ERROR = 13
1134
- }
1135
- /**
1136
- * Defined in:
1137
- * {@link file://./../../../dxos/client/logging.proto}
1138
- */
1139
- export interface QueryLogsRequest {
1140
- filters?: QueryLogsRequest.Filter[];
1141
- /**
1142
- * Options:
1143
- * - proto3_optional = true
1144
- */
1145
- options?: QueryLogsRequest.MatchingOptions;
1146
- }
1147
- export namespace QueryLogsRequest {
1148
- /**
1149
- * Defined in:
1150
- * {@link file://./../../../dxos/client/logging.proto}
1151
- */
1152
- export enum MatchingOptions {
1153
- INCLUSIVE = 1,
1154
- EXPLICIT = 2
1155
- }
1156
- /**
1157
- * Defined in:
1158
- * {@link file://./../../../dxos/client/logging.proto}
1159
- */
1160
- export interface Filter {
1161
- level: LogLevel;
1162
- /**
1163
- * Options:
1164
- * - proto3_optional = true
1165
- */
1166
- pattern?: string;
1167
- }
1168
- }
1169
- /**
1170
- * Defined in:
1171
- * {@link file://./../../../dxos/client/logging.proto}
1172
- */
1173
- export interface LogEntry {
1174
- level: LogLevel;
1175
- message: string;
1176
- /**
1177
- * Options:
1178
- * - proto3_optional = true
1179
- */
1180
- context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1181
- /**
1182
- * Options:
1183
- * - proto3_optional = true
1184
- */
1185
- meta?: LogEntry.Meta;
1186
- /**
1187
- * Options:
1188
- * - proto3_optional = true
1189
- */
1190
- error?: dxos_error.Error;
1191
- timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
1192
- }
1193
- export namespace LogEntry {
1194
- /**
1195
- * Defined in:
1196
- * {@link file://./../../../dxos/client/logging.proto}
1197
- */
1198
- export interface Meta {
1199
- file: string;
1200
- line: number;
1201
- /**
1202
- * Options:
1203
- * - proto3_optional = true
1204
- */
1205
- scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
1206
- /**
1207
- * Options:
1208
- * - proto3_optional = true
1209
- */
1210
- resourceId?: number;
1211
- }
1212
- }
1213
- /**
1214
- * Defined in:
1215
- * {@link file://./../../../dxos/client/logging.proto}
1216
- */
1217
- export interface LoggingService {
1218
- controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
1219
- queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
1220
- queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
1221
- }
@@ -62,6 +62,37 @@ 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/devtools/diagnostics.proto}
68
+ */
69
+ export interface Services {
70
+ spaces?: SpaceStats[];
71
+ }
72
+ /**
73
+ * Defined in:
74
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
75
+ */
76
+ export interface SpaceStats {
77
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
78
+ peers?: PeerStats[];
79
+ }
80
+ /**
81
+ * Defined in:
82
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
83
+ */
84
+ export interface PeerStats {
85
+ controlFeed: FeedStats;
86
+ dataFeed: FeedStats;
87
+ }
88
+ /**
89
+ * Defined in:
90
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
91
+ */
92
+ export interface FeedStats {
93
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
94
+ length: number;
95
+ }
65
96
  /**
66
97
  * Defined in:
67
98
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -484,34 +515,3 @@ export interface SubscribeToSwarmInfoRequest {
484
515
  export interface SubscribeToSwarmInfoResponse {
485
516
  data?: dxos_devtools_swarm.SwarmInfo[];
486
517
  }
487
- /**
488
- * Defined in:
489
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
490
- */
491
- export interface Services {
492
- spaces?: SpaceStats[];
493
- }
494
- /**
495
- * Defined in:
496
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
497
- */
498
- export interface SpaceStats {
499
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
500
- peers?: PeerStats[];
501
- }
502
- /**
503
- * Defined in:
504
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
505
- */
506
- export interface PeerStats {
507
- controlFeed: FeedStats;
508
- dataFeed: FeedStats;
509
- }
510
- /**
511
- * Defined in:
512
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
513
- */
514
- export interface FeedStats {
515
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
516
- length: number;
517
- }
@@ -187,6 +187,23 @@ export interface SyncRepoResponse {
187
187
  */
188
188
  syncMessage?: Uint8Array;
189
189
  }
190
+ /**
191
+ * Defined in:
192
+ * {@link file://./../../../dxos/echo/service.proto}
193
+ */
194
+ export interface DocHeadsList {
195
+ entries?: DocHeadsList.Entry[];
196
+ }
197
+ export namespace DocHeadsList {
198
+ /**
199
+ * Defined in:
200
+ * {@link file://./../../../dxos/echo/service.proto}
201
+ */
202
+ export interface Entry {
203
+ documentId: string;
204
+ heads?: string[];
205
+ }
206
+ }
190
207
  /**
191
208
  * Defined in:
192
209
  * {@link file://./../../../dxos/echo/service.proto}
@@ -199,17 +216,14 @@ export interface GetDocumentHeadsRequest {
199
216
  * {@link file://./../../../dxos/echo/service.proto}
200
217
  */
201
218
  export interface GetDocumentHeadsResponse {
202
- states?: GetDocumentHeadsResponse.DocState[];
219
+ heads: DocHeadsList;
203
220
  }
204
- export namespace GetDocumentHeadsResponse {
205
- /**
206
- * Defined in:
207
- * {@link file://./../../../dxos/echo/service.proto}
208
- */
209
- export interface DocState {
210
- documentId: string;
211
- heads?: string[];
212
- }
221
+ /**
222
+ * Defined in:
223
+ * {@link file://./../../../dxos/echo/service.proto}
224
+ */
225
+ export interface WaitUntilHeadsReplicatedRequest {
226
+ heads: DocHeadsList;
213
227
  }
214
228
  /**
215
229
  * Defined in:
@@ -230,5 +244,16 @@ export interface DataService {
230
244
  syncRepo: (request: SyncRepoRequest, options?: RequestOptions) => Stream<SyncRepoResponse>;
231
245
  sendSyncMessage: (request: SyncRepoRequest, options?: RequestOptions) => Promise<void>;
232
246
  getDocumentHeads: (request: GetDocumentHeadsRequest, options?: RequestOptions) => Promise<GetDocumentHeadsResponse>;
247
+ /**
248
+ * Wait until the we have the specified changes on the worker locally. Does not take into account the index or client.
249
+ */
250
+ waitUntilHeadsReplicated: (request: WaitUntilHeadsReplicatedRequest, options?: RequestOptions) => Promise<void>;
251
+ /**
252
+ * Update heads index for selected docuemnts.
253
+ */
233
254
  reIndexHeads: (request: ReIndexHeadsRequest, options?: RequestOptions) => Promise<void>;
255
+ /**
256
+ * Wait for any pending index updates.
257
+ */
258
+ updateIndexes: (request: void, options?: RequestOptions) => Promise<void>;
234
259
  }