Typedef
Static Public Summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
At least an |
Static Public
public Endpoint: Object source
Properties:
Name | Type | Attribute | Description |
method | string | The HTTP method |
|
path | string | The pathname to the endpoint |
|
body | Array<string> | string | boolean | The parameter names to pass as the request body. If a string is passed, the request body will contain only the value of the parameter. If a boolean is passed, all the parameters will be used as the body. |
|
chain | Array<string> | The parameters to chain onto the path |
|
anonymous | boolean |
|
Whether the endpoint can be called without authorization headers |
trailing | boolean |
|
Whether to include a trailing slash at the end of the path |
public QueueItem: Object source
Properties:
Name | Type | Attribute | Description |
deferred | Deferred | The promise for when the item has been processed |
|
message | * | The message object/data to be sent to the Worker |
public WorkflowStepDefinition: Object source
Properties:
Name | Type | Attribute | Description |
name | string |
|
The name of the step (by default steps have no name) |
users | Array<WorkflowUserDefinition> | The users within the workflow step |
public WorkflowUserDefinition: Object source
At least an email
or id
is required.
Properties:
Name | Type | Attribute | Description |
string | The user's email address (instead of id) |
||
id | string | The user id (instead of email) |
|
role | WorkflowUserRole |
|
The role the user has within the workflow step |
permissions | object |
|
Any additional permissions the user has |
permissions.inviter | boolean |
|
Whether the user has the ability to invite others to the proof |