20 lines
386 B
JavaScript
20 lines
386 B
JavaScript
/* TAGS */
|
|
export let SELECT_TAG = 'SELECT_TAG'
|
|
|
|
export function selectTag(tagName, tagValue) {
|
|
return {type: SELECT_TAG, tagName, tagValue}
|
|
}
|
|
|
|
export let RESET_TAGS = 'RESET_TAGS'
|
|
|
|
export function resetTags() {
|
|
return {type: RESET_TAGS}
|
|
}
|
|
|
|
/* VARIBALES */
|
|
export let SELECT_VARIABLE = 'SELECT_VARIABLE'
|
|
|
|
export function selectVariable(name) {
|
|
return {type: SELECT_VARIABLE, name}
|
|
}
|