UNPKG

debt-collector

Version:

a nodejs tool to identify, track and mesure technical debt

25 lines (24 loc) 717 B
import { TaskProps } from './useTaskList.js'; import { WalkResults, WalkReportTagList } from '../../lib/types.js'; import { DevLogger } from '../hooks/useDevLogger.js'; type WalkOptions = { config?: string; openReport?: boolean; }; type UseWalkStateResult = { results: WalkResults | null; currentCommit: { commit: string; index: number; }; isHistoryDirty: boolean | null; isReady: boolean | null; configErrors: string[] | null; isConfigValid: boolean | null; tags: WalkReportTagList; tasks: TaskProps[]; logs: DevLogger['logs']; isFinished: boolean; }; export declare const useWalkState: (walkOptions: WalkOptions) => UseWalkStateResult; export {};