@514labs/moose-lib 0.6.259-ci-8-g7b4b6f96 → 0.6.259
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-DKJsM6sO.d.ts → browserCompatible-B_aEflr_.d.ts} +1 -1
- package/dist/{browserCompatible-G5C0qk2P.d.mts → browserCompatible-DnYA4Zgi.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js +10 -22
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +10 -22
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/compilerPlugin.js +3 -35
- package/dist/compilerPlugin.js.map +1 -1
- package/dist/compilerPlugin.mjs +3 -35
- package/dist/compilerPlugin.mjs.map +1 -1
- package/dist/dataModels/toDataModels.js +2 -2
- package/dist/dataModels/toDataModels.js.map +1 -1
- package/dist/dataModels/toDataModels.mjs +2 -2
- 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 -22
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +10 -22
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-DzjegH9H.d.mts → index-rECDLgTX.d.mts} +6 -25
- package/dist/{index-DzjegH9H.d.ts → index-rECDLgTX.d.ts} +6 -25
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -22
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +1 -2
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +1 -2
- 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, 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, 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, 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-rECDLgTX.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-DnYA4Zgi.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, 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, 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-rECDLgTX.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-B_aEflr_.js';
|
|
3
3
|
import 'typia';
|
|
4
4
|
import 'typia/src/schemas/json/IJsonSchemaCollection';
|
|
5
5
|
import 'node:stream';
|
|
@@ -473,12 +473,6 @@ var TypedBase = class {
|
|
|
473
473
|
validators;
|
|
474
474
|
/** Optional metadata for the resource, always present as an object. */
|
|
475
475
|
metadata;
|
|
476
|
-
/**
|
|
477
|
-
* Whether this resource allows extra fields beyond the defined columns.
|
|
478
|
-
* When true, extra fields in payloads are passed through to streaming functions.
|
|
479
|
-
* Injected by the compiler plugin when the type has an index signature.
|
|
480
|
-
*/
|
|
481
|
-
allowExtraFields;
|
|
482
476
|
/**
|
|
483
477
|
* @internal Constructor intended for internal use by subclasses and the compiler plugin.
|
|
484
478
|
* It expects the schema and columns to be provided, typically injected by the compiler.
|
|
@@ -487,9 +481,8 @@ var TypedBase = class {
|
|
|
487
481
|
* @param config The configuration object for the resource.
|
|
488
482
|
* @param schema The JSON schema for the resource's data type T (injected).
|
|
489
483
|
* @param columns The array of Column definitions for T (injected).
|
|
490
|
-
* @param allowExtraFields Whether extra fields are allowed (injected when type has index signature).
|
|
491
484
|
*/
|
|
492
|
-
constructor(name, config, schema, columns, validators
|
|
485
|
+
constructor(name, config, schema, columns, validators) {
|
|
493
486
|
if (schema === void 0 || columns === void 0) {
|
|
494
487
|
throw new Error(
|
|
495
488
|
"Supply the type param T so that the schema is inserted by the compiler plugin."
|
|
@@ -505,7 +498,6 @@ var TypedBase = class {
|
|
|
505
498
|
this.name = name;
|
|
506
499
|
this.config = config;
|
|
507
500
|
this.validators = validators;
|
|
508
|
-
this.allowExtraFields = allowExtraFields ?? false;
|
|
509
501
|
this.metadata = config?.metadata ? { ...config.metadata } : {};
|
|
510
502
|
const stack = new Error().stack;
|
|
511
503
|
if (stack) {
|
|
@@ -1569,8 +1561,8 @@ var Stream = class extends TypedBase {
|
|
|
1569
1561
|
_memoizedProducer;
|
|
1570
1562
|
/** @internal Hash of the configuration used to create the memoized Kafka producer */
|
|
1571
1563
|
_kafkaConfigHash;
|
|
1572
|
-
constructor(name, config, schema, columns
|
|
1573
|
-
super(name, config ?? {}, schema, columns
|
|
1564
|
+
constructor(name, config, schema, columns) {
|
|
1565
|
+
super(name, config ?? {}, schema, columns);
|
|
1574
1566
|
const streams = getMooseInternal().streams;
|
|
1575
1567
|
if (streams.has(name)) {
|
|
1576
1568
|
throw new Error(`Stream with name ${name} already exists`);
|
|
@@ -1826,7 +1818,7 @@ var DeadLetterQueue = class extends Stream {
|
|
|
1826
1818
|
"Supply the type param T so that the schema is inserted by the compiler plugin."
|
|
1827
1819
|
);
|
|
1828
1820
|
}
|
|
1829
|
-
super(name, config ?? {}, dlqSchema, dlqColumns
|
|
1821
|
+
super(name, config ?? {}, dlqSchema, dlqColumns);
|
|
1830
1822
|
this.typeGuard = typeGuard;
|
|
1831
1823
|
getMooseInternal().streams.set(name, this);
|
|
1832
1824
|
}
|
|
@@ -1992,8 +1984,8 @@ var Workflow = class {
|
|
|
1992
1984
|
|
|
1993
1985
|
// src/dmv2/sdk/ingestApi.ts
|
|
1994
1986
|
var IngestApi = class extends TypedBase {
|
|
1995
|
-
constructor(name, config, schema, columns
|
|
1996
|
-
super(name, config, schema, columns
|
|
1987
|
+
constructor(name, config, schema, columns) {
|
|
1988
|
+
super(name, config, schema, columns);
|
|
1997
1989
|
const ingestApis = getMooseInternal().ingestApis;
|
|
1998
1990
|
if (ingestApis.has(name)) {
|
|
1999
1991
|
throw new Error(`Ingest API with name ${name} already exists`);
|
|
@@ -2132,8 +2124,8 @@ var IngestPipeline = class extends TypedBase {
|
|
|
2132
2124
|
ingestApi;
|
|
2133
2125
|
/** The dead letter queue of the pipeline, if configured. */
|
|
2134
2126
|
deadLetterQueue;
|
|
2135
|
-
constructor(name, config, schema, columns, validators
|
|
2136
|
-
super(name, config, schema, columns, validators
|
|
2127
|
+
constructor(name, config, schema, columns, validators) {
|
|
2128
|
+
super(name, config, schema, columns, validators);
|
|
2137
2129
|
if (config.ingest !== void 0) {
|
|
2138
2130
|
console.warn(
|
|
2139
2131
|
"\u26A0\uFE0F DEPRECATION WARNING: The 'ingest' parameter is deprecated and will be removed in a future version. Please use 'ingestApi' instead."
|
|
@@ -2182,9 +2174,7 @@ var IngestPipeline = class extends TypedBase {
|
|
|
2182
2174
|
name,
|
|
2183
2175
|
streamConfig,
|
|
2184
2176
|
this.schema,
|
|
2185
|
-
this.columnArray
|
|
2186
|
-
void 0,
|
|
2187
|
-
this.allowExtraFields
|
|
2177
|
+
this.columnArray
|
|
2188
2178
|
);
|
|
2189
2179
|
this.stream.pipelineParent = this;
|
|
2190
2180
|
}
|
|
@@ -2204,9 +2194,7 @@ var IngestPipeline = class extends TypedBase {
|
|
|
2204
2194
|
name,
|
|
2205
2195
|
ingestConfig,
|
|
2206
2196
|
this.schema,
|
|
2207
|
-
this.columnArray
|
|
2208
|
-
void 0,
|
|
2209
|
-
this.allowExtraFields
|
|
2197
|
+
this.columnArray
|
|
2210
2198
|
);
|
|
2211
2199
|
this.ingestApi.pipelineParent = this;
|
|
2212
2200
|
}
|