@514labs/moose-proto 0.6.297-ci-4-g3b2674ae → 0.6.297-ci-22-g1be0de24

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.
@@ -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
@@ -1082,6 +1100,154 @@ interface TableAlias {
1082
1100
  * @generated MessageType for protobuf message moose.proto.TableAlias
1083
1101
  */
1084
1102
  declare const TableAlias: TableAlias$Type;
1103
+ declare class TableReference$Type extends MessageType<TableReference> {
1104
+ constructor();
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;
1108
+ }
1109
+ /**
1110
+ * Reference to a table, optionally qualified with database
1111
+ *
1112
+ * @generated from protobuf message moose.proto.TableReference
1113
+ */
1114
+ interface TableReference {
1115
+ /**
1116
+ * Database name (empty means use default database)
1117
+ *
1118
+ * @generated from protobuf field: optional string database = 1
1119
+ */
1120
+ database?: string;
1121
+ /**
1122
+ * Table name
1123
+ *
1124
+ * @generated from protobuf field: string table = 2
1125
+ */
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 {
1144
+ /**
1145
+ * The raw SELECT SQL statement
1146
+ *
1147
+ * @generated from protobuf field: string sql = 1
1148
+ */
1149
+ sql: string;
1150
+ /**
1151
+ * Tables/views referenced in the FROM clause(s)
1152
+ *
1153
+ * @generated from protobuf field: repeated moose.proto.TableReference source_tables = 2
1154
+ */
1155
+ sourceTables: TableReference[];
1156
+ }
1157
+ /**
1158
+ * @generated MessageType for protobuf message moose.proto.SelectQuery
1159
+ */
1160
+ declare const SelectQuery: SelectQuery$Type;
1161
+ declare class CustomView$Type extends MessageType<CustomView> {
1162
+ constructor();
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;
1166
+ }
1167
+ /**
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
1172
+ */
1173
+ interface CustomView {
1174
+ /**
1175
+ * Name of the view
1176
+ *
1177
+ * @generated from protobuf field: string name = 1
1178
+ */
1179
+ name: string;
1180
+ /**
1181
+ * Database where the view is created (empty = default database)
1182
+ *
1183
+ * @generated from protobuf field: optional string database = 2
1184
+ */
1185
+ database?: string;
1186
+ /**
1187
+ * The SELECT query that defines the view
1188
+ *
1189
+ * @generated from protobuf field: moose.proto.SelectQuery select_query = 3
1190
+ */
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;
1198
+ }
1199
+ /**
1200
+ * @generated MessageType for protobuf message moose.proto.CustomView
1201
+ */
1202
+ declare const CustomView: CustomView$Type;
1203
+ declare class MaterializedView$Type extends MessageType<MaterializedView> {
1204
+ constructor();
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;
1208
+ }
1209
+ /**
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
1214
+ */
1215
+ interface MaterializedView {
1216
+ /**
1217
+ * Name of the materialized view
1218
+ *
1219
+ * @generated from protobuf field: string name = 1
1220
+ */
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;
1246
+ }
1247
+ /**
1248
+ * @generated MessageType for protobuf message moose.proto.MaterializedView
1249
+ */
1250
+ declare const MaterializedView: MaterializedView$Type;
1085
1251
  declare class TopicToTableSyncProcess$Type extends MessageType<TopicToTableSyncProcess> {
1086
1252
  constructor();
1087
1253
  create(value?: PartialMessage<TopicToTableSyncProcess>): TopicToTableSyncProcess;
@@ -1825,6 +1991,18 @@ interface InfrastructureSignature {
1825
1991
  * @generated from protobuf field: string topic_to_table_sync_process_id = 6
1826
1992
  */
1827
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;
1828
2006
  } | {
1829
2007
  oneofKind: undefined;
1830
2008
  };
@@ -1880,4 +2058,4 @@ interface WebAppMetadata {
1880
2058
  */
1881
2059
  declare const WebAppMetadata: WebAppMetadata$Type;
1882
2060
 
1883
- 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, SchemaRegistry, SchemaRegistry_Encoding, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
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 };
@@ -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
@@ -1082,6 +1100,154 @@ interface TableAlias {
1082
1100
  * @generated MessageType for protobuf message moose.proto.TableAlias
1083
1101
  */
1084
1102
  declare const TableAlias: TableAlias$Type;
1103
+ declare class TableReference$Type extends MessageType<TableReference> {
1104
+ constructor();
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;
1108
+ }
1109
+ /**
1110
+ * Reference to a table, optionally qualified with database
1111
+ *
1112
+ * @generated from protobuf message moose.proto.TableReference
1113
+ */
1114
+ interface TableReference {
1115
+ /**
1116
+ * Database name (empty means use default database)
1117
+ *
1118
+ * @generated from protobuf field: optional string database = 1
1119
+ */
1120
+ database?: string;
1121
+ /**
1122
+ * Table name
1123
+ *
1124
+ * @generated from protobuf field: string table = 2
1125
+ */
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 {
1144
+ /**
1145
+ * The raw SELECT SQL statement
1146
+ *
1147
+ * @generated from protobuf field: string sql = 1
1148
+ */
1149
+ sql: string;
1150
+ /**
1151
+ * Tables/views referenced in the FROM clause(s)
1152
+ *
1153
+ * @generated from protobuf field: repeated moose.proto.TableReference source_tables = 2
1154
+ */
1155
+ sourceTables: TableReference[];
1156
+ }
1157
+ /**
1158
+ * @generated MessageType for protobuf message moose.proto.SelectQuery
1159
+ */
1160
+ declare const SelectQuery: SelectQuery$Type;
1161
+ declare class CustomView$Type extends MessageType<CustomView> {
1162
+ constructor();
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;
1166
+ }
1167
+ /**
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
1172
+ */
1173
+ interface CustomView {
1174
+ /**
1175
+ * Name of the view
1176
+ *
1177
+ * @generated from protobuf field: string name = 1
1178
+ */
1179
+ name: string;
1180
+ /**
1181
+ * Database where the view is created (empty = default database)
1182
+ *
1183
+ * @generated from protobuf field: optional string database = 2
1184
+ */
1185
+ database?: string;
1186
+ /**
1187
+ * The SELECT query that defines the view
1188
+ *
1189
+ * @generated from protobuf field: moose.proto.SelectQuery select_query = 3
1190
+ */
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;
1198
+ }
1199
+ /**
1200
+ * @generated MessageType for protobuf message moose.proto.CustomView
1201
+ */
1202
+ declare const CustomView: CustomView$Type;
1203
+ declare class MaterializedView$Type extends MessageType<MaterializedView> {
1204
+ constructor();
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;
1208
+ }
1209
+ /**
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
1214
+ */
1215
+ interface MaterializedView {
1216
+ /**
1217
+ * Name of the materialized view
1218
+ *
1219
+ * @generated from protobuf field: string name = 1
1220
+ */
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;
1246
+ }
1247
+ /**
1248
+ * @generated MessageType for protobuf message moose.proto.MaterializedView
1249
+ */
1250
+ declare const MaterializedView: MaterializedView$Type;
1085
1251
  declare class TopicToTableSyncProcess$Type extends MessageType<TopicToTableSyncProcess> {
1086
1252
  constructor();
1087
1253
  create(value?: PartialMessage<TopicToTableSyncProcess>): TopicToTableSyncProcess;
@@ -1825,6 +1991,18 @@ interface InfrastructureSignature {
1825
1991
  * @generated from protobuf field: string topic_to_table_sync_process_id = 6
1826
1992
  */
1827
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;
1828
2006
  } | {
1829
2007
  oneofKind: undefined;
1830
2008
  };
@@ -1880,4 +2058,4 @@ interface WebAppMetadata {
1880
2058
  */
1881
2059
  declare const WebAppMetadata: WebAppMetadata$Type;
1882
2060
 
1883
- 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, SchemaRegistry, SchemaRegistry_Encoding, SimpleColumnType, SourceLocation, SqlResource, SubjectVersion, Table, TableAlias, TableIndex, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
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 };