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:
parent
a2c3198f66
commit
1e964d1b7e
24
src/app/uds-api.service-type.ts
Normal file
24
src/app/uds-api.service-type.ts
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user