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