- Source:
Methods
(static) SET_MEDIA(media)
Set media.
- Source:
Set media
Parameters:
Name | Type | Description |
---|---|---|
media |
Array |
(static) SET_SUBMISSION(sub)
Create and set submission in store.
- Source:
Create and set submission in store
Parameters:
Name | Type | Description |
---|---|---|
sub |
Object |
(static) SET_SUBMISSION_RESPONSE(responses, index)
Add response to submission in store (Submission MUST exist first and have a 'responses' key in the 'content' property).
- Source:
Add response to submission in store (Submission MUST exist first and have a 'responses' key in the 'content' property)
Parameters:
Name | Type | Description |
---|---|---|
responses |
Object | |
index |
number |
(static) SET_SUBMISSION_RESPONSES(responses)
Add an array of responses to submission in store.
- Source:
Add an array of responses to submission in store
Parameters:
Name | Type | Description |
---|---|---|
responses |
Array.<Object> |
(static) SET_SUBMISSIONS(sub)
Create and set array of submissions in store.
- Source:
Create and set array of submissions in store
Parameters:
Name | Type | Description |
---|---|---|
sub |
Array |