Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Action } from "@ngrx/store"
- export const actionTypes = {
- "FETCH_ADMINISTRATOR": type("[administrator] fetch"),
- "FETCH_COMPLETE_ADMINISTRATOR": type("[administrator] fetch complete"),
- "SELECT_ADMINISTRATOR": type("[administrator] Select active transaction"),
- "SELECT_COMPLETE_ADMINISTRATOR": type("[administrator] Select complete"),
- "SORT_ADMINISTRATOR": type("[administrator] Sort administrators"),
- }
- export class Fetch implements Action {
- public type = actionTypes.FETCH_ADMINISTRATOR
- constructor(public payload: any) { }
- }
- export class FetchComplete implements Action {
- public type = actionTypes.FETCH_COMPLETE_ADMINISTRATOR
- constructor(public payload: any) { }
- }
- export class Select implements Action {
- public type = actionTypes.SELECT_COMPLETE_ADMINISTRATOR
- constructor(public payload: any) { }
- }
- export class SelectComplete implements Action {
- public type = actionTypes.SELECT_ADMINISTRATOR
- constructor(public payload: any) { }
- }
- export class Sort implements Action {
- public type = actionTypes.SORT_ADMINISTRATOR
- constructor(public payload: any) {}
- }
- export type Actions
- = Fetch
- | FetchComplete
- | Select
- | SelectComplete
- | Sort
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement