20 lines
528 B
TypeScript
20 lines
528 B
TypeScript
import type { EnvironmentId } from "@t3tools/contracts";
|
|
|
|
export interface ComposerPathSearchEntry {
|
|
readonly path: string;
|
|
readonly kind: "file" | "directory";
|
|
readonly parentPath?: string;
|
|
}
|
|
|
|
export interface ComposerPathSearchState {
|
|
readonly entries: ReadonlyArray<ComposerPathSearchEntry>;
|
|
readonly isPending: boolean;
|
|
readonly error: string | null;
|
|
}
|
|
|
|
export interface ComposerPathSearchTarget {
|
|
readonly environmentId: EnvironmentId | null;
|
|
readonly cwd: string | null;
|
|
readonly query: string | null;
|
|
}
|