update ServerDashboard

This commit is contained in:
Timi
2026-04-12 00:15:54 +08:00
parent 489cbb5d0f
commit 611830f393
30 changed files with 2078 additions and 892 deletions

View File

@@ -1,19 +1,8 @@
import type { ServerFile } from "@/types/File";
export type DisplayMode = "list" | "grid";
export type FileItemType = "dir" | "file";
export interface ServerFile {
name: string;
extension?: string;
absolutePath?: string;
size?: number;
modifiedAt?: number;
type?: string;
isFile?: boolean;
isDirectory?: boolean;
canPreview?: boolean;
previewURI?: string;
}
export interface ExplorerItem {
name: string;
type: FileItemType;