mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
refactor: notification
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend';
|
||||
import { FakeBackendService } from '@angular-challenges/power-of-effect/backend';
|
||||
import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core';
|
||||
import { provideAnimations } from '@angular/platform-browser/animations';
|
||||
import { provideRouter } from '@angular/router';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend';
|
||||
import { FakeBackendService } from '@angular-challenges/power-of-effect/backend';
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { take } from 'rxjs';
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { PushService } from '@angular-challenges/ngrx-notification/backend';
|
||||
import { PushService } from '@angular-challenges/power-of-effect/backend';
|
||||
import {
|
||||
isSchool,
|
||||
isStudent,
|
||||
isTeacher,
|
||||
Push,
|
||||
} from '@angular-challenges/ngrx-notification/model';
|
||||
} from '@angular-challenges/power-of-effect/model';
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { filter } from 'rxjs';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { School } from '@angular-challenges/ngrx-notification/model';
|
||||
import { School } from '@angular-challenges/power-of-effect/model';
|
||||
import { Injectable } from '@angular/core';
|
||||
import {
|
||||
ComponentStore,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Student } from '@angular-challenges/ngrx-notification/model';
|
||||
import { Student } from '@angular-challenges/power-of-effect/model';
|
||||
import { createActionGroup, props } from '@ngrx/store';
|
||||
|
||||
export const studentActions = createActionGroup({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Student } from '@angular-challenges/ngrx-notification/model';
|
||||
import { Student } from '@angular-challenges/power-of-effect/model';
|
||||
import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity';
|
||||
import { createReducer, on } from '@ngrx/store';
|
||||
import { studentActions } from './student.actions';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Teacher } from '@angular-challenges/ngrx-notification/model';
|
||||
import { Teacher } from '@angular-challenges/power-of-effect/model';
|
||||
import { createActionGroup, props } from '@ngrx/store';
|
||||
|
||||
export const teacherActions = createActionGroup({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Teacher } from '@angular-challenges/ngrx-notification/model';
|
||||
import { Teacher } from '@angular-challenges/power-of-effect/model';
|
||||
import { createEntityAdapter, EntityAdapter, EntityState } from '@ngrx/entity';
|
||||
import { createReducer, on } from '@ngrx/store';
|
||||
import { teacherActions } from './teacher.actions';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"**/*.ts",
|
||||
"../../../libs/ngrx-notification/backend/src/lib/fake-backend.service.ts"
|
||||
"../../../libs/power-of-effect/backend/src/lib/fake-backend.service.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"types": []
|
||||
|
||||
Reference in New Issue
Block a user