@gscdump/engine 2.3.0 → 3.0.0
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/report/index.d.mts +2 -2
- package/dist/report/types.d.mts +1 -12
- package/package.json +4 -4
package/dist/report/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineReportOptions, DefinedReport,
|
|
1
|
+
import { DefineReportOptions, DefinedReport, ReportArgDef, ReportArgsSpec, ReportContext, ReportCoverage, ReportEntity, ReportEntityKind, ReportFinding, ReportFindingDelta, ReportParams, ReportPlanStep, ReportReducer, ReportResult, ReportResultMeta, ReportSection, ReportSectionArtifact, ReportSectionSummary, ReportSeverity, ReportStepStateMeta, ReportStepStatus } from "./types.mjs";
|
|
2
2
|
import { defineReport } from "./define.mjs";
|
|
3
3
|
import { InputHashSeeds, canonicalize, computeInputHash } from "./hash.mjs";
|
|
4
4
|
import { ReportRegistry, ReportRegistryInit, createReportRegistry } from "./registry.mjs";
|
|
5
|
-
export { type DefineReportOptions, type DefinedReport, type InputHashSeeds, type
|
|
5
|
+
export { type DefineReportOptions, type DefinedReport, type InputHashSeeds, type ReportArgDef, type ReportArgsSpec, type ReportContext, type ReportCoverage, type ReportEntity, type ReportEntityKind, type ReportFinding, type ReportFindingDelta, type ReportParams, type ReportPlanStep, type ReportReducer, type ReportRegistry, type ReportRegistryInit, type ReportResult, type ReportResultMeta, type ReportSection, type ReportSectionArtifact, type ReportSectionSummary, type ReportSeverity, type ReportStepStateMeta, type ReportStepStatus, canonicalize, computeInputHash, createReportRegistry, defineReport };
|
package/dist/report/types.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AnalysisParams, AnalysisResult } from "../analysis-types.mjs";
|
|
2
2
|
import { ComparisonMode, ResolvedWindow, WindowPreset } from "../period/index.mjs";
|
|
3
|
-
/** Status vocabulary mirrors `ActionPrioritySourceStatus`. */
|
|
4
3
|
type ReportStepStatus = 'pending' | 'running' | 'done' | 'skipped' | 'error';
|
|
5
4
|
/**
|
|
6
5
|
* `unknown` is not a rung on the info→high ladder: it means the section's
|
|
@@ -10,7 +9,6 @@ type ReportStepStatus = 'pending' | 'running' | 'done' | 'skipped' | 'error';
|
|
|
10
9
|
*/
|
|
11
10
|
type ReportSeverity = 'info' | 'low' | 'medium' | 'high' | 'unknown';
|
|
12
11
|
type ReportEntityKind = 'page' | 'query';
|
|
13
|
-
type ReportActionKind = 'analyzer' | 'cli' | 'indexing' | 'fix';
|
|
14
12
|
type ReportCoverage = 'full' | 'partial';
|
|
15
13
|
/** Citty-shaped arg spec, kept structural so engine doesn't pull citty in. */
|
|
16
14
|
interface ReportArgDef {
|
|
@@ -42,14 +40,6 @@ interface ReportSectionSummary {
|
|
|
42
40
|
direction?: 'up' | 'down' | 'flat';
|
|
43
41
|
magnitudeLabel?: string;
|
|
44
42
|
}
|
|
45
|
-
interface ReportAction {
|
|
46
|
-
kind: ReportActionKind;
|
|
47
|
-
target?: ReportEntity;
|
|
48
|
-
params?: Record<string, unknown>;
|
|
49
|
-
rationale: string;
|
|
50
|
-
/** Human hint, generated; never authoritative. */
|
|
51
|
-
cliHint?: string;
|
|
52
|
-
}
|
|
53
43
|
interface ReportSectionArtifact {
|
|
54
44
|
analyzer: string;
|
|
55
45
|
params: AnalysisParams;
|
|
@@ -66,7 +56,6 @@ interface ReportSection {
|
|
|
66
56
|
total: number;
|
|
67
57
|
};
|
|
68
58
|
coverage: ReportCoverage;
|
|
69
|
-
actions: ReportAction[];
|
|
70
59
|
artifact?: ReportSectionArtifact;
|
|
71
60
|
}
|
|
72
61
|
interface ReportPlanStep {
|
|
@@ -159,4 +148,4 @@ interface DefineReportOptions<P extends ReportParams = ReportParams> {
|
|
|
159
148
|
plan: (params: P, window: ResolvedWindow) => readonly ReportPlanStep[];
|
|
160
149
|
reduce: ReportReducer<P>;
|
|
161
150
|
}
|
|
162
|
-
export { DefineReportOptions, DefinedReport,
|
|
151
|
+
export { DefineReportOptions, DefinedReport, ReportArgDef, ReportArgsSpec, ReportContext, ReportCoverage, ReportEntity, ReportEntityKind, ReportFinding, ReportFindingDelta, ReportParams, ReportPlanStep, ReportReducer, ReportResult, ReportResultMeta, ReportSection, ReportSectionArtifact, ReportSectionSummary, ReportSeverity, ReportStepStateMeta, ReportStepStatus };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"description": "Append-only Parquet/DuckDB storage engine + planner + adapters for the gscdump pipeline. Node + edge runtimes; opt-in heavy peers.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
"dependencies": {
|
|
187
187
|
"drizzle-orm": "1.0.0-rc.4",
|
|
188
188
|
"proper-lockfile": "^4.1.2",
|
|
189
|
-
"@gscdump/contracts": "^
|
|
190
|
-
"@gscdump/lakehouse": "^
|
|
191
|
-
"gscdump": "^
|
|
189
|
+
"@gscdump/contracts": "^3.0.0",
|
|
190
|
+
"@gscdump/lakehouse": "^3.0.0",
|
|
191
|
+
"gscdump": "^3.0.0"
|
|
192
192
|
},
|
|
193
193
|
"devDependencies": {
|
|
194
194
|
"@duckdb/duckdb-wasm": "1.33.1-dev57.0",
|