mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-05-05 04:29:00 +00:00
15 lines
246 B
TypeScript
15 lines
246 B
TypeScript
export type Listing = FileListing | DirectoryListing;
|
|
|
|
export interface DirectoryListing {
|
|
name: string;
|
|
type: "directory";
|
|
mtime: string;
|
|
}
|
|
|
|
export interface FileListing {
|
|
name: string;
|
|
type: "file";
|
|
mtime: string;
|
|
size: number;
|
|
}
|