@514labs/moose-proto 0.6.425 → 0.6.427

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.
@@ -973,6 +973,12 @@ interface Table {
973
973
  * @generated from protobuf field: optional string table_settings_hash = 20
974
974
  */
975
975
  tableSettingsHash?: string;
976
+ /**
977
+ * Optional table projections for alternative data ordering within parts
978
+ *
979
+ * @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
980
+ */
981
+ projections: TableProjection[];
976
982
  }
977
983
  /**
978
984
  * @generated MessageType for protobuf message moose.proto.Table
@@ -1074,6 +1080,31 @@ interface TableIndex {
1074
1080
  * @generated MessageType for protobuf message moose.proto.TableIndex
1075
1081
  */
1076
1082
  declare const TableIndex: TableIndex$Type;
1083
+ declare class TableProjection$Type extends MessageType<TableProjection> {
1084
+ constructor();
1085
+ create(value?: PartialMessage<TableProjection>): TableProjection;
1086
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableProjection): TableProjection;
1087
+ internalBinaryWrite(message: TableProjection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1088
+ }
1089
+ /**
1090
+ * DB-neutral representation of a table projection
1091
+ *
1092
+ * @generated from protobuf message moose.proto.TableProjection
1093
+ */
1094
+ interface TableProjection {
1095
+ /**
1096
+ * @generated from protobuf field: string name = 1
1097
+ */
1098
+ name: string;
1099
+ /**
1100
+ * @generated from protobuf field: string body = 2
1101
+ */
1102
+ body: string;
1103
+ }
1104
+ /**
1105
+ * @generated MessageType for protobuf message moose.proto.TableProjection
1106
+ */
1107
+ declare const TableProjection: TableProjection$Type;
1077
1108
  declare class Dmv1View$Type extends MessageType<Dmv1View> {
1078
1109
  constructor();
1079
1110
  create(value?: PartialMessage<Dmv1View>): Dmv1View;
@@ -2161,4 +2192,4 @@ interface Workflow {
2161
2192
  */
2162
2193
  declare const Workflow: Workflow$Type;
2163
2194
 
2164
- 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, Workflow };
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 };
@@ -973,6 +973,12 @@ interface Table {
973
973
  * @generated from protobuf field: optional string table_settings_hash = 20
974
974
  */
975
975
  tableSettingsHash?: string;
976
+ /**
977
+ * Optional table projections for alternative data ordering within parts
978
+ *
979
+ * @generated from protobuf field: repeated moose.proto.TableProjection projections = 21
980
+ */
981
+ projections: TableProjection[];
976
982
  }
977
983
  /**
978
984
  * @generated MessageType for protobuf message moose.proto.Table
@@ -1074,6 +1080,31 @@ interface TableIndex {
1074
1080
  * @generated MessageType for protobuf message moose.proto.TableIndex
1075
1081
  */
1076
1082
  declare const TableIndex: TableIndex$Type;
1083
+ declare class TableProjection$Type extends MessageType<TableProjection> {
1084
+ constructor();
1085
+ create(value?: PartialMessage<TableProjection>): TableProjection;
1086
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TableProjection): TableProjection;
1087
+ internalBinaryWrite(message: TableProjection, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1088
+ }
1089
+ /**
1090
+ * DB-neutral representation of a table projection
1091
+ *
1092
+ * @generated from protobuf message moose.proto.TableProjection
1093
+ */
1094
+ interface TableProjection {
1095
+ /**
1096
+ * @generated from protobuf field: string name = 1
1097
+ */
1098
+ name: string;
1099
+ /**
1100
+ * @generated from protobuf field: string body = 2
1101
+ */
1102
+ body: string;
1103
+ }
1104
+ /**
1105
+ * @generated MessageType for protobuf message moose.proto.TableProjection
1106
+ */
1107
+ declare const TableProjection: TableProjection$Type;
1077
1108
  declare class Dmv1View$Type extends MessageType<Dmv1View> {
1078
1109
  constructor();
1079
1110
  create(value?: PartialMessage<Dmv1View>): Dmv1View;
@@ -2161,4 +2192,4 @@ interface Workflow {
2161
2192
  */
2162
2193
  declare const Workflow: Workflow$Type;
2163
2194
 
2164
- 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, Workflow };
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 };
@@ -62,6 +62,7 @@ __export(infrastructure_map_exports, {
62
62
  Table: () => Table,
63
63
  TableAlias: () => TableAlias,
64
64
  TableIndex: () => TableIndex,
65
+ TableProjection: () => TableProjection,
65
66
  TableReference: () => TableReference,
66
67
  Topic: () => Topic,
67
68
  TopicToTableSyncProcess: () => TopicToTableSyncProcess,
@@ -2155,7 +2156,8 @@ var Table$Type = class extends import_runtime16.MessageType {
2155
2156
  opt: true,
2156
2157
  T: 9
2157
2158
  /*ScalarType.STRING*/
2158
- }
2159
+ },
2160
+ { no: 21, name: "projections", kind: "message", repeat: 2, T: () => TableProjection }
2159
2161
  ]);
2160
2162
  }
2161
2163
  create(value) {
@@ -2167,6 +2169,7 @@ var Table$Type = class extends import_runtime16.MessageType {
2167
2169
  message.lifeCycle = 0;
2168
2170
  message.tableSettings = {};
2169
2171
  message.indexes = [];
2172
+ message.projections = [];
2170
2173
  if (value !== void 0)
2171
2174
  (0, import_runtime15.reflectionMergePartial)(this, message, value);
2172
2175
  return message;
@@ -2256,6 +2259,10 @@ var Table$Type = class extends import_runtime16.MessageType {
2256
2259
  20:
2257
2260
  message.tableSettingsHash = reader.string();
2258
2261
  break;
2262
+ case /* repeated moose.proto.TableProjection projections */
2263
+ 21:
2264
+ message.projections.push(TableProjection.internalBinaryRead(reader, reader.uint32(), options));
2265
+ break;
2259
2266
  default:
2260
2267
  let u = options.readUnknownField;
2261
2268
  if (u === "throw")
@@ -2325,6 +2332,8 @@ var Table$Type = class extends import_runtime16.MessageType {
2325
2332
  writer.tag(19, import_runtime13.WireType.LengthDelimited).string(message.primaryKeyExpression);
2326
2333
  if (message.tableSettingsHash !== void 0)
2327
2334
  writer.tag(20, import_runtime13.WireType.LengthDelimited).string(message.tableSettingsHash);
2335
+ for (let i = 0; i < message.projections.length; i++)
2336
+ TableProjection.internalBinaryWrite(message.projections[i], writer.tag(21, import_runtime13.WireType.LengthDelimited).fork(), options).join();
2328
2337
  let u = options.writeUnknownFields;
2329
2338
  if (u !== false)
2330
2339
  (u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2552,6 +2561,69 @@ var TableIndex$Type = class extends import_runtime16.MessageType {
2552
2561
  }
2553
2562
  };
2554
2563
  var TableIndex = new TableIndex$Type();
2564
+ var TableProjection$Type = class extends import_runtime16.MessageType {
2565
+ constructor() {
2566
+ super("moose.proto.TableProjection", [
2567
+ {
2568
+ no: 1,
2569
+ name: "name",
2570
+ kind: "scalar",
2571
+ T: 9
2572
+ /*ScalarType.STRING*/
2573
+ },
2574
+ {
2575
+ no: 2,
2576
+ name: "body",
2577
+ kind: "scalar",
2578
+ T: 9
2579
+ /*ScalarType.STRING*/
2580
+ }
2581
+ ]);
2582
+ }
2583
+ create(value) {
2584
+ const message = globalThis.Object.create(this.messagePrototype);
2585
+ message.name = "";
2586
+ message.body = "";
2587
+ if (value !== void 0)
2588
+ (0, import_runtime15.reflectionMergePartial)(this, message, value);
2589
+ return message;
2590
+ }
2591
+ internalBinaryRead(reader, length, options, target) {
2592
+ let message = target ?? this.create(), end = reader.pos + length;
2593
+ while (reader.pos < end) {
2594
+ let [fieldNo, wireType] = reader.tag();
2595
+ switch (fieldNo) {
2596
+ case /* string name */
2597
+ 1:
2598
+ message.name = reader.string();
2599
+ break;
2600
+ case /* string body */
2601
+ 2:
2602
+ message.body = reader.string();
2603
+ break;
2604
+ default:
2605
+ let u = options.readUnknownField;
2606
+ if (u === "throw")
2607
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2608
+ let d = reader.skip(wireType);
2609
+ if (u !== false)
2610
+ (u === true ? import_runtime14.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2611
+ }
2612
+ }
2613
+ return message;
2614
+ }
2615
+ internalBinaryWrite(message, writer, options) {
2616
+ if (message.name !== "")
2617
+ writer.tag(1, import_runtime13.WireType.LengthDelimited).string(message.name);
2618
+ if (message.body !== "")
2619
+ writer.tag(2, import_runtime13.WireType.LengthDelimited).string(message.body);
2620
+ let u = options.writeUnknownFields;
2621
+ if (u !== false)
2622
+ (u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2623
+ return writer;
2624
+ }
2625
+ };
2626
+ var TableProjection = new TableProjection$Type();
2555
2627
  var Dmv1View$Type = class extends import_runtime16.MessageType {
2556
2628
  constructor() {
2557
2629
  super("moose.proto.Dmv1View", [
@@ -5096,6 +5168,7 @@ var Workflow = new Workflow$Type();
5096
5168
  Table,
5097
5169
  TableAlias,
5098
5170
  TableIndex,
5171
+ TableProjection,
5099
5172
  TableReference,
5100
5173
  Topic,
5101
5174
  TopicToTableSyncProcess,