feat: volume type icon

This commit is contained in:
Nicolas Meienberger
2025-09-03 21:55:01 +02:00
parent 91020e6f23
commit 63b983b1b1
5 changed files with 70 additions and 9 deletions

View File

@@ -13,9 +13,25 @@ export type ListVolumesResponses = {
*/
200: {
volumes: Array<{
config:
| {
backend: "directory";
}
| {
backend: "nfs";
exportPath: string;
server: string;
version: "3" | "4" | "4.1";
port?: number | string;
}
| {
backend: "smb";
};
createdAt: number;
name: string;
path: string;
type: "directory" | "nfs" | "smb";
updatedAt: number;
}>;
};
};
@@ -153,7 +169,7 @@ export type GetVolumeResponses = {
createdAt: number;
name: string;
path: string;
type: string;
type: "directory" | "nfs" | "smb";
updatedAt: number;
};
};