mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-24 03:10:13 +01:00
With this change all components, which used data services before, now use abstract classes of service interfaces, mock services extend interface services, CoreModule contains code to inject a needed implementation of some service.
10 lines
197 B
TypeScript
10 lines
197 B
TypeScript
import { Observable } from 'rxjs';
|
|
|
|
export interface Camera {
|
|
title: string;
|
|
source: string;
|
|
}
|
|
|
|
export abstract class SecurityCamerasData {
|
|
abstract getCamerasData(): Observable<Camera[]>;
|
|
}
|