Skip to content

Commit 9f644d6

Browse files
fpalmabFrancisco Palma
andauthored
Update to operator imports from excercise 7 (tomalaforge#1089)
* refactor: answer 1 * feat(answer 5): reactive crud before store implementation * fix: added cypress configuration lines for challenge 14 * chore: answer 14 * chore: reverting changes in main branch * fix: corrected excercise 7 ngrx references to v18 --------- Co-authored-by: Francisco Palma <[email protected]>
1 parent 73d7245 commit 9f644d6

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

apps/ngrx/7-power-of-effect/src/app/school/school.store.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { School } from '@angular-challenges/power-of-effect/model';
22
import { Injectable } from '@angular/core';
3-
import {
4-
ComponentStore,
5-
OnStoreInit,
6-
tapResponse,
7-
} from '@ngrx/component-store';
3+
import { ComponentStore, OnStoreInit } from '@ngrx/component-store';
4+
import { tapResponse } from '@ngrx/operators';
85
import { pipe, switchMap } from 'rxjs';
96
import { HttpService } from '../data-access/http.service';
107

libs/power-of-effect/backend/src/lib/fake-backend.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from '@angular-challenges/power-of-effect/model';
66
import { Injectable, inject } from '@angular/core';
77
import { randCompanyName, randFirstName } from '@ngneat/falso';
8-
import { concatLatestFrom } from '@ngrx/effects';
8+
import { concatLatestFrom } from '@ngrx/operators';
99
import { map, tap, timer } from 'rxjs';
1010
import { FakeDBService } from './fake-db.service';
1111
import { PushService } from './push.service';

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)