@514labs/moose-lib 0.6.246 → 0.6.248
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/{browserCompatible-CwNwv0e0.d.mts → browserCompatible-BTN82akc.d.mts} +26 -2
- package/dist/{browserCompatible-2eoeppzc.d.ts → browserCompatible-CoxWbneN.d.ts} +26 -2
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js +10 -5
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +10 -5
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/compilerPlugin.js +25 -1
- package/dist/compilerPlugin.js.map +1 -1
- package/dist/compilerPlugin.mjs +25 -1
- package/dist/compilerPlugin.mjs.map +1 -1
- package/dist/dataModels/toDataModels.js +25 -1
- package/dist/dataModels/toDataModels.js.map +1 -1
- package/dist/dataModels/toDataModels.mjs +25 -1
- package/dist/dataModels/toDataModels.mjs.map +1 -1
- package/dist/dmv2/index.d.mts +1 -1
- package/dist/dmv2/index.d.ts +1 -1
- package/dist/dmv2/index.js +10 -5
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +10 -5
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-bZEbqrMe.d.mts → index-CNlTyF6R.d.mts} +1 -0
- package/dist/{index-bZEbqrMe.d.ts → index-CNlTyF6R.d.ts} +1 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './index-
|
|
1
|
+
import './index-CNlTyF6R.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 {
|
|
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-
|
|
1
|
+
import './index-CNlTyF6R.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 {
|
|
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-
|
|
2
|
-
export { C as ClickHouseByteSize,
|
|
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-CNlTyF6R.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-BTN82akc.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-
|
|
2
|
-
export { C as ClickHouseByteSize,
|
|
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-CNlTyF6R.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-CoxWbneN.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
|
|