Update to operator imports from excercise 7 (#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 <fpalma@dep.nyc.gov>
This commit is contained in:
Francisco Palma
2024-09-23 15:23:58 -04:00
committed by GitHub
parent 73d7245535
commit 9f644d674f
3 changed files with 4 additions and 7 deletions

View File

@@ -1,10 +1,7 @@
import { School } from '@angular-challenges/power-of-effect/model';
import { Injectable } from '@angular/core';
import {
ComponentStore,
OnStoreInit,
tapResponse,
} from '@ngrx/component-store';
import { ComponentStore, OnStoreInit } from '@ngrx/component-store';
import { tapResponse } from '@ngrx/operators';
import { pipe, switchMap } from 'rxjs';
import { HttpService } from '../data-access/http.service';

View File

@@ -5,7 +5,7 @@ import {
} from '@angular-challenges/power-of-effect/model';
import { Injectable, inject } from '@angular/core';
import { randCompanyName, randFirstName } from '@ngneat/falso';
import { concatLatestFrom } from '@ngrx/effects';
import { concatLatestFrom } from '@ngrx/operators';
import { map, tap, timer } from 'rxjs';
import { FakeDBService } from './fake-db.service';
import { PushService } from './push.service';

2
package-lock.json generated
View File

@@ -16525,7 +16525,7 @@
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@cypress/request": "^3.0.0",
"@cypress/request": "^3.0.1",
"@cypress/xvfb": "^1.2.4",
"@types/sinonjs__fake-timers": "8.1.1",
"@types/sizzle": "^2.3.2",