Refactor - stage 1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
gitToken: '96ead73c54cbbf023a73ee57af145b205d460851',
|
||||
recasttoken: "26021d055040a9d9f1ad48476efab4a0",
|
||||
intentSlugToOperations: {
|
||||
createrepo: {
|
||||
requestMethod: 'post',
|
||||
@@ -85,8 +86,25 @@ module.exports = {
|
||||
cardDataUrl: 'html_url',
|
||||
cardDataName: 'invitee,login',
|
||||
},
|
||||
resethistory: {
|
||||
requestMethod: 'purge',
|
||||
intentMessage: 'Clear all Operations History',
|
||||
successMessage: 'Purged!',
|
||||
cardMsg: 'Purged history of all Operations and Commands!'
|
||||
},
|
||||
},
|
||||
costants: {
|
||||
hiddenIntentFieldId: 'intentHidden',
|
||||
},
|
||||
actions: {
|
||||
createrepo: { type: 'ADD_REPO'},
|
||||
addcollab: { type: 'ADD_COLLAB'},
|
||||
createissue: { type: 'ADD_ISSUE'},
|
||||
addissuecomment: { type: 'ADD_COMMENT'},
|
||||
closeissue: { type: 'CLOSE_ISSUE'},
|
||||
displaylastcomment: { type: 'SHOW_LAST_COMMENT'},
|
||||
viewrepos: { type: 'VIEW_REPO' },
|
||||
action_add_query: { type: 'ADD_QUERY'},
|
||||
action_clear_history: { type: 'CLEAR_HISTORY' }
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user