@514labs/moose-proto 0.6.427 → 0.6.428
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.
|
@@ -2082,7 +2082,8 @@ var Table$Type = class extends MessageType3 {
|
|
|
2082
2082
|
T: 9
|
|
2083
2083
|
/*ScalarType.STRING*/
|
|
2084
2084
|
},
|
|
2085
|
-
{ no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection }
|
|
2085
|
+
{ no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection },
|
|
2086
|
+
{ no: 22, name: "seed_filter", kind: "message", T: () => SeedFilter }
|
|
2086
2087
|
]);
|
|
2087
2088
|
}
|
|
2088
2089
|
create(value) {
|
|
@@ -2188,6 +2189,10 @@ var Table$Type = class extends MessageType3 {
|
|
|
2188
2189
|
21:
|
|
2189
2190
|
message.projections.push(TableProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
2190
2191
|
break;
|
|
2192
|
+
case /* optional moose.proto.SeedFilter seed_filter */
|
|
2193
|
+
22:
|
|
2194
|
+
message.seedFilter = SeedFilter.internalBinaryRead(reader, reader.uint32(), options, message.seedFilter);
|
|
2195
|
+
break;
|
|
2191
2196
|
default:
|
|
2192
2197
|
let u = options.readUnknownField;
|
|
2193
2198
|
if (u === "throw")
|
|
@@ -2259,6 +2264,8 @@ var Table$Type = class extends MessageType3 {
|
|
|
2259
2264
|
writer.tag(20, WireType3.LengthDelimited).string(message.tableSettingsHash);
|
|
2260
2265
|
for (let i = 0; i < message.projections.length; i++)
|
|
2261
2266
|
TableProjection.internalBinaryWrite(message.projections[i], writer.tag(21, WireType3.LengthDelimited).fork(), options).join();
|
|
2267
|
+
if (message.seedFilter)
|
|
2268
|
+
SeedFilter.internalBinaryWrite(message.seedFilter, writer.tag(22, WireType3.LengthDelimited).fork(), options).join();
|
|
2262
2269
|
let u = options.writeUnknownFields;
|
|
2263
2270
|
if (u !== false)
|
|
2264
2271
|
(u == true ? UnknownFieldHandler3.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2486,6 +2493,70 @@ var TableIndex$Type = class extends MessageType3 {
|
|
|
2486
2493
|
}
|
|
2487
2494
|
};
|
|
2488
2495
|
var TableIndex = new TableIndex$Type();
|
|
2496
|
+
var SeedFilter$Type = class extends MessageType3 {
|
|
2497
|
+
constructor() {
|
|
2498
|
+
super("moose.proto.SeedFilter", [
|
|
2499
|
+
{
|
|
2500
|
+
no: 1,
|
|
2501
|
+
name: "limit",
|
|
2502
|
+
kind: "scalar",
|
|
2503
|
+
opt: true,
|
|
2504
|
+
T: 4,
|
|
2505
|
+
L: 0
|
|
2506
|
+
/*LongType.BIGINT*/
|
|
2507
|
+
},
|
|
2508
|
+
{
|
|
2509
|
+
no: 2,
|
|
2510
|
+
name: "where_clause",
|
|
2511
|
+
kind: "scalar",
|
|
2512
|
+
opt: true,
|
|
2513
|
+
T: 9
|
|
2514
|
+
/*ScalarType.STRING*/
|
|
2515
|
+
}
|
|
2516
|
+
]);
|
|
2517
|
+
}
|
|
2518
|
+
create(value) {
|
|
2519
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2520
|
+
if (value !== void 0)
|
|
2521
|
+
reflectionMergePartial3(this, message, value);
|
|
2522
|
+
return message;
|
|
2523
|
+
}
|
|
2524
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2525
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2526
|
+
while (reader.pos < end) {
|
|
2527
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2528
|
+
switch (fieldNo) {
|
|
2529
|
+
case /* optional uint64 limit */
|
|
2530
|
+
1:
|
|
2531
|
+
message.limit = reader.uint64().toBigInt();
|
|
2532
|
+
break;
|
|
2533
|
+
case /* optional string where_clause */
|
|
2534
|
+
2:
|
|
2535
|
+
message.whereClause = reader.string();
|
|
2536
|
+
break;
|
|
2537
|
+
default:
|
|
2538
|
+
let u = options.readUnknownField;
|
|
2539
|
+
if (u === "throw")
|
|
2540
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2541
|
+
let d = reader.skip(wireType);
|
|
2542
|
+
if (u !== false)
|
|
2543
|
+
(u === true ? UnknownFieldHandler3.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
return message;
|
|
2547
|
+
}
|
|
2548
|
+
internalBinaryWrite(message, writer, options) {
|
|
2549
|
+
if (message.limit !== void 0)
|
|
2550
|
+
writer.tag(1, WireType3.Varint).uint64(message.limit);
|
|
2551
|
+
if (message.whereClause !== void 0)
|
|
2552
|
+
writer.tag(2, WireType3.LengthDelimited).string(message.whereClause);
|
|
2553
|
+
let u = options.writeUnknownFields;
|
|
2554
|
+
if (u !== false)
|
|
2555
|
+
(u == true ? UnknownFieldHandler3.onWrite : u)(this.typeName, message, writer);
|
|
2556
|
+
return writer;
|
|
2557
|
+
}
|
|
2558
|
+
};
|
|
2559
|
+
var SeedFilter = new SeedFilter$Type();
|
|
2489
2560
|
var TableProjection$Type = class extends MessageType3 {
|
|
2490
2561
|
constructor() {
|
|
2491
2562
|
super("moose.proto.TableProjection", [
|
|
@@ -5084,6 +5155,7 @@ export {
|
|
|
5084
5155
|
PrimitiveTypes,
|
|
5085
5156
|
SchemaRegistry,
|
|
5086
5157
|
SchemaRegistry_Encoding,
|
|
5158
|
+
SeedFilter,
|
|
5087
5159
|
SelectQuery,
|
|
5088
5160
|
SimpleColumnType,
|
|
5089
5161
|
SourceLocation,
|