new template()
The template store module handles the basic template from which a workshop is created. This is likely to change in future when forking existing workshops becomes an option in the Builder Tool.
Members
-
static Mutations :Object
-
Name Accepts Type Mutates State Property Description setSearchFlagboolean fetchInProgressSet the search flag. setMasterstring masterSet the master template content. addErrorError errorsAdd an error to the log. -
static State
-
Properties:
Name Type Description masternull | string Template repository _config.yml file. fetchInProgressboolean Whether a template fetch is in progress. errorsArray.<Error> List of errors encountered.
Methods
-
action handler(nsContext, repo) → {Promise.<void>|void}
-
Fetch the _config.yml file from repo to use as a template.
Vuex Action => Mutates state propertymasterParameters:
Name Type Description nsContextStoreContext repostring Repository to use as a template. Returns:
Promise.<void> | void