Last active
October 5, 2017 18:48
-
-
Save kobvel/a05cf8ac2069d2f12fef0d8df32d8e7a 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
import { Action } from '@ngrx/store'; | |
export interface IProfileActions { | |
PROFILE_DATA_UPDATED: string; | |
} | |
export const ActionTypes: IProfileActions = { | |
PROFILE_DATA_UPDATED: 'Profile Data Updated', | |
}; | |
export class UpdateAction implements Action { | |
type = ActionTypes.PROFILE_DATA_UPDATED; | |
constructor(public payload: IProfileData) { } | |
} | |
export type Actions = UpdateAction; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment