Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

composerPathSearch.ts

19 lines528 Bytes

1import type { EnvironmentId } from "@t3tools/contracts";
2​
3export interface ComposerPathSearchEntry {
4 readonly path: string;
5 readonly kind: "file" | "directory";
6 readonly parentPath?: string;
7}
8​
9export interface ComposerPathSearchState {
10 readonly entries: ReadonlyArray<ComposerPathSearchEntry>;
11 readonly isPending: boolean;
12 readonly error: string | null;
14​
15export interface ComposerPathSearchTarget {
16 readonly environmentId: EnvironmentId | null;
17 readonly cwd: string | null;
18 readonly query: string | null;