@514labs/moose-lib 0.6.297-ci-30-g6530526d → 0.6.297-ci-32-g6119ebc8
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-Dqfdy6x5.d.ts → browserCompatible-Cs3UY_5a.d.ts} +1 -1
- package/dist/{browserCompatible-CkJwv4dC.d.mts → browserCompatible-Dfx6yRB5.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js +13 -13
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +11 -11
- package/dist/browserCompatible.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 +13 -13
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +11 -11
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-CdKEq7FH.d.mts → index-CI9e2hZ2.d.mts} +7 -7
- package/dist/{index-CdKEq7FH.d.ts → index-CI9e2hZ2.d.ts} +7 -7
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +6 -6
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +6 -6
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as Aggregated, h as Api, i as ApiConfig, R as ApiUtil, C as ConsumptionApi, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a6 as createClickhouseParameter, x as getApi, w as getApis,
|
|
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-
|
|
1
|
+
export { A as Aggregated, h as Api, i as ApiConfig, R as ApiUtil, C as ConsumptionApi, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a6 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a5 as getValueFromParameter, K as getView, N as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a7 as mapToClickHouseType, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CI9e2hZ2.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-Dfx6yRB5.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, R as ApiUtil, C as ConsumptionApi, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a6 as createClickhouseParameter, x as getApi, w as getApis,
|
|
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-
|
|
1
|
+
export { A as Aggregated, h as Api, i as ApiConfig, R as ApiUtil, C as ConsumptionApi, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, a6 as createClickhouseParameter, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, a5 as getValueFromParameter, K as getView, N as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, a7 as mapToClickHouseType, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CI9e2hZ2.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-Cs3UY_5a.js';
|
|
3
3
|
import 'typia';
|
|
4
4
|
import 'typia/src/schemas/json/IJsonSchemaCollection';
|
|
5
5
|
import 'node:stream';
|
|
@@ -676,7 +676,7 @@ var init_internal = __esm({
|
|
|
676
676
|
workflows: /* @__PURE__ */ new Map(),
|
|
677
677
|
webApps: /* @__PURE__ */ new Map(),
|
|
678
678
|
materializedViews: /* @__PURE__ */ new Map(),
|
|
679
|
-
|
|
679
|
+
views: /* @__PURE__ */ new Map()
|
|
680
680
|
};
|
|
681
681
|
defaultRetentionPeriod = 60 * 60 * 24 * 7;
|
|
682
682
|
getMooseInternal = () => globalThis.moose_internal;
|
|
@@ -2725,7 +2725,7 @@ var init_view = __esm({
|
|
|
2725
2725
|
init_stackTrace();
|
|
2726
2726
|
View = class {
|
|
2727
2727
|
/** @internal */
|
|
2728
|
-
kind = "
|
|
2728
|
+
kind = "View";
|
|
2729
2729
|
/** The name of the view */
|
|
2730
2730
|
name;
|
|
2731
2731
|
/** The SELECT SQL statement that defines the view */
|
|
@@ -2756,11 +2756,11 @@ var init_view = __esm({
|
|
|
2756
2756
|
this.metadata.source = { file: sourceInfo };
|
|
2757
2757
|
}
|
|
2758
2758
|
}
|
|
2759
|
-
const
|
|
2760
|
-
if (!isClientOnlyMode() &&
|
|
2759
|
+
const views = getMooseInternal().views;
|
|
2760
|
+
if (!isClientOnlyMode() && views.has(this.name)) {
|
|
2761
2761
|
throw new Error(`View with name ${this.name} already exists`);
|
|
2762
2762
|
}
|
|
2763
|
-
|
|
2763
|
+
views.set(this.name, this);
|
|
2764
2764
|
}
|
|
2765
2765
|
};
|
|
2766
2766
|
}
|
|
@@ -2970,11 +2970,11 @@ function getMaterializedViews() {
|
|
|
2970
2970
|
function getMaterializedView(name) {
|
|
2971
2971
|
return getMooseInternal().materializedViews.get(name);
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2974
|
-
return getMooseInternal().
|
|
2973
|
+
function getViews() {
|
|
2974
|
+
return getMooseInternal().views;
|
|
2975
2975
|
}
|
|
2976
|
-
function
|
|
2977
|
-
return getMooseInternal().
|
|
2976
|
+
function getView(name) {
|
|
2977
|
+
return getMooseInternal().views.get(name);
|
|
2978
2978
|
}
|
|
2979
2979
|
var init_registry = __esm({
|
|
2980
2980
|
"src/dmv2/registry.ts"() {
|
|
@@ -3025,8 +3025,6 @@ __export(browserCompatible_exports, {
|
|
|
3025
3025
|
createClickhouseParameter: () => createClickhouseParameter,
|
|
3026
3026
|
getApi: () => getApi,
|
|
3027
3027
|
getApis: () => getApis2,
|
|
3028
|
-
getCustomView: () => getCustomView,
|
|
3029
|
-
getCustomViews: () => getCustomViews,
|
|
3030
3028
|
getIngestApi: () => getIngestApi,
|
|
3031
3029
|
getIngestApis: () => getIngestApis,
|
|
3032
3030
|
getMaterializedView: () => getMaterializedView,
|
|
@@ -3038,6 +3036,8 @@ __export(browserCompatible_exports, {
|
|
|
3038
3036
|
getTable: () => getTable,
|
|
3039
3037
|
getTables: () => getTables,
|
|
3040
3038
|
getValueFromParameter: () => getValueFromParameter,
|
|
3039
|
+
getView: () => getView,
|
|
3040
|
+
getViews: () => getViews,
|
|
3041
3041
|
getWebApp: () => getWebApp,
|
|
3042
3042
|
getWebApps: () => getWebApps2,
|
|
3043
3043
|
getWorkflow: () => getWorkflow,
|
|
@@ -3079,8 +3079,6 @@ init_browserCompatible();
|
|
|
3079
3079
|
createClickhouseParameter,
|
|
3080
3080
|
getApi,
|
|
3081
3081
|
getApis,
|
|
3082
|
-
getCustomView,
|
|
3083
|
-
getCustomViews,
|
|
3084
3082
|
getIngestApi,
|
|
3085
3083
|
getIngestApis,
|
|
3086
3084
|
getMaterializedView,
|
|
@@ -3092,6 +3090,8 @@ init_browserCompatible();
|
|
|
3092
3090
|
getTable,
|
|
3093
3091
|
getTables,
|
|
3094
3092
|
getValueFromParameter,
|
|
3093
|
+
getView,
|
|
3094
|
+
getViews,
|
|
3095
3095
|
getWebApp,
|
|
3096
3096
|
getWebApps,
|
|
3097
3097
|
getWorkflow,
|