Represents a Workspace. Can be used to inquire and load workspaces and apply them using methods on the App object.
// find workspace and load it in drafts list let workspace = Workspace.find("Projects"); app.applyWorkspace(workspace);
Should flagged drafts be included in archive.
Should flagged drafts be included in inbox.
The name of the workspace.
Search string to filter results.
Show last logged action for draft in list.
Show preview of draft body in list.
Show draft tags in list.
Comma-delimited list tag string like "blue, !green" using "!" to omit a tag.
true, all (AND) tags in the tag filter must match, if
false match any of the tags (OR)
Query for a list of drafts contained in the workspace.
Set sort order for flagged.
Set sort order for archive.
Set sort order for "all" drafts folder.
Set sort order for inbox.
Save changes made to the workspace to the database. This must be called to save changes.
create a new workspace object. This is an in-memory object only, unless
update() is called to save the it.
Search for workspace matching the name passed and return it if found. Returns undefined if not found.
Get list of all available workspaces.
Generated using TypeDoc