export interface StorageFolder { /** * @prop Full path to this folder. It is used as key as there are no files or directories at the same location. */ pathname: string; /** * @prop Directory / Folder name. */ name: string; createdAt: string | Date; createdBy: string | Date; } export interface StorageFile { /** * @prop Full path to this folder. It is used as key as there are no files or directories at the same location. */ pathname: string; fileName: string; fileSize: number; fileType: string; title: string; description: string; author: string; category: string[]; keyword: string[]; metadata: Record; path: string; upload: boolean; updatedAt: string | Date; updatedBy: string; createdAt: string | Date; createdBy: string; }