@dxos/protocols 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/src/proto/gen/dxos/client/services.d.ts +239 -239
- package/dist/src/proto/gen/dxos/client/services.d.ts.map +1 -1
- package/dist/src/proto/gen/dxos/client/services.js +27 -27
- package/dist/src/proto/gen/dxos/client/services.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/proto/gen/dxos/client/services.ts +239 -239
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/protocols",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.9735255",
|
|
4
4
|
"description": "Protobuf definitions for DXOS protocols.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@bufbuild/protobuf": "2.10.1",
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
67
|
+
"@dxos/effect": "0.8.4-main.9735255",
|
|
68
|
+
"@dxos/codec-protobuf": "0.8.4-main.9735255",
|
|
69
|
+
"@dxos/invariant": "0.8.4-main.9735255",
|
|
70
|
+
"@dxos/keys": "0.8.4-main.9735255",
|
|
71
|
+
"@dxos/timeframe": "0.8.4-main.9735255",
|
|
72
|
+
"@dxos/util": "0.8.4-main.9735255",
|
|
73
|
+
"@dxos/errors": "0.8.4-main.9735255"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@bufbuild/buf": "1.61.0",
|
|
77
77
|
"@bufbuild/protoc-gen-es": "2.10.1",
|
|
78
78
|
"effect": "3.19.11",
|
|
79
|
-
"@dxos/protobuf-compiler": "0.8.4-main.
|
|
79
|
+
"@dxos/protobuf-compiler": "0.8.4-main.9735255"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"effect": "3.19.11"
|
|
@@ -65,184 +65,6 @@ import * as dxos_value from "../value.js";
|
|
|
65
65
|
import * as example_testing_data from "../../example/testing/data.js";
|
|
66
66
|
import * as example_testing_rpc from "../../example/testing/rpc.js";
|
|
67
67
|
import * as google_protobuf from "../../google/protobuf.js";
|
|
68
|
-
/**
|
|
69
|
-
* Defined in:
|
|
70
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
71
|
-
*/
|
|
72
|
-
export interface Metrics {
|
|
73
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
74
|
-
values?: Metrics.KeyPair[];
|
|
75
|
-
}
|
|
76
|
-
export namespace Metrics {
|
|
77
|
-
/**
|
|
78
|
-
* Defined in:
|
|
79
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
80
|
-
*/
|
|
81
|
-
export interface KeyPair {
|
|
82
|
-
/**
|
|
83
|
-
* Options:
|
|
84
|
-
* - proto3_optional = true
|
|
85
|
-
*/
|
|
86
|
-
key?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Options:
|
|
89
|
-
* - proto3_optional = true
|
|
90
|
-
*/
|
|
91
|
-
value?: dxos_value.Value;
|
|
92
|
-
/**
|
|
93
|
-
* Options:
|
|
94
|
-
* - proto3_optional = true
|
|
95
|
-
*/
|
|
96
|
-
stats?: dxos_value.Stats;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Defined in:
|
|
101
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
102
|
-
*/
|
|
103
|
-
export interface ControlMetricsRequest {
|
|
104
|
-
/**
|
|
105
|
-
* Options:
|
|
106
|
-
* - proto3_optional = true
|
|
107
|
-
*/
|
|
108
|
-
reset?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Options:
|
|
111
|
-
* - proto3_optional = true
|
|
112
|
-
*/
|
|
113
|
-
record?: boolean;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Defined in:
|
|
117
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
118
|
-
*/
|
|
119
|
-
export interface ControlMetricsResponse {
|
|
120
|
-
/**
|
|
121
|
-
* Options:
|
|
122
|
-
* - proto3_optional = true
|
|
123
|
-
*/
|
|
124
|
-
recording?: boolean;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Defined in:
|
|
128
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
129
|
-
*/
|
|
130
|
-
export interface QueryMetricsRequest {
|
|
131
|
-
/**
|
|
132
|
-
* Options:
|
|
133
|
-
* - proto3_optional = true
|
|
134
|
-
*/
|
|
135
|
-
interval?: number;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Defined in:
|
|
139
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
140
|
-
*/
|
|
141
|
-
export interface QueryMetricsResponse {
|
|
142
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
143
|
-
metrics: Metrics;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Defined in:
|
|
147
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
148
|
-
*/
|
|
149
|
-
export enum LogLevel {
|
|
150
|
-
NONE = 0,
|
|
151
|
-
TRACE = 5,
|
|
152
|
-
DEBUG = 10,
|
|
153
|
-
VERBOSE = 11,
|
|
154
|
-
INFO = 12,
|
|
155
|
-
WARN = 13,
|
|
156
|
-
ERROR = 14
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Defined in:
|
|
160
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
161
|
-
*/
|
|
162
|
-
export interface QueryLogsRequest {
|
|
163
|
-
filters?: QueryLogsRequest.Filter[];
|
|
164
|
-
/**
|
|
165
|
-
* Options:
|
|
166
|
-
* - proto3_optional = true
|
|
167
|
-
*/
|
|
168
|
-
options?: QueryLogsRequest.MatchingOptions;
|
|
169
|
-
}
|
|
170
|
-
export namespace QueryLogsRequest {
|
|
171
|
-
/**
|
|
172
|
-
* Defined in:
|
|
173
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
174
|
-
*/
|
|
175
|
-
export enum MatchingOptions {
|
|
176
|
-
NONE = 0,
|
|
177
|
-
INCLUSIVE = 1,
|
|
178
|
-
EXPLICIT = 2
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* Defined in:
|
|
182
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
183
|
-
*/
|
|
184
|
-
export interface Filter {
|
|
185
|
-
level: LogLevel;
|
|
186
|
-
/**
|
|
187
|
-
* Options:
|
|
188
|
-
* - proto3_optional = true
|
|
189
|
-
*/
|
|
190
|
-
pattern?: string;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* Defined in:
|
|
195
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
196
|
-
*/
|
|
197
|
-
export interface LogEntry {
|
|
198
|
-
level: LogLevel;
|
|
199
|
-
message: string;
|
|
200
|
-
/**
|
|
201
|
-
* Options:
|
|
202
|
-
* - proto3_optional = true
|
|
203
|
-
*/
|
|
204
|
-
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
205
|
-
/**
|
|
206
|
-
* Options:
|
|
207
|
-
* - proto3_optional = true
|
|
208
|
-
*/
|
|
209
|
-
meta?: LogEntry.Meta;
|
|
210
|
-
/**
|
|
211
|
-
* Options:
|
|
212
|
-
* - proto3_optional = true
|
|
213
|
-
*/
|
|
214
|
-
error?: dxos_error.Error;
|
|
215
|
-
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
216
|
-
}
|
|
217
|
-
export namespace LogEntry {
|
|
218
|
-
/**
|
|
219
|
-
* Defined in:
|
|
220
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
221
|
-
*/
|
|
222
|
-
export interface Meta {
|
|
223
|
-
file: string;
|
|
224
|
-
line: number;
|
|
225
|
-
/**
|
|
226
|
-
* Options:
|
|
227
|
-
* - proto3_optional = true
|
|
228
|
-
*/
|
|
229
|
-
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
230
|
-
/**
|
|
231
|
-
* Options:
|
|
232
|
-
* - proto3_optional = true
|
|
233
|
-
*/
|
|
234
|
-
resourceId?: number;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Defined in:
|
|
239
|
-
* {@link file://./../../../dxos/client/logging.proto}
|
|
240
|
-
*/
|
|
241
|
-
export interface LoggingService {
|
|
242
|
-
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
243
|
-
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
244
|
-
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
245
|
-
}
|
|
246
68
|
/**
|
|
247
69
|
* Defined in:
|
|
248
70
|
* {@link file://./../../../dxos/client/invitation.proto}
|
|
@@ -437,106 +259,181 @@ export namespace Invitation {
|
|
|
437
259
|
}
|
|
438
260
|
/**
|
|
439
261
|
* Defined in:
|
|
440
|
-
* {@link file://./../../../dxos/client/
|
|
262
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
441
263
|
*/
|
|
442
|
-
export interface
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
*/
|
|
448
|
-
queuesNamespace?: string;
|
|
449
|
-
/**
|
|
450
|
-
* Queries the whole space if missing.
|
|
451
|
-
*/
|
|
452
|
-
queueIds?: string[];
|
|
453
|
-
/**
|
|
454
|
-
* Filter items after this cursor. Exclusive.
|
|
455
|
-
*
|
|
456
|
-
* Options:
|
|
457
|
-
* - proto3_optional = true
|
|
458
|
-
*/
|
|
459
|
-
after?: string;
|
|
264
|
+
export interface Metrics {
|
|
265
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
266
|
+
values?: Metrics.KeyPair[];
|
|
267
|
+
}
|
|
268
|
+
export namespace Metrics {
|
|
460
269
|
/**
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
* Options:
|
|
464
|
-
* - proto3_optional = true
|
|
270
|
+
* Defined in:
|
|
271
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
465
272
|
*/
|
|
466
|
-
|
|
273
|
+
export interface KeyPair {
|
|
274
|
+
/**
|
|
275
|
+
* Options:
|
|
276
|
+
* - proto3_optional = true
|
|
277
|
+
*/
|
|
278
|
+
key?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Options:
|
|
281
|
+
* - proto3_optional = true
|
|
282
|
+
*/
|
|
283
|
+
value?: dxos_value.Value;
|
|
284
|
+
/**
|
|
285
|
+
* Options:
|
|
286
|
+
* - proto3_optional = true
|
|
287
|
+
*/
|
|
288
|
+
stats?: dxos_value.Stats;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Defined in:
|
|
293
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
294
|
+
*/
|
|
295
|
+
export interface ControlMetricsRequest {
|
|
467
296
|
/**
|
|
468
|
-
* Filter items after this position. Inclusive.
|
|
469
|
-
*
|
|
470
297
|
* Options:
|
|
471
298
|
* - proto3_optional = true
|
|
472
299
|
*/
|
|
473
|
-
|
|
300
|
+
reset?: boolean;
|
|
474
301
|
/**
|
|
475
|
-
* Filter items before this position. Exclusive.
|
|
476
|
-
*
|
|
477
302
|
* Options:
|
|
478
303
|
* - proto3_optional = true
|
|
479
304
|
*/
|
|
480
|
-
|
|
305
|
+
record?: boolean;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Defined in:
|
|
309
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
310
|
+
*/
|
|
311
|
+
export interface ControlMetricsResponse {
|
|
481
312
|
/**
|
|
482
313
|
* Options:
|
|
483
314
|
* - proto3_optional = true
|
|
484
315
|
*/
|
|
485
|
-
|
|
316
|
+
recording?: boolean;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Defined in:
|
|
320
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
321
|
+
*/
|
|
322
|
+
export interface QueryMetricsRequest {
|
|
486
323
|
/**
|
|
487
324
|
* Options:
|
|
488
325
|
* - proto3_optional = true
|
|
489
326
|
*/
|
|
490
|
-
|
|
491
|
-
objectIds?: string[];
|
|
327
|
+
interval?: number;
|
|
492
328
|
}
|
|
493
329
|
/**
|
|
494
330
|
* Defined in:
|
|
495
|
-
* {@link file://./../../../dxos/client/
|
|
331
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
496
332
|
*/
|
|
497
|
-
export interface
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
501
|
-
*/
|
|
502
|
-
nextCursor: string;
|
|
503
|
-
prevCursor: string;
|
|
333
|
+
export interface QueryMetricsResponse {
|
|
334
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
335
|
+
metrics: Metrics;
|
|
504
336
|
}
|
|
505
337
|
/**
|
|
506
338
|
* Defined in:
|
|
507
|
-
* {@link file://./../../../dxos/client/
|
|
339
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
508
340
|
*/
|
|
509
|
-
export
|
|
510
|
-
|
|
341
|
+
export enum LogLevel {
|
|
342
|
+
NONE = 0,
|
|
343
|
+
TRACE = 5,
|
|
344
|
+
DEBUG = 10,
|
|
345
|
+
VERBOSE = 11,
|
|
346
|
+
INFO = 12,
|
|
347
|
+
WARN = 13,
|
|
348
|
+
ERROR = 14
|
|
511
349
|
}
|
|
512
350
|
/**
|
|
513
351
|
* Defined in:
|
|
514
|
-
* {@link file://./../../../dxos/client/
|
|
352
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
515
353
|
*/
|
|
516
|
-
export interface
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
354
|
+
export interface QueryLogsRequest {
|
|
355
|
+
filters?: QueryLogsRequest.Filter[];
|
|
356
|
+
/**
|
|
357
|
+
* Options:
|
|
358
|
+
* - proto3_optional = true
|
|
359
|
+
*/
|
|
360
|
+
options?: QueryLogsRequest.MatchingOptions;
|
|
361
|
+
}
|
|
362
|
+
export namespace QueryLogsRequest {
|
|
363
|
+
/**
|
|
364
|
+
* Defined in:
|
|
365
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
366
|
+
*/
|
|
367
|
+
export enum MatchingOptions {
|
|
368
|
+
NONE = 0,
|
|
369
|
+
INCLUSIVE = 1,
|
|
370
|
+
EXPLICIT = 2
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Defined in:
|
|
374
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
375
|
+
*/
|
|
376
|
+
export interface Filter {
|
|
377
|
+
level: LogLevel;
|
|
378
|
+
/**
|
|
379
|
+
* Options:
|
|
380
|
+
* - proto3_optional = true
|
|
381
|
+
*/
|
|
382
|
+
pattern?: string;
|
|
383
|
+
}
|
|
521
384
|
}
|
|
522
385
|
/**
|
|
523
386
|
* Defined in:
|
|
524
|
-
* {@link file://./../../../dxos/client/
|
|
387
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
525
388
|
*/
|
|
526
|
-
export interface
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
389
|
+
export interface LogEntry {
|
|
390
|
+
level: LogLevel;
|
|
391
|
+
message: string;
|
|
392
|
+
/**
|
|
393
|
+
* Options:
|
|
394
|
+
* - proto3_optional = true
|
|
395
|
+
*/
|
|
396
|
+
context?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
397
|
+
/**
|
|
398
|
+
* Options:
|
|
399
|
+
* - proto3_optional = true
|
|
400
|
+
*/
|
|
401
|
+
meta?: LogEntry.Meta;
|
|
402
|
+
/**
|
|
403
|
+
* Options:
|
|
404
|
+
* - proto3_optional = true
|
|
405
|
+
*/
|
|
406
|
+
error?: dxos_error.Error;
|
|
407
|
+
timestamp: ReturnType<(typeof substitutions)["google.protobuf.Timestamp"]["decode"]>;
|
|
408
|
+
}
|
|
409
|
+
export namespace LogEntry {
|
|
410
|
+
/**
|
|
411
|
+
* Defined in:
|
|
412
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
413
|
+
*/
|
|
414
|
+
export interface Meta {
|
|
415
|
+
file: string;
|
|
416
|
+
line: number;
|
|
417
|
+
/**
|
|
418
|
+
* Options:
|
|
419
|
+
* - proto3_optional = true
|
|
420
|
+
*/
|
|
421
|
+
scope?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>;
|
|
422
|
+
/**
|
|
423
|
+
* Options:
|
|
424
|
+
* - proto3_optional = true
|
|
425
|
+
*/
|
|
426
|
+
resourceId?: number;
|
|
427
|
+
}
|
|
531
428
|
}
|
|
532
429
|
/**
|
|
533
430
|
* Defined in:
|
|
534
|
-
* {@link file://./../../../dxos/client/
|
|
431
|
+
* {@link file://./../../../dxos/client/logging.proto}
|
|
535
432
|
*/
|
|
536
|
-
export interface
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
433
|
+
export interface LoggingService {
|
|
434
|
+
controlMetrics: (request: ControlMetricsRequest, options?: RequestOptions) => Promise<ControlMetricsResponse>;
|
|
435
|
+
queryMetrics: (request: QueryMetricsRequest, options?: RequestOptions) => Stream<QueryMetricsResponse>;
|
|
436
|
+
queryLogs: (request: QueryLogsRequest, options?: RequestOptions) => Stream<LogEntry>;
|
|
540
437
|
}
|
|
541
438
|
/**
|
|
542
439
|
* Defined in:
|
|
@@ -1559,3 +1456,106 @@ export namespace QueryAgentStatusResponse {
|
|
|
1559
1456
|
NOT_FOUND = 3
|
|
1560
1457
|
}
|
|
1561
1458
|
}
|
|
1459
|
+
/**
|
|
1460
|
+
* Defined in:
|
|
1461
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1462
|
+
*/
|
|
1463
|
+
export interface QueueQuery {
|
|
1464
|
+
spaceId: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Options:
|
|
1467
|
+
* - proto3_optional = true
|
|
1468
|
+
*/
|
|
1469
|
+
queuesNamespace?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Queries the whole space if missing.
|
|
1472
|
+
*/
|
|
1473
|
+
queueIds?: string[];
|
|
1474
|
+
/**
|
|
1475
|
+
* Filter items after this cursor. Exclusive.
|
|
1476
|
+
*
|
|
1477
|
+
* Options:
|
|
1478
|
+
* - proto3_optional = true
|
|
1479
|
+
*/
|
|
1480
|
+
after?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* Filter items before this cursor. Exclusive.
|
|
1483
|
+
*
|
|
1484
|
+
* Options:
|
|
1485
|
+
* - proto3_optional = true
|
|
1486
|
+
*/
|
|
1487
|
+
before?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* Filter items after this position. Inclusive.
|
|
1490
|
+
*
|
|
1491
|
+
* Options:
|
|
1492
|
+
* - proto3_optional = true
|
|
1493
|
+
*/
|
|
1494
|
+
beginPosition?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* Filter items before this position. Exclusive.
|
|
1497
|
+
*
|
|
1498
|
+
* Options:
|
|
1499
|
+
* - proto3_optional = true
|
|
1500
|
+
*/
|
|
1501
|
+
endPosition?: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* Options:
|
|
1504
|
+
* - proto3_optional = true
|
|
1505
|
+
*/
|
|
1506
|
+
limit?: number;
|
|
1507
|
+
/**
|
|
1508
|
+
* Options:
|
|
1509
|
+
* - proto3_optional = true
|
|
1510
|
+
*/
|
|
1511
|
+
reverse?: boolean;
|
|
1512
|
+
objectIds?: string[];
|
|
1513
|
+
}
|
|
1514
|
+
/**
|
|
1515
|
+
* Defined in:
|
|
1516
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1517
|
+
*/
|
|
1518
|
+
export interface QueueQueryResult {
|
|
1519
|
+
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1520
|
+
/**
|
|
1521
|
+
* Cursor to query the next items. Can be passed to `after` in query to keep querying.
|
|
1522
|
+
*/
|
|
1523
|
+
nextCursor: string;
|
|
1524
|
+
prevCursor: string;
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* Defined in:
|
|
1528
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1529
|
+
*/
|
|
1530
|
+
export interface QueryQueueRequest {
|
|
1531
|
+
query: QueueQuery;
|
|
1532
|
+
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Defined in:
|
|
1535
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1536
|
+
*/
|
|
1537
|
+
export interface InsertIntoQueueRequest {
|
|
1538
|
+
subspaceTag: string;
|
|
1539
|
+
spaceId: string;
|
|
1540
|
+
queueId: string;
|
|
1541
|
+
objects?: ReturnType<(typeof substitutions)["google.protobuf.Struct"]["decode"]>[];
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* Defined in:
|
|
1545
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1546
|
+
*/
|
|
1547
|
+
export interface DeleteFromQueueRequest {
|
|
1548
|
+
subspaceTag: string;
|
|
1549
|
+
spaceId: string;
|
|
1550
|
+
queueId: string;
|
|
1551
|
+
objectIds?: string[];
|
|
1552
|
+
}
|
|
1553
|
+
/**
|
|
1554
|
+
* Defined in:
|
|
1555
|
+
* {@link file://./../../../dxos/client/queue.proto}
|
|
1556
|
+
*/
|
|
1557
|
+
export interface QueueService {
|
|
1558
|
+
queryQueue: (request: QueryQueueRequest, options?: RequestOptions) => Promise<QueueQueryResult>;
|
|
1559
|
+
insertIntoQueue: (request: InsertIntoQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1560
|
+
deleteFromQueue: (request: DeleteFromQueueRequest, options?: RequestOptions) => Promise<void>;
|
|
1561
|
+
}
|