@514labs/moose-lib 0.6.247-ci-1-g7db051eb → 0.6.248-ci-1-g620909c2

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.
Files changed (35) hide show
  1. package/dist/{browserCompatible-CwNwv0e0.d.mts → browserCompatible-CYDIQRRZ.d.mts} +26 -2
  2. package/dist/{browserCompatible-2eoeppzc.d.ts → browserCompatible-C_H_-QHB.d.ts} +26 -2
  3. package/dist/browserCompatible.d.mts +2 -2
  4. package/dist/browserCompatible.d.ts +2 -2
  5. package/dist/browserCompatible.js +10 -5
  6. package/dist/browserCompatible.js.map +1 -1
  7. package/dist/browserCompatible.mjs +10 -5
  8. package/dist/browserCompatible.mjs.map +1 -1
  9. package/dist/compilerPlugin.js +25 -1
  10. package/dist/compilerPlugin.js.map +1 -1
  11. package/dist/compilerPlugin.mjs +25 -1
  12. package/dist/compilerPlugin.mjs.map +1 -1
  13. package/dist/dataModels/toDataModels.js +25 -1
  14. package/dist/dataModels/toDataModels.js.map +1 -1
  15. package/dist/dataModels/toDataModels.mjs +25 -1
  16. package/dist/dataModels/toDataModels.mjs.map +1 -1
  17. package/dist/dmv2/index.d.mts +1 -1
  18. package/dist/dmv2/index.d.ts +1 -1
  19. package/dist/dmv2/index.js +10 -5
  20. package/dist/dmv2/index.js.map +1 -1
  21. package/dist/dmv2/index.mjs +10 -5
  22. package/dist/dmv2/index.mjs.map +1 -1
  23. package/dist/{index-bZEbqrMe.d.mts → index-xC52kbse.d.mts} +102 -1
  24. package/dist/{index-bZEbqrMe.d.ts → index-xC52kbse.d.ts} +102 -1
  25. package/dist/index.d.mts +3 -3
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +11 -5
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +11 -5
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/moose-runner.js +15 -0
  32. package/dist/moose-runner.js.map +1 -1
  33. package/dist/moose-runner.mjs +15 -0
  34. package/dist/moose-runner.mjs.map +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import './index-bZEbqrMe.mjs';
1
+ import './index-xC52kbse.mjs';
2
2
  import { Pattern, TagBase } from 'typia/lib/tags';
3
3
  import { tags } from 'typia';
4
4
 
@@ -147,6 +147,30 @@ type ClickHouseDefault<SqlExpression extends string> = {
147
147
  type ClickHouseTTL<SqlExpression extends string> = {
148
148
  _clickhouse_ttl?: SqlExpression;
149
149
  };
150
+ /**
151
+ * ClickHouse MATERIALIZED column annotation.
152
+ * The column value is computed at INSERT time and physically stored.
153
+ * Cannot be explicitly inserted by users.
154
+ *
155
+ * @example
156
+ * interface Events {
157
+ * eventTime: DateTime;
158
+ * // Extract date component - computed and stored at insert time
159
+ * eventDate: Date & ClickHouseMaterialized<"toDate(event_time)">;
160
+ *
161
+ * userId: string;
162
+ * // Precompute hash for fast lookups
163
+ * userHash: UInt64 & ClickHouseMaterialized<"cityHash64(userId)">;
164
+ * }
165
+ *
166
+ * @remarks
167
+ * - MATERIALIZED and DEFAULT are mutually exclusive
168
+ * - Can be combined with ClickHouseCodec for compression
169
+ * - Changing the expression modifies the column in-place (existing values preserved)
170
+ */
171
+ type ClickHouseMaterialized<SqlExpression extends string> = {
172
+ _clickhouse_materialized?: SqlExpression;
173
+ };
150
174
  /**
151
175
  * See also {@link ClickHouseDefault}
152
176
  *
@@ -157,4 +181,4 @@ type WithDefault<T, _SqlExpression extends string> = T;
157
181
  type Key<T extends string | number | Date> = T;
158
182
  type JWT<T extends object> = T;
159
183
 
160
- export type { UInt64 as A, Decimal as B, ClickHouseByteSize as C, DateTime as D, FixedString as F, Int8 as I, JWT as J, Key as K, LowCardinality as L, UInt8 as U, WithDefault as W, ClickHouseInt as a, ClickHouseNamedTuple as b, ClickHousePoint as c, ClickHouseRing as d, ClickHouseLineString as e, ClickHouseMultiLineString as f, ClickHousePolygon as g, ClickHouseMultiPolygon as h, ClickHousePrecision as i, ClickHouseDecimal as j, ClickHouseFixedStringSize as k, ClickHouseFloat as l, ClickHouseJson as m, ClickHouseDefault as n, ClickHouseTTL as o, ClickHouseCodec as p, DateTime64 as q, DateTimeString as r, DateTime64String as s, Float32 as t, Float64 as u, Int16 as v, Int32 as w, Int64 as x, UInt16 as y, UInt32 as z };
184
+ export type { UInt32 as A, UInt64 as B, ClickHouseByteSize as C, DateTime as D, Decimal as E, FixedString as F, Int8 as I, JWT as J, Key as K, LowCardinality as L, UInt8 as U, WithDefault as W, ClickHouseInt as a, ClickHouseNamedTuple as b, ClickHousePoint as c, ClickHouseRing as d, ClickHouseLineString as e, ClickHouseMultiLineString as f, ClickHousePolygon as g, ClickHouseMultiPolygon as h, ClickHousePrecision as i, ClickHouseDecimal as j, ClickHouseFixedStringSize as k, ClickHouseFloat as l, ClickHouseJson as m, ClickHouseDefault as n, ClickHouseTTL as o, ClickHouseMaterialized as p, ClickHouseCodec as q, DateTime64 as r, DateTimeString as s, DateTime64String as t, Float32 as u, Float64 as v, Int16 as w, Int32 as x, Int64 as y, UInt16 as z };
@@ -1,4 +1,4 @@
1
- import './index-bZEbqrMe.js';
1
+ import './index-xC52kbse.js';
2
2
  import { Pattern, TagBase } from 'typia/lib/tags';
3
3
  import { tags } from 'typia';
4
4
 
@@ -147,6 +147,30 @@ type ClickHouseDefault<SqlExpression extends string> = {
147
147
  type ClickHouseTTL<SqlExpression extends string> = {
148
148
  _clickhouse_ttl?: SqlExpression;
149
149
  };
150
+ /**
151
+ * ClickHouse MATERIALIZED column annotation.
152
+ * The column value is computed at INSERT time and physically stored.
153
+ * Cannot be explicitly inserted by users.
154
+ *
155
+ * @example
156
+ * interface Events {
157
+ * eventTime: DateTime;
158
+ * // Extract date component - computed and stored at insert time
159
+ * eventDate: Date & ClickHouseMaterialized<"toDate(event_time)">;
160
+ *
161
+ * userId: string;
162
+ * // Precompute hash for fast lookups
163
+ * userHash: UInt64 & ClickHouseMaterialized<"cityHash64(userId)">;
164
+ * }
165
+ *
166
+ * @remarks
167
+ * - MATERIALIZED and DEFAULT are mutually exclusive
168
+ * - Can be combined with ClickHouseCodec for compression
169
+ * - Changing the expression modifies the column in-place (existing values preserved)
170
+ */
171
+ type ClickHouseMaterialized<SqlExpression extends string> = {
172
+ _clickhouse_materialized?: SqlExpression;
173
+ };
150
174
  /**
151
175
  * See also {@link ClickHouseDefault}
152
176
  *
@@ -157,4 +181,4 @@ type WithDefault<T, _SqlExpression extends string> = T;
157
181
  type Key<T extends string | number | Date> = T;
158
182
  type JWT<T extends object> = T;
159
183
 
160
- export type { UInt64 as A, Decimal as B, ClickHouseByteSize as C, DateTime as D, FixedString as F, Int8 as I, JWT as J, Key as K, LowCardinality as L, UInt8 as U, WithDefault as W, ClickHouseInt as a, ClickHouseNamedTuple as b, ClickHousePoint as c, ClickHouseRing as d, ClickHouseLineString as e, ClickHouseMultiLineString as f, ClickHousePolygon as g, ClickHouseMultiPolygon as h, ClickHousePrecision as i, ClickHouseDecimal as j, ClickHouseFixedStringSize as k, ClickHouseFloat as l, ClickHouseJson as m, ClickHouseDefault as n, ClickHouseTTL as o, ClickHouseCodec as p, DateTime64 as q, DateTimeString as r, DateTime64String as s, Float32 as t, Float64 as u, Int16 as v, Int32 as w, Int64 as x, UInt16 as y, UInt32 as z };
184
+ export type { UInt32 as A, UInt64 as B, ClickHouseByteSize as C, DateTime as D, Decimal as E, FixedString as F, Int8 as I, JWT as J, Key as K, LowCardinality as L, UInt8 as U, WithDefault as W, ClickHouseInt as a, ClickHouseNamedTuple as b, ClickHousePoint as c, ClickHouseRing as d, ClickHouseLineString as e, ClickHouseMultiLineString as f, ClickHousePolygon as g, ClickHouseMultiPolygon as h, ClickHousePrecision as i, ClickHouseDecimal as j, ClickHouseFixedStringSize as k, ClickHouseFloat as l, ClickHouseJson as m, ClickHouseDefault as n, ClickHouseTTL as o, ClickHouseMaterialized as p, ClickHouseCodec as q, DateTime64 as r, DateTimeString as s, DateTime64String as t, Float32 as u, Float64 as v, Int16 as w, Int32 as x, Int64 as y, UInt16 as z };
@@ -1,5 +1,5 @@
1
- export { A as Aggregated, h as Api, i as ApiConfig, K as ApiUtil, C as ConsumptionApi, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a2 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a3 as mapToClickHouseType, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-bZEbqrMe.mjs';
2
- export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, b as ClickHouseNamedTuple, i as ClickHousePrecision, o as ClickHouseTTL, D as DateTime, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-CwNwv0e0.mjs';
1
+ export { A as Aggregated, h as Api, i as ApiConfig, K as ApiUtil, C as ConsumptionApi, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a2 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a3 as mapToClickHouseType, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-xC52kbse.mjs';
2
+ export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, p as ClickHouseMaterialized, b as ClickHouseNamedTuple, i as ClickHousePrecision, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-CYDIQRRZ.mjs';
3
3
  import 'typia';
4
4
  import 'typia/src/schemas/json/IJsonSchemaCollection';
5
5
  import 'node:stream';
@@ -1,5 +1,5 @@
1
- export { A as Aggregated, h as Api, i as ApiConfig, K as ApiUtil, C as ConsumptionApi, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a2 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a3 as mapToClickHouseType, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-bZEbqrMe.js';
2
- export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, b as ClickHouseNamedTuple, i as ClickHousePrecision, o as ClickHouseTTL, D as DateTime, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-2eoeppzc.js';
1
+ export { A as Aggregated, h as Api, i as ApiConfig, K as ApiUtil, C as ConsumptionApi, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a2 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a3 as mapToClickHouseType, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-xC52kbse.js';
2
+ export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, p as ClickHouseMaterialized, b as ClickHouseNamedTuple, i as ClickHousePrecision, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-C_H_-QHB.js';
3
3
  import 'typia';
4
4
  import 'typia/src/schemas/json/IJsonSchemaCollection';
5
5
  import 'node:stream';
@@ -789,7 +789,8 @@ var dlqColumns = [
789
789
  default: null,
790
790
  annotations: [],
791
791
  ttl: null,
792
- codec: null
792
+ codec: null,
793
+ materialized: null
793
794
  },
794
795
  {
795
796
  name: "errorMessage",
@@ -800,7 +801,8 @@ var dlqColumns = [
800
801
  default: null,
801
802
  annotations: [],
802
803
  ttl: null,
803
- codec: null
804
+ codec: null,
805
+ materialized: null
804
806
  },
805
807
  {
806
808
  name: "errorType",
@@ -811,7 +813,8 @@ var dlqColumns = [
811
813
  default: null,
812
814
  annotations: [],
813
815
  ttl: null,
814
- codec: null
816
+ codec: null,
817
+ materialized: null
815
818
  },
816
819
  {
817
820
  name: "failedAt",
@@ -822,7 +825,8 @@ var dlqColumns = [
822
825
  default: null,
823
826
  annotations: [],
824
827
  ttl: null,
825
- codec: null
828
+ codec: null,
829
+ materialized: null
826
830
  },
827
831
  {
828
832
  name: "source",
@@ -833,7 +837,8 @@ var dlqColumns = [
833
837
  default: null,
834
838
  annotations: [],
835
839
  ttl: null,
836
- codec: null
840
+ codec: null,
841
+ materialized: null
837
842
  }
838
843
  ];
839
844