@514labs/moose-proto 0.6.401 → 0.6.402

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.
@@ -1259,6 +1259,12 @@ interface MaterializedView {
1259
1259
  * @generated from protobuf field: optional moose.proto.Metadata metadata = 5
1260
1260
  */
1261
1261
  metadata?: Metadata;
1262
+ /**
1263
+ * Lifecycle management policy for the materialized view
1264
+ *
1265
+ * @generated from protobuf field: moose.proto.LifeCycle life_cycle = 6
1266
+ */
1267
+ lifeCycle: LifeCycle;
1262
1268
  }
1263
1269
  /**
1264
1270
  * @generated MessageType for protobuf message moose.proto.MaterializedView
@@ -1259,6 +1259,12 @@ interface MaterializedView {
1259
1259
  * @generated from protobuf field: optional moose.proto.Metadata metadata = 5
1260
1260
  */
1261
1261
  metadata?: Metadata;
1262
+ /**
1263
+ * Lifecycle management policy for the materialized view
1264
+ *
1265
+ * @generated from protobuf field: moose.proto.LifeCycle life_cycle = 6
1266
+ */
1267
+ lifeCycle: LifeCycle;
1262
1268
  }
1263
1269
  /**
1264
1270
  * @generated MessageType for protobuf message moose.proto.MaterializedView
@@ -2876,12 +2876,14 @@ var MaterializedView$Type = class extends import_runtime16.MessageType {
2876
2876
  },
2877
2877
  { no: 3, name: "select_query", kind: "message", T: () => SelectQuery },
2878
2878
  { no: 4, name: "target_table", kind: "message", T: () => TableReference },
2879
- { no: 5, name: "metadata", kind: "message", T: () => Metadata }
2879
+ { no: 5, name: "metadata", kind: "message", T: () => Metadata },
2880
+ { no: 6, name: "life_cycle", kind: "enum", T: () => ["moose.proto.LifeCycle", LifeCycle] }
2880
2881
  ]);
2881
2882
  }
2882
2883
  create(value) {
2883
2884
  const message = globalThis.Object.create(this.messagePrototype);
2884
2885
  message.name = "";
2886
+ message.lifeCycle = 0;
2885
2887
  if (value !== void 0)
2886
2888
  (0, import_runtime15.reflectionMergePartial)(this, message, value);
2887
2889
  return message;
@@ -2911,6 +2913,10 @@ var MaterializedView$Type = class extends import_runtime16.MessageType {
2911
2913
  5:
2912
2914
  message.metadata = Metadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
2913
2915
  break;
2916
+ case /* moose.proto.LifeCycle life_cycle */
2917
+ 6:
2918
+ message.lifeCycle = reader.int32();
2919
+ break;
2914
2920
  default:
2915
2921
  let u = options.readUnknownField;
2916
2922
  if (u === "throw")
@@ -2933,6 +2939,8 @@ var MaterializedView$Type = class extends import_runtime16.MessageType {
2933
2939
  TableReference.internalBinaryWrite(message.targetTable, writer.tag(4, import_runtime13.WireType.LengthDelimited).fork(), options).join();
2934
2940
  if (message.metadata)
2935
2941
  Metadata.internalBinaryWrite(message.metadata, writer.tag(5, import_runtime13.WireType.LengthDelimited).fork(), options).join();
2942
+ if (message.lifeCycle !== 0)
2943
+ writer.tag(6, import_runtime13.WireType.Varint).int32(message.lifeCycle);
2936
2944
  let u = options.writeUnknownFields;
2937
2945
  if (u !== false)
2938
2946
  (u == true ? import_runtime14.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);