UNPKG

swaxios

Version:

Swagger API client generator based on axios and TypeScript.

14 lines (13 loc) 415 B
export interface FileEntry { alternativeName: string | null; fullPath: string; name: string; } export interface DirEntry { directories: Record<string, DirEntry>; fullPath: string; files: Record<string, FileEntry>; name: string; } export declare function getUniqueFileName(fileName: string): string | null; export declare function generateFileIndex(directory: string): Promise<DirEntry>;