mutations

c3s/task~ mutations

Source:

mutations

Methods

(static) SET_COMMENTS(cmts)

Set array of task comments in store.

Source:

Set array of task comments in store

Parameters:
Name Type Description
cmts Array.<Object>

(static) SET_MEDIA(media)

Commit media to store.

Source:

Commit media to store

Parameters:
Name Type Description
media Array.<Object>

Array of media objects

(static) SET_TASK(task)

Set single task in store.

Source:

Set single task in store

Parameters:
Name Type Description
task Object

(static) SET_TASKS(tasks)

Set array of tasks in store.

Source:

Set array of tasks in store

Parameters:
Name Type Description
tasks Array

(static) UPDATE_TASK(index, params)

Update task in store.

Source:

Update task in store

Parameters:
Name Type Description
index int

Index of array to update

params Object

New task object