@514labs/moose-proto 0.6.297 → 0.6.298
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 +193 -15
- package/dist/infrastructure_map.d.ts +193 -15
- package/dist/infrastructure_map.js +400 -19
- package/dist/infrastructure_map.js.map +1 -1
- package/dist/infrastructure_map.mjs +396 -19
- 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
|
/**
|
|
@@ -435,10 +437,10 @@ interface InfrastructureMap {
|
|
|
435
437
|
[key: string]: Table;
|
|
436
438
|
};
|
|
437
439
|
/**
|
|
438
|
-
* @generated from protobuf field: map<string, moose.proto.
|
|
440
|
+
* @generated from protobuf field: map<string, moose.proto.Dmv1View> dmv1_views = 4
|
|
439
441
|
*/
|
|
440
|
-
|
|
441
|
-
[key: string]:
|
|
442
|
+
dmv1Views: {
|
|
443
|
+
[key: string]: Dmv1View;
|
|
442
444
|
};
|
|
443
445
|
/**
|
|
444
446
|
* @generated from protobuf field: map<string, moose.proto.TopicToTableSyncProcess> topic_to_table_sync_processes = 5
|
|
@@ -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 views (replaces SqlResource for views)
|
|
505
|
+
*
|
|
506
|
+
* @generated from protobuf field: map<string, moose.proto.View> views = 17
|
|
507
|
+
*/
|
|
508
|
+
views: {
|
|
509
|
+
[key: string]: View;
|
|
510
|
+
};
|
|
493
511
|
}
|
|
494
512
|
/**
|
|
495
513
|
* @generated MessageType for protobuf message moose.proto.InfrastructureMap
|
|
@@ -1028,16 +1046,16 @@ interface TableIndex {
|
|
|
1028
1046
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1029
1047
|
*/
|
|
1030
1048
|
declare const TableIndex: TableIndex$Type;
|
|
1031
|
-
declare class
|
|
1049
|
+
declare class Dmv1View$Type extends MessageType<Dmv1View> {
|
|
1032
1050
|
constructor();
|
|
1033
|
-
create(value?: PartialMessage<
|
|
1034
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1035
|
-
internalBinaryWrite(message:
|
|
1051
|
+
create(value?: PartialMessage<Dmv1View>): Dmv1View;
|
|
1052
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Dmv1View): Dmv1View;
|
|
1053
|
+
internalBinaryWrite(message: Dmv1View, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1036
1054
|
}
|
|
1037
1055
|
/**
|
|
1038
|
-
* @generated from protobuf message moose.proto.
|
|
1056
|
+
* @generated from protobuf message moose.proto.Dmv1View
|
|
1039
1057
|
*/
|
|
1040
|
-
interface
|
|
1058
|
+
interface Dmv1View {
|
|
1041
1059
|
/**
|
|
1042
1060
|
* @generated from protobuf field: string name = 1
|
|
1043
1061
|
*/
|
|
@@ -1060,9 +1078,9 @@ interface View {
|
|
|
1060
1078
|
};
|
|
1061
1079
|
}
|
|
1062
1080
|
/**
|
|
1063
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1081
|
+
* @generated MessageType for protobuf message moose.proto.Dmv1View
|
|
1064
1082
|
*/
|
|
1065
|
-
declare const
|
|
1083
|
+
declare const Dmv1View: Dmv1View$Type;
|
|
1066
1084
|
declare class TableAlias$Type extends MessageType<TableAlias> {
|
|
1067
1085
|
constructor();
|
|
1068
1086
|
create(value?: PartialMessage<TableAlias>): TableAlias;
|
|
@@ -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 View$Type extends MessageType<View> {
|
|
1162
|
+
constructor();
|
|
1163
|
+
create(value?: PartialMessage<View>): View;
|
|
1164
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: View): View;
|
|
1165
|
+
internalBinaryWrite(message: View, 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.View
|
|
1172
|
+
*/
|
|
1173
|
+
interface View {
|
|
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 metadata for the view (e.g., description, source file)
|
|
1194
|
+
*
|
|
1195
|
+
* @generated from protobuf field: optional moose.proto.Metadata metadata = 4
|
|
1196
|
+
*/
|
|
1197
|
+
metadata?: Metadata;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @generated MessageType for protobuf message moose.proto.View
|
|
1201
|
+
*/
|
|
1202
|
+
declare const View: View$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 metadata for the materialized view (e.g., description, source file)
|
|
1242
|
+
*
|
|
1243
|
+
* @generated from protobuf field: optional moose.proto.Metadata metadata = 5
|
|
1244
|
+
*/
|
|
1245
|
+
metadata?: Metadata;
|
|
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;
|
|
@@ -1802,11 +1968,11 @@ interface InfrastructureSignature {
|
|
|
1802
1968
|
*/
|
|
1803
1969
|
tableId: string;
|
|
1804
1970
|
} | {
|
|
1805
|
-
oneofKind: "
|
|
1971
|
+
oneofKind: "dmv1ViewId";
|
|
1806
1972
|
/**
|
|
1807
|
-
* @generated from protobuf field: string
|
|
1973
|
+
* @generated from protobuf field: string dmv1_view_id = 3
|
|
1808
1974
|
*/
|
|
1809
|
-
|
|
1975
|
+
dmv1ViewId: string;
|
|
1810
1976
|
} | {
|
|
1811
1977
|
oneofKind: "sqlResourceId";
|
|
1812
1978
|
/**
|
|
@@ -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: "viewId";
|
|
2002
|
+
/**
|
|
2003
|
+
* @generated from protobuf field: string view_id = 8
|
|
2004
|
+
*/
|
|
2005
|
+
viewId: 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, 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, 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
|
/**
|
|
@@ -435,10 +437,10 @@ interface InfrastructureMap {
|
|
|
435
437
|
[key: string]: Table;
|
|
436
438
|
};
|
|
437
439
|
/**
|
|
438
|
-
* @generated from protobuf field: map<string, moose.proto.
|
|
440
|
+
* @generated from protobuf field: map<string, moose.proto.Dmv1View> dmv1_views = 4
|
|
439
441
|
*/
|
|
440
|
-
|
|
441
|
-
[key: string]:
|
|
442
|
+
dmv1Views: {
|
|
443
|
+
[key: string]: Dmv1View;
|
|
442
444
|
};
|
|
443
445
|
/**
|
|
444
446
|
* @generated from protobuf field: map<string, moose.proto.TopicToTableSyncProcess> topic_to_table_sync_processes = 5
|
|
@@ -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 views (replaces SqlResource for views)
|
|
505
|
+
*
|
|
506
|
+
* @generated from protobuf field: map<string, moose.proto.View> views = 17
|
|
507
|
+
*/
|
|
508
|
+
views: {
|
|
509
|
+
[key: string]: View;
|
|
510
|
+
};
|
|
493
511
|
}
|
|
494
512
|
/**
|
|
495
513
|
* @generated MessageType for protobuf message moose.proto.InfrastructureMap
|
|
@@ -1028,16 +1046,16 @@ interface TableIndex {
|
|
|
1028
1046
|
* @generated MessageType for protobuf message moose.proto.TableIndex
|
|
1029
1047
|
*/
|
|
1030
1048
|
declare const TableIndex: TableIndex$Type;
|
|
1031
|
-
declare class
|
|
1049
|
+
declare class Dmv1View$Type extends MessageType<Dmv1View> {
|
|
1032
1050
|
constructor();
|
|
1033
|
-
create(value?: PartialMessage<
|
|
1034
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
1035
|
-
internalBinaryWrite(message:
|
|
1051
|
+
create(value?: PartialMessage<Dmv1View>): Dmv1View;
|
|
1052
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Dmv1View): Dmv1View;
|
|
1053
|
+
internalBinaryWrite(message: Dmv1View, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
1036
1054
|
}
|
|
1037
1055
|
/**
|
|
1038
|
-
* @generated from protobuf message moose.proto.
|
|
1056
|
+
* @generated from protobuf message moose.proto.Dmv1View
|
|
1039
1057
|
*/
|
|
1040
|
-
interface
|
|
1058
|
+
interface Dmv1View {
|
|
1041
1059
|
/**
|
|
1042
1060
|
* @generated from protobuf field: string name = 1
|
|
1043
1061
|
*/
|
|
@@ -1060,9 +1078,9 @@ interface View {
|
|
|
1060
1078
|
};
|
|
1061
1079
|
}
|
|
1062
1080
|
/**
|
|
1063
|
-
* @generated MessageType for protobuf message moose.proto.
|
|
1081
|
+
* @generated MessageType for protobuf message moose.proto.Dmv1View
|
|
1064
1082
|
*/
|
|
1065
|
-
declare const
|
|
1083
|
+
declare const Dmv1View: Dmv1View$Type;
|
|
1066
1084
|
declare class TableAlias$Type extends MessageType<TableAlias> {
|
|
1067
1085
|
constructor();
|
|
1068
1086
|
create(value?: PartialMessage<TableAlias>): TableAlias;
|
|
@@ -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 View$Type extends MessageType<View> {
|
|
1162
|
+
constructor();
|
|
1163
|
+
create(value?: PartialMessage<View>): View;
|
|
1164
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: View): View;
|
|
1165
|
+
internalBinaryWrite(message: View, 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.View
|
|
1172
|
+
*/
|
|
1173
|
+
interface View {
|
|
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 metadata for the view (e.g., description, source file)
|
|
1194
|
+
*
|
|
1195
|
+
* @generated from protobuf field: optional moose.proto.Metadata metadata = 4
|
|
1196
|
+
*/
|
|
1197
|
+
metadata?: Metadata;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @generated MessageType for protobuf message moose.proto.View
|
|
1201
|
+
*/
|
|
1202
|
+
declare const View: View$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 metadata for the materialized view (e.g., description, source file)
|
|
1242
|
+
*
|
|
1243
|
+
* @generated from protobuf field: optional moose.proto.Metadata metadata = 5
|
|
1244
|
+
*/
|
|
1245
|
+
metadata?: Metadata;
|
|
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;
|
|
@@ -1802,11 +1968,11 @@ interface InfrastructureSignature {
|
|
|
1802
1968
|
*/
|
|
1803
1969
|
tableId: string;
|
|
1804
1970
|
} | {
|
|
1805
|
-
oneofKind: "
|
|
1971
|
+
oneofKind: "dmv1ViewId";
|
|
1806
1972
|
/**
|
|
1807
|
-
* @generated from protobuf field: string
|
|
1973
|
+
* @generated from protobuf field: string dmv1_view_id = 3
|
|
1808
1974
|
*/
|
|
1809
|
-
|
|
1975
|
+
dmv1ViewId: string;
|
|
1810
1976
|
} | {
|
|
1811
1977
|
oneofKind: "sqlResourceId";
|
|
1812
1978
|
/**
|
|
@@ -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: "viewId";
|
|
2002
|
+
/**
|
|
2003
|
+
* @generated from protobuf field: string view_id = 8
|
|
2004
|
+
*/
|
|
2005
|
+
viewId: 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, 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, TableReference, Topic, TopicToTableSyncProcess, TopicToTopicSyncProcess, Tuple, View, WebApp, WebAppMetadata };
|