feat(web): panneau Fichiers — navigation projet + téléchargements fichier/dossier ZIP — #211
This commit is contained in:
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user