/** * DevExtreme (file_management/file_system_item.d.ts) * Version: 25.2.3 * Build date: Fri Dec 12 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ /** * An object that provides information about a file system item (file or directory) in the FileManager UI component. */ export default class FileSystemItem { constructor(path: string, isDirectory: boolean, pathKeys?: Array); /** * The file system item's path. */ path: string; /** * The file system item's path specified in keys. */ pathKeys: Array; /** * The file system item's key. */ key: string; /** * The file system item's name. */ name: string; /** * A timestamp that indicates when the file system item was last modified. */ dateModified: Date; /** * The file system item's size (in bytes). */ size: number; /** * Specifies whether the file system item is a directory. */ isDirectory: boolean; /** * Specifies whether a directory has subdirectories. */ hasSubDirectories: boolean; /** * An icon (URL) to be used as the file system item's thumbnail. */ thumbnail: string; /** * The file system data object that stores information about the file system item (name, size, modification date, etc.). */ dataItem: any; /** * Gets a file's extension. */ getFileExtension(): string; }