The Project class is used to represent a TPEN Project. A single User may have access to multiple Projects. Projects may be clustered together into Collections. Only one Project may be active at a time. If your Interface requires multiple projects active, they must be individually scoped.

Constructor

The constructor for the Project class is used to initialize the Project object with an identifier unique among projects.

An idString will be one of the following:

const project = new Project(idString)

Properties

The Project class may have the following properties:

Methods

The Project class has the following methods:

Implementation Notes

The available information for any Project may be limited to that User’s role within it. While all Projects will have at least an id, creator, members, and license, changing the currentUser may change available Project properties.