mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 01:45:32 +00:00
Move the shared input-error constructor and operation identity to a leaf contract. View leaves no longer import their runtime composition owner. Replace a duplicate graph assertion with compiled CLI summary/facet coverage for omitted roots and unresolved hierarchy endpoints.
13 lines
432 B
TypeScript
13 lines
432 B
TypeScript
import {
|
|
AnalysisInputError,
|
|
type AnalysisInputIssue,
|
|
} from "../analysisErrorCore.js";
|
|
|
|
export const INSPECT_ANALYSIS_VIEW_OPERATION = "inspect_analysis_view" as const;
|
|
|
|
/** Construct a typed input failure for one selected-view constraint. */
|
|
export const analysisViewInputError = (
|
|
issues: readonly AnalysisInputIssue[],
|
|
): AnalysisInputError =>
|
|
new AnalysisInputError(INSPECT_ANALYSIS_VIEW_OPERATION, undefined, issues);
|