- Source:
Methods
(static) createProject(project)
Create a project with a provided object.
- Source:
Create a project with a provided object. DOES save project to store
Parameters:
Name | Type | Description |
---|---|---|
project |
Object |
(static) deleteProject(PID)
Delete a project with the provided ID.
- Source:
Delete a project with the provided ID
Parameters:
Name | Type | Description |
---|---|---|
PID |
Array.<string, boolean> | The ID of the project and a boolean on whether to remove the project from the store |
(static) getProject(ID)
Get a project matching the provided ID DOES save project to store.
- Source:
Get a project matching the provided ID DOES save project to store
Parameters:
Name | Type | Description |
---|---|---|
ID |
Array.<string, number> | An array containing the ID of the project and a boolean of whether you want the tasks and media associated |
(static) getProjectCount(search)
Get count of projects matching search criteria.
- Source:
Get count of projects matching search criteria
Parameters:
Name | Type | Description |
---|---|---|
search |
Object |
(static) getProjects(Search)
Get projects matching a search object
Retrieve projects matching query and save into the projects
array.
- Source:
Get projects matching a search object
Retrieve projects matching query and save into the projects
array
Parameters:
Name | Type | Description |
---|---|---|
Search |
Array.<Object, number> | Array containing a search object (based on JTOS) and an integer for the limit of results |