Merge branch 'next' into develop
This commit is contained in:
@@ -73,14 +73,14 @@ export class DeltagareApiService {
|
||||
);
|
||||
}
|
||||
|
||||
public fetchReports$(limit: number, page: number, deltagareId: string): Observable<ReportsData> {
|
||||
public fetchReports$(limit: number, page: number, genomforandeReferens: string): Observable<ReportsData> {
|
||||
return of({ data: [], meta: null });
|
||||
|
||||
// TODO: When the API/Mock-API has implemented the endpoint, we can remove use following code
|
||||
// to make API-requests.
|
||||
|
||||
// const params: { [param: string]: string | string[] } = {
|
||||
// id: deltagareId.toString(),
|
||||
// id: genomforandeReferens.toString(),
|
||||
// limit: limit.toString(),
|
||||
// page: page.toString(),
|
||||
// };
|
||||
|
||||
@@ -16,31 +16,31 @@ import { DeltagareApiService } from './api/deltagare.api.service';
|
||||
export class DeltagareCardService {
|
||||
constructor(private deltagareApiService: DeltagareApiService) {}
|
||||
|
||||
public fetchContactInformation$(deltagareId: string): Observable<ContactInformation> {
|
||||
return this.deltagareApiService.fetchContactInformation$(deltagareId);
|
||||
public fetchContactInformation$(genomforandeReferens: string): Observable<ContactInformation> {
|
||||
return this.deltagareApiService.fetchContactInformation$(genomforandeReferens);
|
||||
}
|
||||
public fetchAvropInformation$(deltagareId: string): Observable<Avrop> {
|
||||
return this.deltagareApiService.fetchAvropInformation$(deltagareId);
|
||||
public fetchAvropInformation$(genomforandeReferens: string): Observable<Avrop> {
|
||||
return this.deltagareApiService.fetchAvropInformation$(genomforandeReferens);
|
||||
}
|
||||
public fetchWorkExperiences$(deltagareId: string): Observable<WorkExperience[]> {
|
||||
return this.deltagareApiService.fetchWorkExperiences$(deltagareId);
|
||||
public fetchWorkExperiences$(genomforandeReferens: string): Observable<WorkExperience[]> {
|
||||
return this.deltagareApiService.fetchWorkExperiences$(genomforandeReferens);
|
||||
}
|
||||
public fetchHighestEducation$(deltagareId: string): Observable<HighestEducation> {
|
||||
return this.deltagareApiService.fetchHighestEducation$(deltagareId);
|
||||
public fetchHighestEducation$(genomforandeReferens: string): Observable<HighestEducation> {
|
||||
return this.deltagareApiService.fetchHighestEducation$(genomforandeReferens);
|
||||
}
|
||||
public fetchEducations$(deltagareId: string): Observable<Education[]> {
|
||||
return this.deltagareApiService.fetchEducations$(deltagareId);
|
||||
public fetchEducations$(genomforandeReferens: string): Observable<Education[]> {
|
||||
return this.deltagareApiService.fetchEducations$(genomforandeReferens);
|
||||
}
|
||||
public fetchDriversLicense$(deltagareId: string): Observable<DriversLicense> {
|
||||
return this.deltagareApiService.fetchDriversLicense$(deltagareId);
|
||||
public fetchDriversLicense$(genomforandeReferens: string): Observable<DriversLicense> {
|
||||
return this.deltagareApiService.fetchDriversLicense$(genomforandeReferens);
|
||||
}
|
||||
public fetchWorkLanguages$(deltagareId: string): Observable<string[]> {
|
||||
return this.deltagareApiService.fetchWorkLanguages$(deltagareId);
|
||||
public fetchWorkLanguages$(genomforandeReferens: string): Observable<string[]> {
|
||||
return this.deltagareApiService.fetchWorkLanguages$(genomforandeReferens);
|
||||
}
|
||||
public fetchDisabilities$(deltagareId: string): Observable<Disability[]> {
|
||||
return this.deltagareApiService.fetchDisabilities$(deltagareId);
|
||||
public fetchDisabilities$(genomforandeReferens: string): Observable<Disability[]> {
|
||||
return this.deltagareApiService.fetchDisabilities$(genomforandeReferens);
|
||||
}
|
||||
public fetchReports$(limit: number, page: number, deltagareId: string): Observable<ReportsData> {
|
||||
return this.deltagareApiService.fetchReports$(limit, page, deltagareId);
|
||||
public fetchReports$(limit: number, page: number, genomforandeReferens: string): Observable<ReportsData> {
|
||||
return this.deltagareApiService.fetchReports$(limit, page, genomforandeReferens);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user