15 lines
442 B
TypeScript
15 lines
442 B
TypeScript
/** Project-relative, app-owned launch recipes. Never persisted shell commands. */
|
|
export type WorkLaunchSpec =
|
|
| { kind: 'vite'; directory: string; args: string[] }
|
|
| { kind: 'static'; directory: string; entry: string };
|
|
|
|
export type WorkEntryProject = { id: string; path: string };
|
|
export type WorkEntry = {
|
|
version: 1;
|
|
projectId: string;
|
|
projectPath: string;
|
|
url: string;
|
|
documentHash?: string;
|
|
launch?: WorkLaunchSpec;
|
|
};
|