The BIM.works virtual filesystem is built up with Node objects. A Node can either be a folder or not a folder. Folder Nodes can have child Nodes. Non-folder Nodes can have Versions and Errors.

Constructors

Properties

created_by: string

Username (email address) of the users by whom this Node was created

created_on: Date

When this Node was created

deleted_status: TreeNodeDeletedStatus

Whether this Node is active or deleted

errors: Error[]

An array of all the Error linked to this Node

folder: boolean

Whether this is a folder or not

has_loadable_children: boolean

Whether this Node has children that can be loaded

last_version: Version

A reference to the latest version, this is duplicate information, but useful

last_version_uuid: string

A reference to the latest known Version of this Node

level: number

The level of this Node. The root is at level 0

name: string

Name of this node, this does not include the path

nonce: number
parent_node_uuid: string

A reference to the parent of this Node

path: string

The full path of this Node within the current authorization context

processing: number
progress: number

Last known progress on this Node

read_access: boolean

Whether the current account has access to read this Node

root_node_uuid: string

A reference to the root of the current tree

The status of this Node

The type of the Node

uuid: string

The universally unique identifier of this Node

versions: Version[]

An array of all the Version linked to this Node

write_access: boolean

Whether the current account has access to write to this Node