@atproto/bsync 0.0.22 → 0.0.23
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/CHANGELOG.md +7 -0
- package/dist/client.js.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/context.js.map +1 -1
- package/dist/db/index.js.map +1 -1
- package/dist/db/migrations/20240108T220751294Z-init.js.map +1 -1
- package/dist/db/migrations/20240717T224303472Z-notif-ops.js.map +1 -1
- package/dist/db/migrations/20250527T022203400Z-add-operation.js.map +1 -1
- package/dist/db/migrations/20250603T163446567Z-alter-operation.js.map +1 -1
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/db/migrations/provider.js.map +1 -1
- package/dist/db/schema/index.js.map +1 -1
- package/dist/db/schema/mute_item.js.map +1 -1
- package/dist/db/schema/mute_op.js.map +1 -1
- package/dist/db/schema/notif_item.js.map +1 -1
- package/dist/db/schema/notif_op.js.map +1 -1
- package/dist/db/schema/operation.js.map +1 -1
- package/dist/db/types.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/logger.js.map +1 -1
- package/dist/proto/bsync_connect.d.ts +2 -2
- package/dist/proto/bsync_connect.d.ts.map +1 -1
- package/dist/proto/bsync_connect.js +9 -9
- package/dist/proto/bsync_connect.js.map +1 -1
- package/dist/proto/bsync_pb.d.ts +2 -2
- package/dist/proto/bsync_pb.d.ts.map +1 -1
- package/dist/proto/bsync_pb.js +86 -126
- package/dist/proto/bsync_pb.js.map +1 -1
- package/dist/routes/add-mute-operation.js.map +1 -1
- package/dist/routes/add-notif-operation.js.map +1 -1
- package/dist/routes/auth.js.map +1 -1
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/put-operation.js.map +1 -1
- package/dist/routes/scan-mute-operations.js.map +1 -1
- package/dist/routes/scan-notif-operations.js.map +1 -1
- package/dist/routes/scan-operations.js.map +1 -1
- package/dist/routes/util.js.map +1 -1
- package/package.json +2 -2
- package/src/proto/bsync_connect.ts +13 -27
- package/src/proto/bsync_pb.ts +391 -693
package/dist/proto/bsync_pb.js
CHANGED
|
@@ -29,11 +29,11 @@ var Method;
|
|
|
29
29
|
Method[Method["DELETE"] = 3] = "DELETE";
|
|
30
30
|
})(Method || (exports.Method = Method = {}));
|
|
31
31
|
// Retrieve enum metadata with: proto3.getEnumType(Method)
|
|
32
|
-
protobuf_1.proto3.util.setEnumType(Method,
|
|
33
|
-
{ no: 0, name:
|
|
34
|
-
{ no: 1, name:
|
|
35
|
-
{ no: 2, name:
|
|
36
|
-
{ no: 3, name:
|
|
32
|
+
protobuf_1.proto3.util.setEnumType(Method, "bsync.Method", [
|
|
33
|
+
{ no: 0, name: "METHOD_UNSPECIFIED" },
|
|
34
|
+
{ no: 1, name: "METHOD_CREATE" },
|
|
35
|
+
{ no: 2, name: "METHOD_UPDATE" },
|
|
36
|
+
{ no: 3, name: "METHOD_DELETE" },
|
|
37
37
|
]);
|
|
38
38
|
/**
|
|
39
39
|
* @generated from message bsync.MuteOperation
|
|
@@ -48,7 +48,7 @@ class MuteOperation extends protobuf_1.Message {
|
|
|
48
48
|
enumerable: true,
|
|
49
49
|
configurable: true,
|
|
50
50
|
writable: true,
|
|
51
|
-
value:
|
|
51
|
+
value: ""
|
|
52
52
|
});
|
|
53
53
|
/**
|
|
54
54
|
* @generated from field: bsync.MuteOperation.Type type = 2;
|
|
@@ -66,7 +66,7 @@ class MuteOperation extends protobuf_1.Message {
|
|
|
66
66
|
enumerable: true,
|
|
67
67
|
configurable: true,
|
|
68
68
|
writable: true,
|
|
69
|
-
value:
|
|
69
|
+
value: ""
|
|
70
70
|
});
|
|
71
71
|
/**
|
|
72
72
|
* @generated from field: string subject = 4;
|
|
@@ -75,7 +75,7 @@ class MuteOperation extends protobuf_1.Message {
|
|
|
75
75
|
enumerable: true,
|
|
76
76
|
configurable: true,
|
|
77
77
|
writable: true,
|
|
78
|
-
value:
|
|
78
|
+
value: ""
|
|
79
79
|
});
|
|
80
80
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
81
81
|
}
|
|
@@ -103,22 +103,17 @@ Object.defineProperty(MuteOperation, "typeName", {
|
|
|
103
103
|
enumerable: true,
|
|
104
104
|
configurable: true,
|
|
105
105
|
writable: true,
|
|
106
|
-
value:
|
|
106
|
+
value: "bsync.MuteOperation"
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(MuteOperation, "fields", {
|
|
109
109
|
enumerable: true,
|
|
110
110
|
configurable: true,
|
|
111
111
|
writable: true,
|
|
112
112
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
113
|
-
{ no: 1, name:
|
|
114
|
-
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
kind: 'enum',
|
|
118
|
-
T: protobuf_1.proto3.getEnumType(MuteOperation_Type),
|
|
119
|
-
},
|
|
120
|
-
{ no: 3, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
121
|
-
{ no: 4, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
|
+
{ no: 2, name: "type", kind: "enum", T: protobuf_1.proto3.getEnumType(MuteOperation_Type) },
|
|
115
|
+
{ no: 3, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
116
|
+
{ no: 4, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
122
117
|
])
|
|
123
118
|
});
|
|
124
119
|
/**
|
|
@@ -144,11 +139,11 @@ var MuteOperation_Type;
|
|
|
144
139
|
MuteOperation_Type[MuteOperation_Type["CLEAR"] = 3] = "CLEAR";
|
|
145
140
|
})(MuteOperation_Type || (exports.MuteOperation_Type = MuteOperation_Type = {}));
|
|
146
141
|
// Retrieve enum metadata with: proto3.getEnumType(MuteOperation_Type)
|
|
147
|
-
protobuf_1.proto3.util.setEnumType(MuteOperation_Type,
|
|
148
|
-
{ no: 0, name:
|
|
149
|
-
{ no: 1, name:
|
|
150
|
-
{ no: 2, name:
|
|
151
|
-
{ no: 3, name:
|
|
142
|
+
protobuf_1.proto3.util.setEnumType(MuteOperation_Type, "bsync.MuteOperation.Type", [
|
|
143
|
+
{ no: 0, name: "TYPE_UNSPECIFIED" },
|
|
144
|
+
{ no: 1, name: "TYPE_ADD" },
|
|
145
|
+
{ no: 2, name: "TYPE_REMOVE" },
|
|
146
|
+
{ no: 3, name: "TYPE_CLEAR" },
|
|
152
147
|
]);
|
|
153
148
|
/**
|
|
154
149
|
* @generated from message bsync.AddMuteOperationRequest
|
|
@@ -172,7 +167,7 @@ class AddMuteOperationRequest extends protobuf_1.Message {
|
|
|
172
167
|
enumerable: true,
|
|
173
168
|
configurable: true,
|
|
174
169
|
writable: true,
|
|
175
|
-
value:
|
|
170
|
+
value: ""
|
|
176
171
|
});
|
|
177
172
|
/**
|
|
178
173
|
* @generated from field: string subject = 3;
|
|
@@ -181,7 +176,7 @@ class AddMuteOperationRequest extends protobuf_1.Message {
|
|
|
181
176
|
enumerable: true,
|
|
182
177
|
configurable: true,
|
|
183
178
|
writable: true,
|
|
184
|
-
value:
|
|
179
|
+
value: ""
|
|
185
180
|
});
|
|
186
181
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
187
182
|
}
|
|
@@ -209,21 +204,16 @@ Object.defineProperty(AddMuteOperationRequest, "typeName", {
|
|
|
209
204
|
enumerable: true,
|
|
210
205
|
configurable: true,
|
|
211
206
|
writable: true,
|
|
212
|
-
value:
|
|
207
|
+
value: "bsync.AddMuteOperationRequest"
|
|
213
208
|
});
|
|
214
209
|
Object.defineProperty(AddMuteOperationRequest, "fields", {
|
|
215
210
|
enumerable: true,
|
|
216
211
|
configurable: true,
|
|
217
212
|
writable: true,
|
|
218
213
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
219
|
-
{
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
kind: 'enum',
|
|
223
|
-
T: protobuf_1.proto3.getEnumType(MuteOperation_Type),
|
|
224
|
-
},
|
|
225
|
-
{ no: 2, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
226
|
-
{ no: 3, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 1, name: "type", kind: "enum", T: protobuf_1.proto3.getEnumType(MuteOperation_Type) },
|
|
215
|
+
{ no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
+
{ no: 3, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
227
217
|
])
|
|
228
218
|
});
|
|
229
219
|
/**
|
|
@@ -267,14 +257,14 @@ Object.defineProperty(AddMuteOperationResponse, "typeName", {
|
|
|
267
257
|
enumerable: true,
|
|
268
258
|
configurable: true,
|
|
269
259
|
writable: true,
|
|
270
|
-
value:
|
|
260
|
+
value: "bsync.AddMuteOperationResponse"
|
|
271
261
|
});
|
|
272
262
|
Object.defineProperty(AddMuteOperationResponse, "fields", {
|
|
273
263
|
enumerable: true,
|
|
274
264
|
configurable: true,
|
|
275
265
|
writable: true,
|
|
276
266
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
277
|
-
{ no: 1, name:
|
|
267
|
+
{ no: 1, name: "operation", kind: "message", T: MuteOperation },
|
|
278
268
|
])
|
|
279
269
|
});
|
|
280
270
|
/**
|
|
@@ -290,7 +280,7 @@ class ScanMuteOperationsRequest extends protobuf_1.Message {
|
|
|
290
280
|
enumerable: true,
|
|
291
281
|
configurable: true,
|
|
292
282
|
writable: true,
|
|
293
|
-
value:
|
|
283
|
+
value: ""
|
|
294
284
|
});
|
|
295
285
|
/**
|
|
296
286
|
* @generated from field: int32 limit = 2;
|
|
@@ -327,15 +317,15 @@ Object.defineProperty(ScanMuteOperationsRequest, "typeName", {
|
|
|
327
317
|
enumerable: true,
|
|
328
318
|
configurable: true,
|
|
329
319
|
writable: true,
|
|
330
|
-
value:
|
|
320
|
+
value: "bsync.ScanMuteOperationsRequest"
|
|
331
321
|
});
|
|
332
322
|
Object.defineProperty(ScanMuteOperationsRequest, "fields", {
|
|
333
323
|
enumerable: true,
|
|
334
324
|
configurable: true,
|
|
335
325
|
writable: true,
|
|
336
326
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
337
|
-
{ no: 1, name:
|
|
338
|
-
{ no: 2, name:
|
|
327
|
+
{ no: 1, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
328
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
339
329
|
])
|
|
340
330
|
});
|
|
341
331
|
/**
|
|
@@ -360,7 +350,7 @@ class ScanMuteOperationsResponse extends protobuf_1.Message {
|
|
|
360
350
|
enumerable: true,
|
|
361
351
|
configurable: true,
|
|
362
352
|
writable: true,
|
|
363
|
-
value:
|
|
353
|
+
value: ""
|
|
364
354
|
});
|
|
365
355
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
366
356
|
}
|
|
@@ -388,21 +378,15 @@ Object.defineProperty(ScanMuteOperationsResponse, "typeName", {
|
|
|
388
378
|
enumerable: true,
|
|
389
379
|
configurable: true,
|
|
390
380
|
writable: true,
|
|
391
|
-
value:
|
|
381
|
+
value: "bsync.ScanMuteOperationsResponse"
|
|
392
382
|
});
|
|
393
383
|
Object.defineProperty(ScanMuteOperationsResponse, "fields", {
|
|
394
384
|
enumerable: true,
|
|
395
385
|
configurable: true,
|
|
396
386
|
writable: true,
|
|
397
387
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
398
|
-
{
|
|
399
|
-
|
|
400
|
-
name: 'operations',
|
|
401
|
-
kind: 'message',
|
|
402
|
-
T: MuteOperation,
|
|
403
|
-
repeated: true,
|
|
404
|
-
},
|
|
405
|
-
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
388
|
+
{ no: 1, name: "operations", kind: "message", T: MuteOperation, repeated: true },
|
|
389
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
406
390
|
])
|
|
407
391
|
});
|
|
408
392
|
/**
|
|
@@ -418,7 +402,7 @@ class NotifOperation extends protobuf_1.Message {
|
|
|
418
402
|
enumerable: true,
|
|
419
403
|
configurable: true,
|
|
420
404
|
writable: true,
|
|
421
|
-
value:
|
|
405
|
+
value: ""
|
|
422
406
|
});
|
|
423
407
|
/**
|
|
424
408
|
* @generated from field: string actor_did = 2;
|
|
@@ -427,7 +411,7 @@ class NotifOperation extends protobuf_1.Message {
|
|
|
427
411
|
enumerable: true,
|
|
428
412
|
configurable: true,
|
|
429
413
|
writable: true,
|
|
430
|
-
value:
|
|
414
|
+
value: ""
|
|
431
415
|
});
|
|
432
416
|
/**
|
|
433
417
|
* @generated from field: optional bool priority = 3;
|
|
@@ -464,22 +448,16 @@ Object.defineProperty(NotifOperation, "typeName", {
|
|
|
464
448
|
enumerable: true,
|
|
465
449
|
configurable: true,
|
|
466
450
|
writable: true,
|
|
467
|
-
value:
|
|
451
|
+
value: "bsync.NotifOperation"
|
|
468
452
|
});
|
|
469
453
|
Object.defineProperty(NotifOperation, "fields", {
|
|
470
454
|
enumerable: true,
|
|
471
455
|
configurable: true,
|
|
472
456
|
writable: true,
|
|
473
457
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
474
|
-
{ no: 1, name:
|
|
475
|
-
{ no: 2, name:
|
|
476
|
-
{
|
|
477
|
-
no: 3,
|
|
478
|
-
name: 'priority',
|
|
479
|
-
kind: 'scalar',
|
|
480
|
-
T: 8 /* ScalarType.BOOL */,
|
|
481
|
-
opt: true,
|
|
482
|
-
},
|
|
458
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
459
|
+
{ no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
460
|
+
{ no: 3, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
483
461
|
])
|
|
484
462
|
});
|
|
485
463
|
/**
|
|
@@ -495,7 +473,7 @@ class AddNotifOperationRequest extends protobuf_1.Message {
|
|
|
495
473
|
enumerable: true,
|
|
496
474
|
configurable: true,
|
|
497
475
|
writable: true,
|
|
498
|
-
value:
|
|
476
|
+
value: ""
|
|
499
477
|
});
|
|
500
478
|
/**
|
|
501
479
|
* @generated from field: optional bool priority = 2;
|
|
@@ -532,21 +510,15 @@ Object.defineProperty(AddNotifOperationRequest, "typeName", {
|
|
|
532
510
|
enumerable: true,
|
|
533
511
|
configurable: true,
|
|
534
512
|
writable: true,
|
|
535
|
-
value:
|
|
513
|
+
value: "bsync.AddNotifOperationRequest"
|
|
536
514
|
});
|
|
537
515
|
Object.defineProperty(AddNotifOperationRequest, "fields", {
|
|
538
516
|
enumerable: true,
|
|
539
517
|
configurable: true,
|
|
540
518
|
writable: true,
|
|
541
519
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
542
|
-
{ no: 1, name:
|
|
543
|
-
{
|
|
544
|
-
no: 2,
|
|
545
|
-
name: 'priority',
|
|
546
|
-
kind: 'scalar',
|
|
547
|
-
T: 8 /* ScalarType.BOOL */,
|
|
548
|
-
opt: true,
|
|
549
|
-
},
|
|
520
|
+
{ no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
521
|
+
{ no: 2, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
550
522
|
])
|
|
551
523
|
});
|
|
552
524
|
/**
|
|
@@ -590,14 +562,14 @@ Object.defineProperty(AddNotifOperationResponse, "typeName", {
|
|
|
590
562
|
enumerable: true,
|
|
591
563
|
configurable: true,
|
|
592
564
|
writable: true,
|
|
593
|
-
value:
|
|
565
|
+
value: "bsync.AddNotifOperationResponse"
|
|
594
566
|
});
|
|
595
567
|
Object.defineProperty(AddNotifOperationResponse, "fields", {
|
|
596
568
|
enumerable: true,
|
|
597
569
|
configurable: true,
|
|
598
570
|
writable: true,
|
|
599
571
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
600
|
-
{ no: 1, name:
|
|
572
|
+
{ no: 1, name: "operation", kind: "message", T: NotifOperation },
|
|
601
573
|
])
|
|
602
574
|
});
|
|
603
575
|
/**
|
|
@@ -613,7 +585,7 @@ class ScanNotifOperationsRequest extends protobuf_1.Message {
|
|
|
613
585
|
enumerable: true,
|
|
614
586
|
configurable: true,
|
|
615
587
|
writable: true,
|
|
616
|
-
value:
|
|
588
|
+
value: ""
|
|
617
589
|
});
|
|
618
590
|
/**
|
|
619
591
|
* @generated from field: int32 limit = 2;
|
|
@@ -650,15 +622,15 @@ Object.defineProperty(ScanNotifOperationsRequest, "typeName", {
|
|
|
650
622
|
enumerable: true,
|
|
651
623
|
configurable: true,
|
|
652
624
|
writable: true,
|
|
653
|
-
value:
|
|
625
|
+
value: "bsync.ScanNotifOperationsRequest"
|
|
654
626
|
});
|
|
655
627
|
Object.defineProperty(ScanNotifOperationsRequest, "fields", {
|
|
656
628
|
enumerable: true,
|
|
657
629
|
configurable: true,
|
|
658
630
|
writable: true,
|
|
659
631
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
660
|
-
{ no: 1, name:
|
|
661
|
-
{ no: 2, name:
|
|
632
|
+
{ no: 1, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
633
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
662
634
|
])
|
|
663
635
|
});
|
|
664
636
|
/**
|
|
@@ -683,7 +655,7 @@ class ScanNotifOperationsResponse extends protobuf_1.Message {
|
|
|
683
655
|
enumerable: true,
|
|
684
656
|
configurable: true,
|
|
685
657
|
writable: true,
|
|
686
|
-
value:
|
|
658
|
+
value: ""
|
|
687
659
|
});
|
|
688
660
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
689
661
|
}
|
|
@@ -711,21 +683,15 @@ Object.defineProperty(ScanNotifOperationsResponse, "typeName", {
|
|
|
711
683
|
enumerable: true,
|
|
712
684
|
configurable: true,
|
|
713
685
|
writable: true,
|
|
714
|
-
value:
|
|
686
|
+
value: "bsync.ScanNotifOperationsResponse"
|
|
715
687
|
});
|
|
716
688
|
Object.defineProperty(ScanNotifOperationsResponse, "fields", {
|
|
717
689
|
enumerable: true,
|
|
718
690
|
configurable: true,
|
|
719
691
|
writable: true,
|
|
720
692
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
721
|
-
{
|
|
722
|
-
|
|
723
|
-
name: 'operations',
|
|
724
|
-
kind: 'message',
|
|
725
|
-
T: NotifOperation,
|
|
726
|
-
repeated: true,
|
|
727
|
-
},
|
|
728
|
-
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
693
|
+
{ no: 1, name: "operations", kind: "message", T: NotifOperation, repeated: true },
|
|
694
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
729
695
|
])
|
|
730
696
|
});
|
|
731
697
|
/**
|
|
@@ -741,7 +707,7 @@ class Operation extends protobuf_1.Message {
|
|
|
741
707
|
enumerable: true,
|
|
742
708
|
configurable: true,
|
|
743
709
|
writable: true,
|
|
744
|
-
value:
|
|
710
|
+
value: ""
|
|
745
711
|
});
|
|
746
712
|
/**
|
|
747
713
|
* @generated from field: string actor_did = 2;
|
|
@@ -750,7 +716,7 @@ class Operation extends protobuf_1.Message {
|
|
|
750
716
|
enumerable: true,
|
|
751
717
|
configurable: true,
|
|
752
718
|
writable: true,
|
|
753
|
-
value:
|
|
719
|
+
value: ""
|
|
754
720
|
});
|
|
755
721
|
/**
|
|
756
722
|
* @generated from field: string namespace = 3;
|
|
@@ -759,7 +725,7 @@ class Operation extends protobuf_1.Message {
|
|
|
759
725
|
enumerable: true,
|
|
760
726
|
configurable: true,
|
|
761
727
|
writable: true,
|
|
762
|
-
value:
|
|
728
|
+
value: ""
|
|
763
729
|
});
|
|
764
730
|
/**
|
|
765
731
|
* @generated from field: string key = 4;
|
|
@@ -768,7 +734,7 @@ class Operation extends protobuf_1.Message {
|
|
|
768
734
|
enumerable: true,
|
|
769
735
|
configurable: true,
|
|
770
736
|
writable: true,
|
|
771
|
-
value:
|
|
737
|
+
value: ""
|
|
772
738
|
});
|
|
773
739
|
/**
|
|
774
740
|
* @generated from field: bsync.Method method = 5;
|
|
@@ -814,19 +780,19 @@ Object.defineProperty(Operation, "typeName", {
|
|
|
814
780
|
enumerable: true,
|
|
815
781
|
configurable: true,
|
|
816
782
|
writable: true,
|
|
817
|
-
value:
|
|
783
|
+
value: "bsync.Operation"
|
|
818
784
|
});
|
|
819
785
|
Object.defineProperty(Operation, "fields", {
|
|
820
786
|
enumerable: true,
|
|
821
787
|
configurable: true,
|
|
822
788
|
writable: true,
|
|
823
789
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
824
|
-
{ no: 1, name:
|
|
825
|
-
{ no: 2, name:
|
|
826
|
-
{ no: 3, name:
|
|
827
|
-
{ no: 4, name:
|
|
828
|
-
{ no: 5, name:
|
|
829
|
-
{ no: 6, name:
|
|
790
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
791
|
+
{ no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
792
|
+
{ no: 3, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
793
|
+
{ no: 4, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
794
|
+
{ no: 5, name: "method", kind: "enum", T: protobuf_1.proto3.getEnumType(Method) },
|
|
795
|
+
{ no: 6, name: "payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
830
796
|
])
|
|
831
797
|
});
|
|
832
798
|
/**
|
|
@@ -842,7 +808,7 @@ class PutOperationRequest extends protobuf_1.Message {
|
|
|
842
808
|
enumerable: true,
|
|
843
809
|
configurable: true,
|
|
844
810
|
writable: true,
|
|
845
|
-
value:
|
|
811
|
+
value: ""
|
|
846
812
|
});
|
|
847
813
|
/**
|
|
848
814
|
* @generated from field: string namespace = 2;
|
|
@@ -851,7 +817,7 @@ class PutOperationRequest extends protobuf_1.Message {
|
|
|
851
817
|
enumerable: true,
|
|
852
818
|
configurable: true,
|
|
853
819
|
writable: true,
|
|
854
|
-
value:
|
|
820
|
+
value: ""
|
|
855
821
|
});
|
|
856
822
|
/**
|
|
857
823
|
* @generated from field: string key = 3;
|
|
@@ -860,7 +826,7 @@ class PutOperationRequest extends protobuf_1.Message {
|
|
|
860
826
|
enumerable: true,
|
|
861
827
|
configurable: true,
|
|
862
828
|
writable: true,
|
|
863
|
-
value:
|
|
829
|
+
value: ""
|
|
864
830
|
});
|
|
865
831
|
/**
|
|
866
832
|
* @generated from field: bsync.Method method = 4;
|
|
@@ -906,18 +872,18 @@ Object.defineProperty(PutOperationRequest, "typeName", {
|
|
|
906
872
|
enumerable: true,
|
|
907
873
|
configurable: true,
|
|
908
874
|
writable: true,
|
|
909
|
-
value:
|
|
875
|
+
value: "bsync.PutOperationRequest"
|
|
910
876
|
});
|
|
911
877
|
Object.defineProperty(PutOperationRequest, "fields", {
|
|
912
878
|
enumerable: true,
|
|
913
879
|
configurable: true,
|
|
914
880
|
writable: true,
|
|
915
881
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
916
|
-
{ no: 1, name:
|
|
917
|
-
{ no: 2, name:
|
|
918
|
-
{ no: 3, name:
|
|
919
|
-
{ no: 4, name:
|
|
920
|
-
{ no: 5, name:
|
|
882
|
+
{ no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
883
|
+
{ no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
884
|
+
{ no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
885
|
+
{ no: 4, name: "method", kind: "enum", T: protobuf_1.proto3.getEnumType(Method) },
|
|
886
|
+
{ no: 5, name: "payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
921
887
|
])
|
|
922
888
|
});
|
|
923
889
|
/**
|
|
@@ -961,14 +927,14 @@ Object.defineProperty(PutOperationResponse, "typeName", {
|
|
|
961
927
|
enumerable: true,
|
|
962
928
|
configurable: true,
|
|
963
929
|
writable: true,
|
|
964
|
-
value:
|
|
930
|
+
value: "bsync.PutOperationResponse"
|
|
965
931
|
});
|
|
966
932
|
Object.defineProperty(PutOperationResponse, "fields", {
|
|
967
933
|
enumerable: true,
|
|
968
934
|
configurable: true,
|
|
969
935
|
writable: true,
|
|
970
936
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
971
|
-
{ no: 1, name:
|
|
937
|
+
{ no: 1, name: "operation", kind: "message", T: Operation },
|
|
972
938
|
])
|
|
973
939
|
});
|
|
974
940
|
/**
|
|
@@ -984,7 +950,7 @@ class ScanOperationsRequest extends protobuf_1.Message {
|
|
|
984
950
|
enumerable: true,
|
|
985
951
|
configurable: true,
|
|
986
952
|
writable: true,
|
|
987
|
-
value:
|
|
953
|
+
value: ""
|
|
988
954
|
});
|
|
989
955
|
/**
|
|
990
956
|
* @generated from field: int32 limit = 2;
|
|
@@ -1021,15 +987,15 @@ Object.defineProperty(ScanOperationsRequest, "typeName", {
|
|
|
1021
987
|
enumerable: true,
|
|
1022
988
|
configurable: true,
|
|
1023
989
|
writable: true,
|
|
1024
|
-
value:
|
|
990
|
+
value: "bsync.ScanOperationsRequest"
|
|
1025
991
|
});
|
|
1026
992
|
Object.defineProperty(ScanOperationsRequest, "fields", {
|
|
1027
993
|
enumerable: true,
|
|
1028
994
|
configurable: true,
|
|
1029
995
|
writable: true,
|
|
1030
996
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1031
|
-
{ no: 1, name:
|
|
1032
|
-
{ no: 2, name:
|
|
997
|
+
{ no: 1, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
998
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
1033
999
|
])
|
|
1034
1000
|
});
|
|
1035
1001
|
/**
|
|
@@ -1054,7 +1020,7 @@ class ScanOperationsResponse extends protobuf_1.Message {
|
|
|
1054
1020
|
enumerable: true,
|
|
1055
1021
|
configurable: true,
|
|
1056
1022
|
writable: true,
|
|
1057
|
-
value:
|
|
1023
|
+
value: ""
|
|
1058
1024
|
});
|
|
1059
1025
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1060
1026
|
}
|
|
@@ -1082,21 +1048,15 @@ Object.defineProperty(ScanOperationsResponse, "typeName", {
|
|
|
1082
1048
|
enumerable: true,
|
|
1083
1049
|
configurable: true,
|
|
1084
1050
|
writable: true,
|
|
1085
|
-
value:
|
|
1051
|
+
value: "bsync.ScanOperationsResponse"
|
|
1086
1052
|
});
|
|
1087
1053
|
Object.defineProperty(ScanOperationsResponse, "fields", {
|
|
1088
1054
|
enumerable: true,
|
|
1089
1055
|
configurable: true,
|
|
1090
1056
|
writable: true,
|
|
1091
1057
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1092
|
-
{
|
|
1093
|
-
|
|
1094
|
-
name: 'operations',
|
|
1095
|
-
kind: 'message',
|
|
1096
|
-
T: Operation,
|
|
1097
|
-
repeated: true,
|
|
1098
|
-
},
|
|
1099
|
-
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
1058
|
+
{ no: 1, name: "operations", kind: "message", T: Operation, repeated: true },
|
|
1059
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1100
1060
|
])
|
|
1101
1061
|
});
|
|
1102
1062
|
/**
|
|
@@ -1133,7 +1093,7 @@ Object.defineProperty(PingRequest, "typeName", {
|
|
|
1133
1093
|
enumerable: true,
|
|
1134
1094
|
configurable: true,
|
|
1135
1095
|
writable: true,
|
|
1136
|
-
value:
|
|
1096
|
+
value: "bsync.PingRequest"
|
|
1137
1097
|
});
|
|
1138
1098
|
Object.defineProperty(PingRequest, "fields", {
|
|
1139
1099
|
enumerable: true,
|
|
@@ -1173,7 +1133,7 @@ Object.defineProperty(PingResponse, "typeName", {
|
|
|
1173
1133
|
enumerable: true,
|
|
1174
1134
|
configurable: true,
|
|
1175
1135
|
writable: true,
|
|
1176
|
-
value:
|
|
1136
|
+
value: "bsync.PingResponse"
|
|
1177
1137
|
});
|
|
1178
1138
|
Object.defineProperty(PingResponse, "fields", {
|
|
1179
1139
|
enumerable: true,
|