@514labs/moose-lib 0.6.263-ci-10-gc7213e03 → 0.6.263

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-CpjUXotI.d.ts → browserCompatible-Bqhjy4pn.d.ts} +1 -1
  2. package/dist/{browserCompatible-fk6xPzoB.d.mts → browserCompatible-DTtKuO-Y.d.mts} +1 -1
  3. package/dist/browserCompatible.d.mts +2 -2
  4. package/dist/browserCompatible.d.ts +2 -2
  5. package/dist/browserCompatible.js +10 -22
  6. package/dist/browserCompatible.js.map +1 -1
  7. package/dist/browserCompatible.mjs +10 -22
  8. package/dist/browserCompatible.mjs.map +1 -1
  9. package/dist/compilerPlugin.js +3 -35
  10. package/dist/compilerPlugin.js.map +1 -1
  11. package/dist/compilerPlugin.mjs +3 -35
  12. package/dist/compilerPlugin.mjs.map +1 -1
  13. package/dist/dataModels/toDataModels.js +2 -2
  14. package/dist/dataModels/toDataModels.js.map +1 -1
  15. package/dist/dataModels/toDataModels.mjs +2 -2
  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 -22
  20. package/dist/dmv2/index.js.map +1 -1
  21. package/dist/dmv2/index.mjs +10 -22
  22. package/dist/dmv2/index.mjs.map +1 -1
  23. package/dist/{index-Dd3ZmpTq.d.mts → index-CQB6bk1i.d.mts} +6 -25
  24. package/dist/{index-Dd3ZmpTq.d.ts → index-CQB6bk1i.d.ts} +6 -25
  25. package/dist/index.d.mts +3 -3
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +10 -22
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +10 -22
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/moose-runner.js +1 -2
  32. package/dist/moose-runner.js.map +1 -1
  33. package/dist/moose-runner.mjs +1 -2
  34. package/dist/moose-runner.mjs.map +1 -1
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import './index-Dd3ZmpTq.js';
1
+ import './index-CQB6bk1i.js';
2
2
  import { Pattern, TagBase } from 'typia/lib/tags';
3
3
  import { tags } from 'typia';
4
4
 
@@ -1,4 +1,4 @@
1
- import './index-Dd3ZmpTq.mjs';
1
+ import './index-CQB6bk1i.mjs';
2
2
  import { Pattern, TagBase } from 'typia/lib/tags';
3
3
  import { tags } from 'typia';
4
4
 
@@ -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-Dd3ZmpTq.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-fk6xPzoB.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-CQB6bk1i.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-DTtKuO-Y.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-Dd3ZmpTq.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-CpjUXotI.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-CQB6bk1i.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-Bqhjy4pn.js';
3
3
  import 'typia';
4
4
  import 'typia/src/schemas/json/IJsonSchemaCollection';
5
5
  import 'node:stream';
@@ -500,12 +500,6 @@ var TypedBase = class {
500
500
  validators;
501
501
  /** Optional metadata for the resource, always present as an object. */
502
502
  metadata;
503
- /**
504
- * Whether this resource allows extra fields beyond the defined columns.
505
- * When true, extra fields in payloads are passed through to streaming functions.
506
- * Injected by the compiler plugin when the type has an index signature.
507
- */
508
- allowExtraFields;
509
503
  /**
510
504
  * @internal Constructor intended for internal use by subclasses and the compiler plugin.
511
505
  * It expects the schema and columns to be provided, typically injected by the compiler.
@@ -514,9 +508,8 @@ var TypedBase = class {
514
508
  * @param config The configuration object for the resource.
515
509
  * @param schema The JSON schema for the resource's data type T (injected).
516
510
  * @param columns The array of Column definitions for T (injected).
517
- * @param allowExtraFields Whether extra fields are allowed (injected when type has index signature).
518
511
  */
519
- constructor(name, config, schema, columns, validators, allowExtraFields) {
512
+ constructor(name, config, schema, columns, validators) {
520
513
  if (schema === void 0 || columns === void 0) {
521
514
  throw new Error(
522
515
  "Supply the type param T so that the schema is inserted by the compiler plugin."
@@ -532,7 +525,6 @@ var TypedBase = class {
532
525
  this.name = name;
533
526
  this.config = config;
534
527
  this.validators = validators;
535
- this.allowExtraFields = allowExtraFields ?? false;
536
528
  this.metadata = config?.metadata ? { ...config.metadata } : {};
537
529
  const stack = new Error().stack;
538
530
  if (stack) {
@@ -1596,8 +1588,8 @@ var Stream = class extends TypedBase {
1596
1588
  _memoizedProducer;
1597
1589
  /** @internal Hash of the configuration used to create the memoized Kafka producer */
1598
1590
  _kafkaConfigHash;
1599
- constructor(name, config, schema, columns, validators, allowExtraFields) {
1600
- super(name, config ?? {}, schema, columns, void 0, allowExtraFields);
1591
+ constructor(name, config, schema, columns) {
1592
+ super(name, config ?? {}, schema, columns);
1601
1593
  const streams = getMooseInternal().streams;
1602
1594
  if (streams.has(name)) {
1603
1595
  throw new Error(`Stream with name ${name} already exists`);
@@ -1853,7 +1845,7 @@ var DeadLetterQueue = class extends Stream {
1853
1845
  "Supply the type param T so that the schema is inserted by the compiler plugin."
1854
1846
  );
1855
1847
  }
1856
- super(name, config ?? {}, dlqSchema, dlqColumns, void 0, false);
1848
+ super(name, config ?? {}, dlqSchema, dlqColumns);
1857
1849
  this.typeGuard = typeGuard;
1858
1850
  getMooseInternal().streams.set(name, this);
1859
1851
  }
@@ -2019,8 +2011,8 @@ var Workflow = class {
2019
2011
 
2020
2012
  // src/dmv2/sdk/ingestApi.ts
2021
2013
  var IngestApi = class extends TypedBase {
2022
- constructor(name, config, schema, columns, validators, allowExtraFields) {
2023
- super(name, config, schema, columns, void 0, allowExtraFields);
2014
+ constructor(name, config, schema, columns) {
2015
+ super(name, config, schema, columns);
2024
2016
  const ingestApis = getMooseInternal().ingestApis;
2025
2017
  if (ingestApis.has(name)) {
2026
2018
  throw new Error(`Ingest API with name ${name} already exists`);
@@ -2159,8 +2151,8 @@ var IngestPipeline = class extends TypedBase {
2159
2151
  ingestApi;
2160
2152
  /** The dead letter queue of the pipeline, if configured. */
2161
2153
  deadLetterQueue;
2162
- constructor(name, config, schema, columns, validators, allowExtraFields) {
2163
- super(name, config, schema, columns, validators, allowExtraFields);
2154
+ constructor(name, config, schema, columns, validators) {
2155
+ super(name, config, schema, columns, validators);
2164
2156
  if (config.ingest !== void 0) {
2165
2157
  console.warn(
2166
2158
  "\u26A0\uFE0F DEPRECATION WARNING: The 'ingest' parameter is deprecated and will be removed in a future version. Please use 'ingestApi' instead."
@@ -2209,9 +2201,7 @@ var IngestPipeline = class extends TypedBase {
2209
2201
  name,
2210
2202
  streamConfig,
2211
2203
  this.schema,
2212
- this.columnArray,
2213
- void 0,
2214
- this.allowExtraFields
2204
+ this.columnArray
2215
2205
  );
2216
2206
  this.stream.pipelineParent = this;
2217
2207
  }
@@ -2231,9 +2221,7 @@ var IngestPipeline = class extends TypedBase {
2231
2221
  name,
2232
2222
  ingestConfig,
2233
2223
  this.schema,
2234
- this.columnArray,
2235
- void 0,
2236
- this.allowExtraFields
2224
+ this.columnArray
2237
2225
  );
2238
2226
  this.ingestApi.pipelineParent = this;
2239
2227
  }