Skip to content

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 ​

PropertyModifierTypeDescriptionDefined in
bytesSentreadonlynumberBytes of the request bodies sent so far.core/src/types.ts:104
bytesTotalreadonlynumberTotal bytes of the accepted files in the folder and below.core/src/types.ts:102
childrenreadonlyreadonly FolderNode[]Subfolders, in insertion order.core/src/types.ts:94
countsreadonlyFolderCountsPer-status file counters of the folder and below.core/src/types.ts:106
depthreadonlynumberRoot = 0.core/src/types.ts:92
filesreadonlyreadonly AnyDropFile[]Direct files, in insertion order.core/src/types.ts:96
namereadonlystringLast segment, '' for the root.core/src/types.ts:88
parentreadonlyFolderNode | nullThe parent folder, or null for the root.core/src/types.ts:90
pathreadonlystring'' for the virtual root, otherwise 'Photos/2024'.core/src/types.ts:86
progressreadonlynumber0-100, bytes-weighted over accepted, non-canceled descendant files.core/src/types.ts:100
statusreadonlyFileStatusRolled-up status.core/src/types.ts:98
userPausedreadonlybooleanpauseFolder() flag on this node itself (M3).core/src/types.ts:108

Released under the MIT License.