2022-08-19 16:02:58 +08:00
|
|
|
import { CommonModel } from '.';
|
|
|
|
export namespace File {
|
|
|
|
export interface File extends CommonModel {
|
2022-08-24 11:10:50 +08:00
|
|
|
path: string;
|
2022-08-19 16:02:58 +08:00
|
|
|
name: string;
|
|
|
|
user: string;
|
|
|
|
group: string;
|
2022-08-24 11:10:50 +08:00
|
|
|
content: string;
|
|
|
|
size: number;
|
2022-08-19 16:02:58 +08:00
|
|
|
isDir: boolean;
|
2022-08-24 11:10:50 +08:00
|
|
|
isSymlink: boolean;
|
|
|
|
type: string;
|
|
|
|
updateTime: string;
|
|
|
|
modTime: string;
|
|
|
|
mode: number;
|
|
|
|
items: File[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ReqFile {
|
2022-08-19 16:02:58 +08:00
|
|
|
path: string;
|
2022-08-24 11:10:50 +08:00
|
|
|
search?: string;
|
|
|
|
expand: boolean;
|
2022-08-19 16:02:58 +08:00
|
|
|
}
|
|
|
|
}
|