diff options
Diffstat (limited to 'vid-webpack-master/src/app/global.actions.ts')
-rw-r--r-- | vid-webpack-master/src/app/global.actions.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vid-webpack-master/src/app/global.actions.ts b/vid-webpack-master/src/app/global.actions.ts deleted file mode 100644 index 46575fb34..000000000 --- a/vid-webpack-master/src/app/global.actions.ts +++ /dev/null @@ -1,23 +0,0 @@ -import {Action, ActionCreator} from "redux"; -export const UPDATE_NAME= '[NAME] Update'; -export const UPDATE_FLAGS= '[FLAGS] Update'; - -export interface UpdateGlobalAction extends Action { - name?: string; -} - -export interface UpdateFlagsAction extends Action { - flags?: any; -} - -export const updateName: ActionCreator<UpdateGlobalAction> = - (name) => ({ - type: UPDATE_NAME, - name: name - }); - -export const updateFlags: ActionCreator<UpdateFlagsAction> = - (flags) => ({ - type: UPDATE_FLAGS, - flags: flags - }); |