adding new project from template

This commit is contained in:
Cody Seibert
2025-12-12 17:14:31 -05:00
committed by Kacper
parent 25f5f7d6b2
commit 05910905ee
6 changed files with 892 additions and 110 deletions

View File

@@ -668,6 +668,16 @@ export class HttpApiClient implements ElectronAPI {
},
};
// Templates API
templates = {
clone: (repoUrl: string, projectName: string, parentDir: string): Promise<{
success: boolean;
projectPath?: string;
projectName?: string;
error?: string;
}> => this.post("/api/templates/clone", { repoUrl, projectName, parentDir }),
};
// Sessions API
sessions = {
list: (includeArchived?: boolean): Promise<{