AlexAegis/loreplotter

View on GitHub
src/app/lore/store/actions/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createAction, union } from '@ngrx/store';
import * as actorActions from './actor.actions';
import * as loreActions from './lore.actions';
import * as sceneActions from './scene.actions';

const allLoreActions = union(loreActions);
const allActorActions = union(actorActions);
const allSceneActions = union(sceneActions);

export type LoreActions = typeof allLoreActions;
export type ActorActions = typeof allActorActions;
export type SceneActions = typeof allSceneActions;
export type FeatureActions = LoreActions | ActorActions | SceneActions;

export * from './lore.actions';
export * from './actor.actions';
export * from './scene.actions';

export const voidOperation = createAction(`[Void]`, () => ({}));

export * from './payload.interface';