Interface: FolderNode
Defined in: core/src/types.ts:84
A folder in the tree. Nodes are live objects shared with events; do not change them. getTree() returns the virtual root (path: '').
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bytesSent | readonly | number | Bytes of the request bodies sent so far. | core/src/types.ts:104 |
bytesTotal | readonly | number | Total bytes of the accepted files in the folder and below. | core/src/types.ts:102 |
children | readonly | readonly FolderNode[] | Subfolders, in insertion order. | core/src/types.ts:94 |
counts | readonly | FolderCounts | Per-status file counters of the folder and below. | core/src/types.ts:106 |
depth | readonly | number | Root = 0. | core/src/types.ts:92 |
files | readonly | readonly AnyDropFile[] | Direct files, in insertion order. | core/src/types.ts:96 |
name | readonly | string | Last segment, '' for the root. | core/src/types.ts:88 |
parent | readonly | FolderNode | null | The parent folder, or null for the root. | core/src/types.ts:90 |
path | readonly | string | '' for the virtual root, otherwise 'Photos/2024'. | core/src/types.ts:86 |
progress | readonly | number | 0-100, bytes-weighted over accepted, non-canceled descendant files. | core/src/types.ts:100 |
status | readonly | FileStatus | Rolled-up status. | core/src/types.ts:98 |
userPaused | readonly | boolean | pauseFolder() flag on this node itself (M3). | core/src/types.ts:108 |