@514labs/moose-proto 0.6.295-ci-3-g6e0c461e → 0.6.295-ci-17-g70d560ac
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/infrastructure_map.d.mts +170 -85
- package/dist/infrastructure_map.d.ts +170 -85
- package/dist/infrastructure_map.js +298 -100
- package/dist/infrastructure_map.js.map +1 -1
- package/dist/infrastructure_map.mjs +294 -97
- package/dist/infrastructure_map.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -410,6 +410,8 @@ declare class InfrastructureMap$Type extends MessageType<InfrastructureMap> {
|
|
|
410
410
|
private binaryReadMap11;
|
|
411
411
|
private binaryReadMap12;
|
|
412
412
|
private binaryReadMap13;
|
|
413
|
+
private binaryReadMap16;
|
|
414
|
+
private binaryReadMap17;
|
|
413
415
|
internalBinaryWrite(message: InfrastructureMap, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
414
416
|
}
|
|
415
417
|
/**
|
|
@@ -490,6 +492,22 @@ interface InfrastructureMap {
|
|
|
490
492
|
* @generated from protobuf field: string default_database = 15
|
|
491
493
|
*/
|
|
492
494
|
defaultDatabase: string;
|
|
495
|
+
/**
|
|
496
|
+
* Structured materialized views (replaces SqlResource for MVs)
|
|
497
|
+
*
|
|
498
|
+
* @generated from protobuf field: map<string, moose.proto.MaterializedView> materialized_views = 16
|
|
499
|
+
*/
|
|
500
|
+
materializedViews: {
|
|
501
|
+
[key: string]: MaterializedView;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* Structured custom views (replaces SqlResource for views)
|
|
505
|
+
*
|
|
506
|
+
* @generated from protobuf field: map<string, moose.proto.CustomView> custom_views = 17
|
|
507
|
+
*/
|
|
508
|
+
customViews: {
|
|
509
|
+
[key: string]: CustomView;
|
|
510
|
+
};
|
|
493
511
|
}
|
|
494
512
|
/**
|
|
495
513
|
* @generated MessageType for protobuf message moose.proto.InfrastructureMap
|
|
@@ -927,12 +945,6 @@ interface Table {
|
|
|
927
945
|
* @generated from protobuf field: optional string table_settings_hash = 20
|
|
928
946
|
*/
|
|
929
947
|
tableSettingsHash?: string;
|
|
930
|
-
/**
|
|
931
|
-
* Optional ClickHouse projections for query optimization
|
|
932
|
-
*
|
|
933
|
-
* @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
|
|
934
|
-
*/
|
|
935
|
-
projections: TableProjection[];
|
|
936
948
|
}
|
|
937
949
|
/**
|
|
938
950
|
* @generated MessageType for protobuf message moose.proto.Table
|
|
@@ -1034,147 +1046,208 @@ interface TableIndex {
|
|
|
1034
1046
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1035
1047
|
*/
|
|
1036
1048
|
declare const TableIndex: TableIndex$Type;
|
|
1037
|
-
declare class
|
|
1049
|
+
declare class View$Type extends MessageType<View> {
|
|
1038
1050
|
constructor();
|
|
1039
|
-
create(value?: PartialMessage<
|
|
1040
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1041
|
-
internalBinaryWrite(message:
|
|
1051
|
+
create(value?: PartialMessage<View>): View;
|
|
1052
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: View): View;
|
|
1053
|
+
internalBinaryWrite(message: View, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1042
1054
|
}
|
|
1043
1055
|
/**
|
|
1044
|
-
*
|
|
1045
|
-
*
|
|
1046
|
-
* @generated from protobuf message moose.proto.ProjectionClause
|
|
1056
|
+
* @generated from protobuf message moose.proto.View
|
|
1047
1057
|
*/
|
|
1048
|
-
interface
|
|
1058
|
+
interface View {
|
|
1049
1059
|
/**
|
|
1050
|
-
* @generated from protobuf
|
|
1060
|
+
* @generated from protobuf field: string name = 1
|
|
1051
1061
|
*/
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1062
|
+
name: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* @generated from protobuf field: string version = 2
|
|
1065
|
+
*/
|
|
1066
|
+
version: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* @generated from protobuf oneof: view_type
|
|
1069
|
+
*/
|
|
1070
|
+
viewType: {
|
|
1071
|
+
oneofKind: "tableAlias";
|
|
1060
1072
|
/**
|
|
1061
|
-
* @generated from protobuf field:
|
|
1073
|
+
* @generated from protobuf field: moose.proto.TableAlias table_alias = 3
|
|
1062
1074
|
*/
|
|
1063
|
-
|
|
1075
|
+
tableAlias: TableAlias;
|
|
1064
1076
|
} | {
|
|
1065
1077
|
oneofKind: undefined;
|
|
1066
1078
|
};
|
|
1067
1079
|
}
|
|
1068
1080
|
/**
|
|
1069
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1081
|
+
* @generated MessageType for protobuf message moose.proto.View
|
|
1070
1082
|
*/
|
|
1071
|
-
declare const
|
|
1072
|
-
declare class
|
|
1083
|
+
declare const View: View$Type;
|
|
1084
|
+
declare class TableAlias$Type extends MessageType<TableAlias> {
|
|
1073
1085
|
constructor();
|
|
1074
|
-
create(value?: PartialMessage<
|
|
1075
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1076
|
-
internalBinaryWrite(message:
|
|
1086
|
+
create(value?: PartialMessage<TableAlias>): TableAlias;
|
|
1087
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableAlias): TableAlias;
|
|
1088
|
+
internalBinaryWrite(message: TableAlias, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1077
1089
|
}
|
|
1078
1090
|
/**
|
|
1079
|
-
* @generated from protobuf message moose.proto.
|
|
1091
|
+
* @generated from protobuf message moose.proto.TableAlias
|
|
1080
1092
|
*/
|
|
1081
|
-
interface
|
|
1093
|
+
interface TableAlias {
|
|
1082
1094
|
/**
|
|
1083
|
-
* @generated from protobuf field:
|
|
1095
|
+
* @generated from protobuf field: string source_table_name = 1
|
|
1084
1096
|
*/
|
|
1085
|
-
|
|
1097
|
+
sourceTableName: string;
|
|
1086
1098
|
}
|
|
1087
1099
|
/**
|
|
1088
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1100
|
+
* @generated MessageType for protobuf message moose.proto.TableAlias
|
|
1089
1101
|
*/
|
|
1090
|
-
declare const
|
|
1091
|
-
declare class
|
|
1102
|
+
declare const TableAlias: TableAlias$Type;
|
|
1103
|
+
declare class TableReference$Type extends MessageType<TableReference> {
|
|
1092
1104
|
constructor();
|
|
1093
|
-
create(value?: PartialMessage<
|
|
1094
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1095
|
-
internalBinaryWrite(message:
|
|
1105
|
+
create(value?: PartialMessage<TableReference>): TableReference;
|
|
1106
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableReference): TableReference;
|
|
1107
|
+
internalBinaryWrite(message: TableReference, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1096
1108
|
}
|
|
1097
1109
|
/**
|
|
1098
|
-
*
|
|
1110
|
+
* Reference to a table, optionally qualified with database
|
|
1099
1111
|
*
|
|
1100
|
-
* @generated from protobuf message moose.proto.
|
|
1112
|
+
* @generated from protobuf message moose.proto.TableReference
|
|
1101
1113
|
*/
|
|
1102
|
-
interface
|
|
1114
|
+
interface TableReference {
|
|
1103
1115
|
/**
|
|
1104
|
-
*
|
|
1116
|
+
* Database name (empty means use default database)
|
|
1117
|
+
*
|
|
1118
|
+
* @generated from protobuf field: optional string database = 1
|
|
1105
1119
|
*/
|
|
1106
|
-
|
|
1120
|
+
database?: string;
|
|
1107
1121
|
/**
|
|
1108
|
-
*
|
|
1122
|
+
* Table name
|
|
1123
|
+
*
|
|
1124
|
+
* @generated from protobuf field: string table = 2
|
|
1109
1125
|
*/
|
|
1110
|
-
|
|
1126
|
+
table: string;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated MessageType for protobuf message moose.proto.TableReference
|
|
1130
|
+
*/
|
|
1131
|
+
declare const TableReference: TableReference$Type;
|
|
1132
|
+
declare class SelectQuery$Type extends MessageType<SelectQuery> {
|
|
1133
|
+
constructor();
|
|
1134
|
+
create(value?: PartialMessage<SelectQuery>): SelectQuery;
|
|
1135
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SelectQuery): SelectQuery;
|
|
1136
|
+
internalBinaryWrite(message: SelectQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* Represents a SELECT query with semantic information
|
|
1140
|
+
*
|
|
1141
|
+
* @generated from protobuf message moose.proto.SelectQuery
|
|
1142
|
+
*/
|
|
1143
|
+
interface SelectQuery {
|
|
1111
1144
|
/**
|
|
1112
|
-
*
|
|
1145
|
+
* The raw SELECT SQL statement
|
|
1146
|
+
*
|
|
1147
|
+
* @generated from protobuf field: string sql = 1
|
|
1113
1148
|
*/
|
|
1114
|
-
|
|
1149
|
+
sql: string;
|
|
1115
1150
|
/**
|
|
1116
|
-
*
|
|
1151
|
+
* Tables/views referenced in the FROM clause(s)
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from protobuf field: repeated moose.proto.TableReference source_tables = 2
|
|
1117
1154
|
*/
|
|
1118
|
-
|
|
1155
|
+
sourceTables: TableReference[];
|
|
1119
1156
|
}
|
|
1120
1157
|
/**
|
|
1121
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1158
|
+
* @generated MessageType for protobuf message moose.proto.SelectQuery
|
|
1122
1159
|
*/
|
|
1123
|
-
declare const
|
|
1124
|
-
declare class
|
|
1160
|
+
declare const SelectQuery: SelectQuery$Type;
|
|
1161
|
+
declare class CustomView$Type extends MessageType<CustomView> {
|
|
1125
1162
|
constructor();
|
|
1126
|
-
create(value?: PartialMessage<
|
|
1127
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1128
|
-
internalBinaryWrite(message:
|
|
1163
|
+
create(value?: PartialMessage<CustomView>): CustomView;
|
|
1164
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CustomView): CustomView;
|
|
1165
|
+
internalBinaryWrite(message: CustomView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1129
1166
|
}
|
|
1130
1167
|
/**
|
|
1131
|
-
*
|
|
1168
|
+
* User-defined ClickHouse View with an arbitrary SELECT query.
|
|
1169
|
+
* Views are virtual tables that compute results on-demand.
|
|
1170
|
+
*
|
|
1171
|
+
* @generated from protobuf message moose.proto.CustomView
|
|
1132
1172
|
*/
|
|
1133
|
-
interface
|
|
1173
|
+
interface CustomView {
|
|
1134
1174
|
/**
|
|
1175
|
+
* Name of the view
|
|
1176
|
+
*
|
|
1135
1177
|
* @generated from protobuf field: string name = 1
|
|
1136
1178
|
*/
|
|
1137
1179
|
name: string;
|
|
1138
1180
|
/**
|
|
1139
|
-
*
|
|
1181
|
+
* Database where the view is created (empty = default database)
|
|
1182
|
+
*
|
|
1183
|
+
* @generated from protobuf field: optional string database = 2
|
|
1140
1184
|
*/
|
|
1141
|
-
|
|
1185
|
+
database?: string;
|
|
1142
1186
|
/**
|
|
1143
|
-
*
|
|
1187
|
+
* The SELECT query that defines the view
|
|
1188
|
+
*
|
|
1189
|
+
* @generated from protobuf field: moose.proto.SelectQuery select_query = 3
|
|
1144
1190
|
*/
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
oneofKind: undefined;
|
|
1153
|
-
};
|
|
1191
|
+
selectQuery?: SelectQuery;
|
|
1192
|
+
/**
|
|
1193
|
+
* Optional source file path where this view is defined
|
|
1194
|
+
*
|
|
1195
|
+
* @generated from protobuf field: optional string source_file = 4
|
|
1196
|
+
*/
|
|
1197
|
+
sourceFile?: string;
|
|
1154
1198
|
}
|
|
1155
1199
|
/**
|
|
1156
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1200
|
+
* @generated MessageType for protobuf message moose.proto.CustomView
|
|
1157
1201
|
*/
|
|
1158
|
-
declare const
|
|
1159
|
-
declare class
|
|
1202
|
+
declare const CustomView: CustomView$Type;
|
|
1203
|
+
declare class MaterializedView$Type extends MessageType<MaterializedView> {
|
|
1160
1204
|
constructor();
|
|
1161
|
-
create(value?: PartialMessage<
|
|
1162
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1163
|
-
internalBinaryWrite(message:
|
|
1205
|
+
create(value?: PartialMessage<MaterializedView>): MaterializedView;
|
|
1206
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MaterializedView): MaterializedView;
|
|
1207
|
+
internalBinaryWrite(message: MaterializedView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1164
1208
|
}
|
|
1165
1209
|
/**
|
|
1166
|
-
*
|
|
1210
|
+
* ClickHouse Materialized View that writes transformed data to a target table.
|
|
1211
|
+
* MVs run the SELECT query on insert and persist results.
|
|
1212
|
+
*
|
|
1213
|
+
* @generated from protobuf message moose.proto.MaterializedView
|
|
1167
1214
|
*/
|
|
1168
|
-
interface
|
|
1215
|
+
interface MaterializedView {
|
|
1169
1216
|
/**
|
|
1170
|
-
*
|
|
1217
|
+
* Name of the materialized view
|
|
1218
|
+
*
|
|
1219
|
+
* @generated from protobuf field: string name = 1
|
|
1171
1220
|
*/
|
|
1172
|
-
|
|
1221
|
+
name: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Database where the MV is created (empty = default database)
|
|
1224
|
+
*
|
|
1225
|
+
* @generated from protobuf field: optional string database = 2
|
|
1226
|
+
*/
|
|
1227
|
+
database?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* The SELECT query that defines the transformation
|
|
1230
|
+
*
|
|
1231
|
+
* @generated from protobuf field: moose.proto.SelectQuery select_query = 3
|
|
1232
|
+
*/
|
|
1233
|
+
selectQuery?: SelectQuery;
|
|
1234
|
+
/**
|
|
1235
|
+
* Target table where transformed data is written (the TO clause)
|
|
1236
|
+
*
|
|
1237
|
+
* @generated from protobuf field: moose.proto.TableReference target_table = 4
|
|
1238
|
+
*/
|
|
1239
|
+
targetTable?: TableReference;
|
|
1240
|
+
/**
|
|
1241
|
+
* Optional source file path where this MV is defined
|
|
1242
|
+
*
|
|
1243
|
+
* @generated from protobuf field: optional string source_file = 5
|
|
1244
|
+
*/
|
|
1245
|
+
sourceFile?: string;
|
|
1173
1246
|
}
|
|
1174
1247
|
/**
|
|
1175
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1248
|
+
* @generated MessageType for protobuf message moose.proto.MaterializedView
|
|
1176
1249
|
*/
|
|
1177
|
-
declare const
|
|
1250
|
+
declare const MaterializedView: MaterializedView$Type;
|
|
1178
1251
|
declare class TopicToTableSyncProcess$Type extends MessageType<TopicToTableSyncProcess> {
|
|
1179
1252
|
constructor();
|
|
1180
1253
|
create(value?: PartialMessage<TopicToTableSyncProcess>): TopicToTableSyncProcess;
|
|
@@ -1918,6 +1991,18 @@ interface InfrastructureSignature {
|
|
|
1918
1991
|
* @generated from protobuf field: string topic_to_table_sync_process_id = 6
|
|
1919
1992
|
*/
|
|
1920
1993
|
topicToTableSyncProcessId: string;
|
|
1994
|
+
} | {
|
|
1995
|
+
oneofKind: "materializedViewId";
|
|
1996
|
+
/**
|
|
1997
|
+
* @generated from protobuf field: string materialized_view_id = 7
|
|
1998
|
+
*/
|
|
1999
|
+
materializedViewId: string;
|
|
2000
|
+
} | {
|
|
2001
|
+
oneofKind: "customViewId";
|
|
2002
|
+
/**
|
|
2003
|
+
* @generated from protobuf field: string custom_view_id = 8
|
|
2004
|
+
*/
|
|
2005
|
+
customViewId: string;
|
|
1921
2006
|
} | {
|
|
1922
2007
|
oneofKind: undefined;
|
|
1923
2008
|
};
|
|
@@ -1973,4 +2058,4 @@ interface WebAppMetadata {
|
|
|
1973
2058
|
*/
|
|
1974
2059
|
declare const WebAppMetadata: WebAppMetadata$Type;
|
|
1975
2060
|
|
|
1976
|
-
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, DataEnum, DateType, Decimal, EgressDetails, EndpointIngestionFormat, EnumMember, EnumValue, FloatType, FunctionProcess, InfrastructureMap, InfrastructureSignature, IngressDetails, InitialDataLoad, IntType, Json, JsonTypedPath, LifeCycle, Map, Metadata, Method, Nested, OrchestrationWorker, OrderBy, OrderByFields, PrimitiveSignature, PrimitiveTypes,
|
|
2061
|
+
export { ApiEndpoint, Column, ColumnType, ConsumptionQueryParam, CustomView, DataEnum, DateType, Decimal, 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, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
|