IDocumentItem
@spartanfx/react / IDocumentItem
Interface: IDocumentItem
Represents a document or folder in the system.
Properties
| Property | Type | Description |
|---|---|---|
createdDate | Date | Creation date |
extension? | string | File extension (without dot) |
id | string | Unique identifier |
metadata? | Record<string, any> | Extensible metadata |
mimeType? | string | MIME type |
modifiedBy? | IUserInfo | User who last modified |
modifiedDate | Date | Last modification date |
name | string | Display name with extension |
parentId? | string | Parent folder ID |
path | string | Full path: /folder1/folder2/file.pdf |
size? | number | File size in bytes (undefined for folders) |
thumbnailUrl? | string | Preview thumbnail URL |
type | "file" | "folder" | Item type |
url? | string | Direct link to file |