diff options
author | Danijel Anđelković <adanijel99@gmail.com> | 2022-04-23 01:28:46 +0200 |
---|---|---|
committer | Danijel Anđelković <adanijel99@gmail.com> | 2022-04-23 01:28:46 +0200 |
commit | 1177f4b29b616a59af39f4aef11b116f9660357d (patch) | |
tree | 36aaa26c5b78a2a5de9d86c6cde299b25f348091 /frontend/src/app/_services/predictors.service.ts | |
parent | c8165d451b295ec610702b36fc05b8cc6047497b (diff) |
Reorganizovao stranice i komponente.
Diffstat (limited to 'frontend/src/app/_services/predictors.service.ts')
-rw-r--r-- | frontend/src/app/_services/predictors.service.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/frontend/src/app/_services/predictors.service.ts b/frontend/src/app/_services/predictors.service.ts index a24ee708..e2033e3e 100644 --- a/frontend/src/app/_services/predictors.service.ts +++ b/frontend/src/app/_services/predictors.service.ts @@ -1,9 +1,8 @@ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; -import { Configuration } from '../configuration.service'; +import { Configuration } from './configuration.service'; import Predictor from '../_data/Predictor'; -import { Column } from '../_pages/predict/predict.component'; import { AuthService } from './auth.service'; @Injectable({ @@ -31,3 +30,10 @@ export class PredictorsService { return this.http.get<Predictor[]>(`${Configuration.settings.apiURL}/predictor/mypredictors`, { headers: this.authService.authHeader() }); } } + +export class Column { + constructor( + public name: string, + public value: (number | string)) { + } +}
\ No newline at end of file |