Last active
April 10, 2018 21:54
-
-
Save kmaraz/5d6027f559234869977bea5543889878 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
export const DELETE_EVENT = '[Events] DELETE_EVENT'; | |
export const SELECT_EVENT = '[Events] SELECT_EVENT'; | |
export const RESET = '[Events] RESET'; | |
export class DeleteEvent implements Action { | |
readonly type = DELETE_EVENT; | |
constructor(public payload: PayloadEvent) { } | |
} | |
export class SelectEvent implements Action { | |
readonly type = SELECT_EVENT; | |
constructor(public payload: PayloadEvent) { } | |
} | |
export class Reset implements Action { | |
readonly type = RESET; | |
} | |
export interface PayloadEvent { | |
eventUuid: string; | |
} | |
export type All | |
= DeleteEvent | |
| SelectEvent | |
| Reset; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment