mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-09 11:34:16 +00:00
* fix(ci): harden hydrated dead-export scans * fix(ci): satisfy lint and test-type gates for hydrated scan hardening
23 lines
748 B
TypeScript
23 lines
748 B
TypeScript
/** Parses compact Knip export sections into one path-and-symbol entry per finding. */
|
|
export function parseKnipCompactUnusedExports(output: string): string[];
|
|
/** Parses compact Knip export sections and reports whether Knip emitted one. */
|
|
export function parseKnipCompactUnusedExportsResult(output: string): {
|
|
entries: string[];
|
|
sawExportSection: boolean;
|
|
};
|
|
/** Rejects every unused export reported by Knip. */
|
|
export function checkUnusedExports(output: string): {
|
|
ok: boolean;
|
|
entries: string[];
|
|
message: string;
|
|
};
|
|
/** Classifies Knip export output, rejecting findings after resolution failures. */
|
|
export function checkExportScan(
|
|
scanName: string,
|
|
output: string,
|
|
): {
|
|
ok: boolean;
|
|
entries: string[];
|
|
message: string;
|
|
};
|