@514labs/moose-lib 0.6.262 → 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.
- package/dist/{browserCompatible-CC6Jamxn.d.ts → browserCompatible-Bqhjy4pn.d.ts} +1 -1
- package/dist/{browserCompatible-GsBQtLKo.d.mts → browserCompatible-DTtKuO-Y.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js +38 -2
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +38 -2
- 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 +38 -2
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +38 -2
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-B1HsstjQ.d.mts → index-CQB6bk1i.d.mts} +4 -0
- package/dist/{index-B1HsstjQ.d.ts → index-CQB6bk1i.d.ts} +4 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +38 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -2
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +2 -0
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +2 -0
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dmv2/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Aggregated, h as Api, i as ApiConfig, ag as ConsumerConfig, C as ConsumptionApi, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, g as IngestConfig, j as IngestPipeline, ak as IngestPipelineConfig, L as LifeCycle, M as MaterializedView, al as MaterializedViewConfig, a as OlapConfig, O as OlapTable, b as S3QueueTableSettings, S as SimpleAggregated, k as SqlResource, c as Stream, d as StreamConfig, T as Task, aj as TaskConfig, ai as TaskContext, ah as TransformConfig, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, 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, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-
|
|
1
|
+
export { A as Aggregated, h as Api, i as ApiConfig, ag as ConsumerConfig, C as ConsumptionApi, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, g as IngestConfig, j as IngestPipeline, ak as IngestPipelineConfig, L as LifeCycle, M as MaterializedView, al as MaterializedViewConfig, a as OlapConfig, O as OlapTable, b as S3QueueTableSettings, S as SimpleAggregated, k as SqlResource, c as Stream, d as StreamConfig, T as Task, aj as TaskConfig, ai as TaskContext, ah as TransformConfig, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, 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, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-CQB6bk1i.mjs';
|
|
2
2
|
import 'typia';
|
|
3
3
|
import 'typia/src/schemas/json/IJsonSchemaCollection';
|
|
4
4
|
import 'node:stream';
|
package/dist/dmv2/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Aggregated, h as Api, i as ApiConfig, ag as ConsumerConfig, C as ConsumptionApi, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, g as IngestConfig, j as IngestPipeline, ak as IngestPipelineConfig, L as LifeCycle, M as MaterializedView, al as MaterializedViewConfig, a as OlapConfig, O as OlapTable, b as S3QueueTableSettings, S as SimpleAggregated, k as SqlResource, c as Stream, d as StreamConfig, T as Task, aj as TaskConfig, ai as TaskContext, ah as TransformConfig, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, 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, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-
|
|
1
|
+
export { A as Aggregated, h as Api, i as ApiConfig, ag as ConsumerConfig, C as ConsumptionApi, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, g as IngestConfig, j as IngestPipeline, ak as IngestPipelineConfig, L as LifeCycle, M as MaterializedView, al as MaterializedViewConfig, a as OlapConfig, O as OlapTable, b as S3QueueTableSettings, S as SimpleAggregated, k as SqlResource, c as Stream, d as StreamConfig, T as Task, aj as TaskConfig, ai as TaskContext, ah as TransformConfig, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, 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, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-CQB6bk1i.js';
|
|
2
2
|
import 'typia';
|
|
3
3
|
import 'typia/src/schemas/json/IJsonSchemaCollection';
|
|
4
4
|
import 'node:stream';
|
package/dist/dmv2/index.js
CHANGED
|
@@ -444,8 +444,35 @@ function getSourceFileInfo(stack) {
|
|
|
444
444
|
}
|
|
445
445
|
return {};
|
|
446
446
|
}
|
|
447
|
+
function getSourceLocationFromStack(stack) {
|
|
448
|
+
if (!stack) return void 0;
|
|
449
|
+
const lines = stack.split("\n");
|
|
450
|
+
for (const line of lines.slice(1)) {
|
|
451
|
+
if (shouldSkipStackLine(line)) {
|
|
452
|
+
continue;
|
|
453
|
+
}
|
|
454
|
+
const v8Match = line.match(/at\s+(?:.*?\s+\()?(.+):(\d+):(\d+)\)?/);
|
|
455
|
+
if (v8Match) {
|
|
456
|
+
return {
|
|
457
|
+
file: v8Match[1],
|
|
458
|
+
line: parseInt(v8Match[2], 10),
|
|
459
|
+
column: parseInt(v8Match[3], 10)
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
const smMatch = line.match(/(?:.*@)?(.+):(\d+):(\d+)/);
|
|
463
|
+
if (smMatch) {
|
|
464
|
+
return {
|
|
465
|
+
file: smMatch[1],
|
|
466
|
+
line: parseInt(smMatch[2], 10),
|
|
467
|
+
column: parseInt(smMatch[3], 10)
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return void 0;
|
|
472
|
+
}
|
|
447
473
|
function getSourceFileFromStack(stack) {
|
|
448
|
-
|
|
474
|
+
const location = getSourceLocationFromStack(stack);
|
|
475
|
+
return location?.file;
|
|
449
476
|
}
|
|
450
477
|
|
|
451
478
|
// src/dmv2/typedBase.ts
|
|
@@ -2255,6 +2282,10 @@ var SqlResource = class {
|
|
|
2255
2282
|
pushesDataTo;
|
|
2256
2283
|
/** @internal Source file path where this resource was defined */
|
|
2257
2284
|
sourceFile;
|
|
2285
|
+
/** @internal Source line number where this resource was defined */
|
|
2286
|
+
sourceLine;
|
|
2287
|
+
/** @internal Source column number where this resource was defined */
|
|
2288
|
+
sourceColumn;
|
|
2258
2289
|
/**
|
|
2259
2290
|
* Creates a new SqlResource instance.
|
|
2260
2291
|
* @param name The name of the resource.
|
|
@@ -2280,7 +2311,12 @@ var SqlResource = class {
|
|
|
2280
2311
|
this.pullsDataFrom = options?.pullsDataFrom ?? [];
|
|
2281
2312
|
this.pushesDataTo = options?.pushesDataTo ?? [];
|
|
2282
2313
|
const stack = new Error().stack;
|
|
2283
|
-
|
|
2314
|
+
const location = getSourceLocationFromStack(stack);
|
|
2315
|
+
if (location) {
|
|
2316
|
+
this.sourceFile = location.file;
|
|
2317
|
+
this.sourceLine = location.line;
|
|
2318
|
+
this.sourceColumn = location.column;
|
|
2319
|
+
}
|
|
2284
2320
|
}
|
|
2285
2321
|
};
|
|
2286
2322
|
|