Files
cbsnexora/src/app/system/entity-to-entity-mapping/entity-to-entity-mapping.resolver.ts
T
Adam Saghy 19a14e5b5b Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
2025-05-23 18:47:20 +02:00

28 lines
598 B
TypeScript

/** Angular Imports */
import { Injectable } from '@angular/core';
/** rxjs Imports */
import { Observable } from 'rxjs';
/** Custom Services */
import { SystemService } from '../system.service';
/**
* Entity to entity mapping data resolver.
*/
@Injectable()
export class EntityToEntityMappingResolver {
/**
* @param {SystemService} systemService System service.
*/
constructor(private systemService: SystemService) {}
/**
* Returns the Mapping data.
* @returns {Observable<any>}
*/
resolve(): Observable<any> {
return this.systemService.getEntityMappings();
}
}