export interface IDropboxFile { /** * A unique identifier for the folder. */ id: string; /** * Please use sharing_info instead. */ shared_folder_id?: string; /** * The last component of the path (including extension). This never * contains a slash. */ name: string; /** * The lowercased full path in the user's Dropbox. This always starts with * a slash. This field will be null if the file or folder is not mounted. */ path_lower?: string; /** * The cased path to be used for display purposes only. In rare instances * the casing will not correctly match the user's filesystem, but this * behavior will match the path provided in the Core API v1, and at least * the last path component will have the correct casing. Changes to only * the casing of paths won't be returned by listFolderContinue(). This * field will be null if the file or folder is not mounted. */ path_display?: string; /** * Please use FileSharingInfo.parent_shared_folder_id or * FolderSharingInfo.parent_shared_folder_id instead. */ parent_shared_folder_id?: string; /** * For files, this is the modification time set by the desktop client when * the file was added to Dropbox. Since this time is not verified (the * Dropbox server stores whatever the desktop client sends up), this * should only be used for display purposes (such as sorting) and not, for * example, to determine if a file has changed or not. */ client_modified: string; /** * The last time the file was modified on Dropbox. */ server_modified: string; /** * A unique identifier for the current revision of a file. This field is * the same rev as elsewhere in the API and can be used to detect changes * and avoid conflicts. */ rev: string; /** * The file size in bytes. */ size: number; /** * A hash of the file content. This field can be used to verify data * integrity. For more information see our [Content hash]{@link * https://www.dropbox.com/developers/reference/content-hash} page. */ content_hash?: string; }