16 lines
234 B
TypeScript
16 lines
234 B
TypeScript
|
|
export interface FileEntry {
|
||
|
|
name: string;
|
||
|
|
kind: "file" | "dir";
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface SearchResult {
|
||
|
|
path: string;
|
||
|
|
matches: number;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface CommandOutput {
|
||
|
|
stdout: string;
|
||
|
|
stderr: string;
|
||
|
|
exit_code: number;
|
||
|
|
}
|