1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-10-26 08:55:23 +03:00

upgrading to angular 8

This commit is contained in:
Adolfo Gómez García 2019-06-29 18:07:33 +02:00
parent a2c3198f66
commit 1e964d1b7e

View File

@ -0,0 +1,24 @@
import { Observable } from 'rxjs';
import { JSONServicesInformation, JSONEnabledService, JSONService } from './types/services';
import { UDSGuiService } from './gui/uds-gui.service';
export interface UDSApiServiceType {
gui: UDSGuiService;
/* Client enabler */
enabler(serviceId: string, transportId: string): Observable<JSONEnabledService>;
/* Services resetter */
action(action: string, serviceId: string): Observable<JSONService>;
/**
* Gets services information
*/
getServicesInformation(): Observable<JSONServicesInformation>;
/**
* Executes custom javascript for service launch if it is available
*/
executeCustomJSForServiceLaunch(): void;
}