@514labs/moose-lib 0.6.238-ci-1-gbf624664 → 0.6.238-ci-1-g5655fc64
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-BRa8sgXw.d.mts → browserCompatible-D-uI2A0t.d.ts} +27 -2
- package/dist/{browserCompatible-CMLITD0_.d.ts → browserCompatible-DZ-WDkNP.d.mts} +27 -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-BG2HP0xG.d.mts → index-CYFF3a0J.d.mts} +1 -0
- package/dist/{index-BG2HP0xG.d.ts → index-CYFF3a0J.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-CYFF3a0J.js';
|
|
2
2
|
import { Pattern, TagBase } from 'typia/lib/tags';
|
|
3
3
|
import { tags } from 'typia';
|
|
4
4
|
|
|
@@ -147,6 +147,31 @@ 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: Date;
|
|
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: number & ClickHouseInt<"uint64"> & ClickHouseMaterialized<"cityHash64(user_id)">;
|
|
164
|
+
* }
|
|
165
|
+
*
|
|
166
|
+
* @remarks
|
|
167
|
+
* - Expression uses ClickHouse column names (snake_case), not TypeScript field names
|
|
168
|
+
* - MATERIALIZED and DEFAULT are mutually exclusive
|
|
169
|
+
* - Can be combined with ClickHouseCodec for compression
|
|
170
|
+
* - Changing the expression modifies the column in-place (existing values preserved)
|
|
171
|
+
*/
|
|
172
|
+
type ClickHouseMaterialized<SqlExpression extends string> = {
|
|
173
|
+
_clickhouse_materialized?: SqlExpression;
|
|
174
|
+
};
|
|
150
175
|
/**
|
|
151
176
|
* See also {@link ClickHouseDefault}
|
|
152
177
|
*
|
|
@@ -157,4 +182,4 @@ type WithDefault<T, _SqlExpression extends string> = T;
|
|
|
157
182
|
type Key<T extends string | number | Date> = T;
|
|
158
183
|
type JWT<T extends object> = T;
|
|
159
184
|
|
|
160
|
-
export type {
|
|
185
|
+
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-CYFF3a0J.mjs';
|
|
2
2
|
import { Pattern, TagBase } from 'typia/lib/tags';
|
|
3
3
|
import { tags } from 'typia';
|
|
4
4
|
|
|
@@ -147,6 +147,31 @@ 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: Date;
|
|
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: number & ClickHouseInt<"uint64"> & ClickHouseMaterialized<"cityHash64(user_id)">;
|
|
164
|
+
* }
|
|
165
|
+
*
|
|
166
|
+
* @remarks
|
|
167
|
+
* - Expression uses ClickHouse column names (snake_case), not TypeScript field names
|
|
168
|
+
* - MATERIALIZED and DEFAULT are mutually exclusive
|
|
169
|
+
* - Can be combined with ClickHouseCodec for compression
|
|
170
|
+
* - Changing the expression modifies the column in-place (existing values preserved)
|
|
171
|
+
*/
|
|
172
|
+
type ClickHouseMaterialized<SqlExpression extends string> = {
|
|
173
|
+
_clickhouse_materialized?: SqlExpression;
|
|
174
|
+
};
|
|
150
175
|
/**
|
|
151
176
|
* See also {@link ClickHouseDefault}
|
|
152
177
|
*
|
|
@@ -157,4 +182,4 @@ type WithDefault<T, _SqlExpression extends string> = T;
|
|
|
157
182
|
type Key<T extends string | number | Date> = T;
|
|
158
183
|
type JWT<T extends object> = T;
|
|
159
184
|
|
|
160
|
-
export type {
|
|
185
|
+
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-CYFF3a0J.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-DZ-WDkNP.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-CYFF3a0J.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-D-uI2A0t.js';
|
|
3
3
|
import 'typia';
|
|
4
4
|
import 'typia/src/schemas/json/IJsonSchemaCollection';
|
|
5
5
|
import 'node:stream';
|
|
@@ -774,7 +774,8 @@ var dlqColumns = [
|
|
|
774
774
|
default: null,
|
|
775
775
|
annotations: [],
|
|
776
776
|
ttl: null,
|
|
777
|
-
codec: null
|
|
777
|
+
codec: null,
|
|
778
|
+
materialized: null
|
|
778
779
|
},
|
|
779
780
|
{
|
|
780
781
|
name: "errorMessage",
|
|
@@ -785,7 +786,8 @@ var dlqColumns = [
|
|
|
785
786
|
default: null,
|
|
786
787
|
annotations: [],
|
|
787
788
|
ttl: null,
|
|
788
|
-
codec: null
|
|
789
|
+
codec: null,
|
|
790
|
+
materialized: null
|
|
789
791
|
},
|
|
790
792
|
{
|
|
791
793
|
name: "errorType",
|
|
@@ -796,7 +798,8 @@ var dlqColumns = [
|
|
|
796
798
|
default: null,
|
|
797
799
|
annotations: [],
|
|
798
800
|
ttl: null,
|
|
799
|
-
codec: null
|
|
801
|
+
codec: null,
|
|
802
|
+
materialized: null
|
|
800
803
|
},
|
|
801
804
|
{
|
|
802
805
|
name: "failedAt",
|
|
@@ -807,7 +810,8 @@ var dlqColumns = [
|
|
|
807
810
|
default: null,
|
|
808
811
|
annotations: [],
|
|
809
812
|
ttl: null,
|
|
810
|
-
codec: null
|
|
813
|
+
codec: null,
|
|
814
|
+
materialized: null
|
|
811
815
|
},
|
|
812
816
|
{
|
|
813
817
|
name: "source",
|
|
@@ -818,7 +822,8 @@ var dlqColumns = [
|
|
|
818
822
|
default: null,
|
|
819
823
|
annotations: [],
|
|
820
824
|
ttl: null,
|
|
821
|
-
codec: null
|
|
825
|
+
codec: null,
|
|
826
|
+
materialized: null
|
|
822
827
|
}
|
|
823
828
|
];
|
|
824
829
|
|