feat(web): panneau Fichiers — navigation projet + téléchargements fichier/dossier ZIP — #211

This commit is contained in:
2026-08-15 10:38:53 +02:00
parent bb1fdecf7c
commit 79fc3d184d
22 changed files with 1648 additions and 78 deletions

View File

@ -8,7 +8,7 @@
import { invoke } from "@tauri-apps/api/core";
import type { Project } from "@/domain";
import type { Project, ProjectFileListing } from "@/domain";
import type { ProjectGateway } from "@/ports";
export class TauriProjectGateway implements ProjectGateway {
@ -37,4 +37,16 @@ export class TauriProjectGateway implements ProjectGateway {
request: { projectId, content },
});
}
async listProjectFiles(): Promise<ProjectFileListing> {
throw new Error("Project files browsing is available in the web workspace only.");
}
async downloadProjectFile(): Promise<void> {
throw new Error("Project file download is available in the web workspace only.");
}
async downloadProjectDirectory(): Promise<void> {
throw new Error("Project directory download is available in the web workspace only.");
}
}