Created
August 22, 2017 10:24
-
-
Save mudivili/eae8f9117702cdf104b0c67f542346df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
export const CREATE_${1:this} = 'CREATE_${1:this}'; | |
export const CREATE_${1:this}_RESPONSE = 'CREATE_${1:this}_RESPONSE'; | |
export const CREATE_${1:this}_ERROR = 'CREATE_${1:this}_ERROR'; | |
export const UPDATE_${1:this} = 'UPDATE_${1:this}'; | |
export const UPDATE_${1:this}_RESPONSE = 'UPDATE_${1:this}_RESPONSE'; | |
export const UPDATE_${1:this}_ERROR = 'UPDATE_${1:this}_ERROR'; | |
export const FETCH_${1:this}S = 'FETCH_${1:this}'; | |
export const FETCH_${1:this}S_RESPONSE = 'FETCH_${1:this}_RESPONSE'; | |
export const FETCH_${1:this}S_ERROR = 'FETCH_${1:this}_ERROR'; | |
export const REMOVE_${1:this} = 'REMOVE_${1:this}'; | |
export const REMOVE_${1:this}_RESPONSE = 'REMOVE_${1:this}_RESPONSE'; | |
export const REMOVE_${1:this}_ERROR = 'REMOVE_${1:this}_ERROR'; | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>crud-constants</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment