Files
openclaw/scripts/lib/changed-path-facts.d.mts
2026-07-12 10:26:32 +08:00

25 lines
515 B
TypeScript

export type ChangedPathSurface =
| "docs"
| "source"
| "package"
| "ui"
| "extension"
| "app"
| "rootTest"
| "testFixture"
| "rootTooling"
| "rootGlobal"
| "legacyRootAsset"
| "unknown";
export type ChangedPathFacts = {
path: string;
surface: ChangedPathSurface;
isChangedLaneTest: boolean;
isTestOnly: boolean;
isNativeOnly: boolean;
};
export function normalizeChangedPath(inputPath: unknown): string;
export function getChangedPathFacts(inputPath: unknown): ChangedPathFacts;