refactor: notification

This commit is contained in:
thomas
2024-05-13 16:24:11 +02:00
parent fbb9e3eccf
commit 678dd77030
37 changed files with 41 additions and 41 deletions

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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,

View File

@@ -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({

View File

@@ -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';

View File

@@ -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({

View File

@@ -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';

View File

@@ -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": []