14 lines
219 B
TypeScript
14 lines
219 B
TypeScript
export interface DirEntry {
|
|
name: string;
|
|
href: string;
|
|
type: 'file' | 'dir';
|
|
size?: number;
|
|
lastModified?: string;
|
|
sha256?: string;
|
|
}
|
|
|
|
export interface DirListing {
|
|
path: string;
|
|
entries: DirEntry[];
|
|
}
|