@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.
|
@@ -979,6 +979,12 @@ interface Table {
|
|
|
979
979
|
* @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
|
|
980
980
|
*/
|
|
981
981
|
projections: TableProjection[];
|
|
982
|
+
/**
|
|
983
|
+
* Per-table filter for `moose seed clickhouse`
|
|
984
|
+
*
|
|
985
|
+
* @generated from protobuf field: optional moose.proto.SeedFilter seed_filter = 22
|
|
986
|
+
*/
|
|
987
|
+
seedFilter?: SeedFilter;
|
|
982
988
|
}
|
|
983
989
|
/**
|
|
984
990
|
* @generated MessageType for protobuf message moose.proto.Table
|
|
@@ -1080,6 +1086,35 @@ interface TableIndex {
|
|
|
1080
1086
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1081
1087
|
*/
|
|
1082
1088
|
declare const TableIndex: TableIndex$Type;
|
|
1089
|
+
declare class SeedFilter$Type extends MessageType<SeedFilter> {
|
|
1090
|
+
constructor();
|
|
1091
|
+
create(value?: PartialMessage<SeedFilter>): SeedFilter;
|
|
1092
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SeedFilter): SeedFilter;
|
|
1093
|
+
internalBinaryWrite(message: SeedFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Per-table filtering for `moose seed clickhouse`
|
|
1097
|
+
*
|
|
1098
|
+
* @generated from protobuf message moose.proto.SeedFilter
|
|
1099
|
+
*/
|
|
1100
|
+
interface SeedFilter {
|
|
1101
|
+
/**
|
|
1102
|
+
* Maximum rows to seed (falls back to CLI --limit, then global default)
|
|
1103
|
+
*
|
|
1104
|
+
* @generated from protobuf field: optional uint64 limit = 1
|
|
1105
|
+
*/
|
|
1106
|
+
limit?: bigint;
|
|
1107
|
+
/**
|
|
1108
|
+
* ClickHouse SQL WHERE expression appended to the seed query
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from protobuf field: optional string where_clause = 2
|
|
1111
|
+
*/
|
|
1112
|
+
whereClause?: string;
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* @generated MessageType for protobuf message moose.proto.SeedFilter
|
|
1116
|
+
*/
|
|
1117
|
+
declare const SeedFilter: SeedFilter$Type;
|
|
1083
1118
|
declare class TableProjection$Type extends MessageType<TableProjection> {
|
|
1084
1119
|
constructor();
|
|
1085
1120
|
create(value?: PartialMessage<TableProjection>): TableProjection;
|
|
@@ -2192,4 +2227,4 @@ interface Workflow {
|
|
|
2192
2227
|
*/
|
|
2193
2228
|
declare const Workflow: Workflow$Type;
|
|
2194
2229
|
|
|
2195
|
-
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, Dmv1View, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, MaterializedView, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SelectQuery, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, TableProjection, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata, Workflow };
|
|
2230
|
+
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, Dmv1View, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, MaterializedView, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SeedFilter, SelectQuery, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, TableProjection, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata, Workflow };
|
|
@@ -979,6 +979,12 @@ interface Table {
|
|
|
979
979
|
* @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
|
|
980
980
|
*/
|
|
981
981
|
projections: TableProjection[];
|
|
982
|
+
/**
|
|
983
|
+
* Per-table filter for `moose seed clickhouse`
|
|
984
|
+
*
|
|
985
|
+
* @generated from protobuf field: optional moose.proto.SeedFilter seed_filter = 22
|
|
986
|
+
*/
|
|
987
|
+
seedFilter?: SeedFilter;
|
|
982
988
|
}
|
|
983
989
|
/**
|
|
984
990
|
* @generated MessageType for protobuf message moose.proto.Table
|
|
@@ -1080,6 +1086,35 @@ interface TableIndex {
|
|
|
1080
1086
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1081
1087
|
*/
|
|
1082
1088
|
declare const TableIndex: TableIndex$Type;
|
|
1089
|
+
declare class SeedFilter$Type extends MessageType<SeedFilter> {
|
|
1090
|
+
constructor();
|
|
1091
|
+
create(value?: PartialMessage<SeedFilter>): SeedFilter;
|
|
1092
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SeedFilter): SeedFilter;
|
|
1093
|
+
internalBinaryWrite(message: SeedFilter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Per-table filtering for `moose seed clickhouse`
|
|
1097
|
+
*
|
|
1098
|
+
* @generated from protobuf message moose.proto.SeedFilter
|
|
1099
|
+
*/
|
|
1100
|
+
interface SeedFilter {
|
|
1101
|
+
/**
|
|
1102
|
+
* Maximum rows to seed (falls back to CLI --limit, then global default)
|
|
1103
|
+
*
|
|
1104
|
+
* @generated from protobuf field: optional uint64 limit = 1
|
|
1105
|
+
*/
|
|
1106
|
+
limit?: bigint;
|
|
1107
|
+
/**
|
|
1108
|
+
* ClickHouse SQL WHERE expression appended to the seed query
|
|
1109
|
+
*
|
|
1110
|
+
* @generated from protobuf field: optional string where_clause = 2
|
|
1111
|
+
*/
|
|
1112
|
+
whereClause?: string;
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* @generated MessageType for protobuf message moose.proto.SeedFilter
|
|
1116
|
+
*/
|
|
1117
|
+
declare const SeedFilter: SeedFilter$Type;
|
|
1083
1118
|
declare class TableProjection$Type extends MessageType<TableProjection> {
|
|
1084
1119
|
constructor();
|
|
1085
1120
|
create(value?: PartialMessage<TableProjection>): TableProjection;
|
|
@@ -2192,4 +2227,4 @@ interface Workflow {
|
|
|
2192
2227
|
*/
|
|
2193
2228
|
declare const Workflow: Workflow$Type;
|
|
2194
2229
|
|
|
2195
|
-
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, Dmv1View, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, MaterializedView, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SelectQuery, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, TableProjection, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata, Workflow };
|
|
2230
|
+
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, Dmv1View, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, MaterializedView, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes, SchemaRegistry, SchemaRegistry_Encoding, SeedFilter, SelectQuery, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, TableProjection, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata, Workflow };
|
|
@@ -54,6 +54,7 @@ __export(infrastructure_map_exports, {
|
|
|
54
54
|
PrimitiveTypes: () => PrimitiveTypes,
|
|
55
55
|
SchemaRegistry: () => SchemaRegistry,
|
|
56
56
|
SchemaRegistry_Encoding: () => SchemaRegistry_Encoding,
|
|
57
|
+
SeedFilter: () => SeedFilter,
|
|
57
58
|
SelectQuery: () => SelectQuery,
|
|
58
59
|
SimpleColumnType: () => SimpleColumnType,
|
|
59
60
|
SourceLocation: () => SourceLocation,
|
|
@@ -2157,7 +2158,8 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2157
2158
|
T: 9
|
|
2158
2159
|
/*ScalarType.STRING*/
|
|
2159
2160
|
},
|
|
2160
|
-
{ no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection }
|
|
2161
|
+
{ no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection },
|
|
2162
|
+
{ no: 22, name: "seed_filter", kind: "message", T: () => SeedFilter }
|
|
2161
2163
|
]);
|
|
2162
2164
|
}
|
|
2163
2165
|
create(value) {
|
|
@@ -2263,6 +2265,10 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2263
2265
|
21:
|
|
2264
2266
|
message.projections.push(TableProjection.internalBinaryRead(reader, reader.uint32(), options));
|
|
2265
2267
|
break;
|
|
2268
|
+
case /* optional moose.proto.SeedFilter seed_filter */
|
|
2269
|
+
22:
|
|
2270
|
+
message.seedFilter = SeedFilter.internalBinaryRead(reader, reader.uint32(), options, message.seedFilter);
|
|
2271
|
+
break;
|
|
2266
2272
|
default:
|
|
2267
2273
|
let u = options.readUnknownField;
|
|
2268
2274
|
if (u === "throw")
|
|
@@ -2334,6 +2340,8 @@ var Table$Type = class extends import_runtime16.MessageType {
|
|
|
2334
2340
|
writer.tag(20, import_runtime13.WireType.LengthDelimited).string(message.tableSettingsHash);
|
|
2335
2341
|
for (let i = 0; i < message.projections.length; i++)
|
|
2336
2342
|
TableProjection.internalBinaryWrite(message.projections[i], writer.tag(21, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2343
|
+
if (message.seedFilter)
|
|
2344
|
+
SeedFilter.internalBinaryWrite(message.seedFilter, writer.tag(22, import_runtime13.WireType.LengthDelimited).fork(), options).join();
|
|
2337
2345
|
let u = options.writeUnknownFields;
|
|
2338
2346
|
if (u !== false)
|
|
2339
2347
|
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -2561,6 +2569,70 @@ var TableIndex$Type = class extends import_runtime16.MessageType {
|
|
|
2561
2569
|
}
|
|
2562
2570
|
};
|
|
2563
2571
|
var TableIndex = new TableIndex$Type();
|
|
2572
|
+
var SeedFilter$Type = class extends import_runtime16.MessageType {
|
|
2573
|
+
constructor() {
|
|
2574
|
+
super("moose.proto.SeedFilter", [
|
|
2575
|
+
{
|
|
2576
|
+
no: 1,
|
|
2577
|
+
name: "limit",
|
|
2578
|
+
kind: "scalar",
|
|
2579
|
+
opt: true,
|
|
2580
|
+
T: 4,
|
|
2581
|
+
L: 0
|
|
2582
|
+
/*LongType.BIGINT*/
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
no: 2,
|
|
2586
|
+
name: "where_clause",
|
|
2587
|
+
kind: "scalar",
|
|
2588
|
+
opt: true,
|
|
2589
|
+
T: 9
|
|
2590
|
+
/*ScalarType.STRING*/
|
|
2591
|
+
}
|
|
2592
|
+
]);
|
|
2593
|
+
}
|
|
2594
|
+
create(value) {
|
|
2595
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
2596
|
+
if (value !== void 0)
|
|
2597
|
+
(0, import_runtime15.reflectionMergePartial)(this, message, value);
|
|
2598
|
+
return message;
|
|
2599
|
+
}
|
|
2600
|
+
internalBinaryRead(reader, length, options, target) {
|
|
2601
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
2602
|
+
while (reader.pos < end) {
|
|
2603
|
+
let [fieldNo, wireType] = reader.tag();
|
|
2604
|
+
switch (fieldNo) {
|
|
2605
|
+
case /* optional uint64 limit */
|
|
2606
|
+
1:
|
|
2607
|
+
message.limit = reader.uint64().toBigInt();
|
|
2608
|
+
break;
|
|
2609
|
+
case /* optional string where_clause */
|
|
2610
|
+
2:
|
|
2611
|
+
message.whereClause = reader.string();
|
|
2612
|
+
break;
|
|
2613
|
+
default:
|
|
2614
|
+
let u = options.readUnknownField;
|
|
2615
|
+
if (u === "throw")
|
|
2616
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
2617
|
+
let d = reader.skip(wireType);
|
|
2618
|
+
if (u !== false)
|
|
2619
|
+
(u === true ? import_runtime14.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
2620
|
+
}
|
|
2621
|
+
}
|
|
2622
|
+
return message;
|
|
2623
|
+
}
|
|
2624
|
+
internalBinaryWrite(message, writer, options) {
|
|
2625
|
+
if (message.limit !== void 0)
|
|
2626
|
+
writer.tag(1, import_runtime13.WireType.Varint).uint64(message.limit);
|
|
2627
|
+
if (message.whereClause !== void 0)
|
|
2628
|
+
writer.tag(2, import_runtime13.WireType.LengthDelimited).string(message.whereClause);
|
|
2629
|
+
let u = options.writeUnknownFields;
|
|
2630
|
+
if (u !== false)
|
|
2631
|
+
(u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
2632
|
+
return writer;
|
|
2633
|
+
}
|
|
2634
|
+
};
|
|
2635
|
+
var SeedFilter = new SeedFilter$Type();
|
|
2564
2636
|
var TableProjection$Type = class extends import_runtime16.MessageType {
|
|
2565
2637
|
constructor() {
|
|
2566
2638
|
super("moose.proto.TableProjection", [
|
|
@@ -5160,6 +5232,7 @@ var Workflow = new Workflow$Type();
|
|
|
5160
5232
|
PrimitiveTypes,
|
|
5161
5233
|
SchemaRegistry,
|
|
5162
5234
|
SchemaRegistry_Encoding,
|
|
5235
|
+
SeedFilter,
|
|
5163
5236
|
SelectQuery,
|
|
5164
5237
|
SimpleColumnType,
|
|
5165
5238
|
SourceLocation,
|