Angular project using NgRx pattern to manage state of a system

project.state.ts 353B

123456789101112
  1. import { MsgState } from 'src/app/ngrx/msg.state';
  2. import { Project } from './../../shared/models/project.model';
  3. import { ProjectActionUnion } from './projects.actions';
  4. export class ProjectState{
  5. currentProject !: Project| null;
  6. projectsList: any;
  7. msgState!: MsgState;
  8. serverErrorMsg!: string;
  9. currectAction!: ProjectActionUnion | null;
  10. }

Powered by TurnKey Linux.