Cameron Diver f7240ccce1
fix: Fix importing of service type location
Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
2018-08-16 16:38:43 +01:00

23 lines
582 B
TypeScript

import ApplicationManager from '../application-manager';
import { Service } from '../types/service';
export interface ServiceAction {
action: string;
serviceId: number;
current: Service;
target: Service;
options: any;
}
declare function doRestart(applications: ApplicationManager, appId: number, force: boolean): Promise<void>;
declare function doPurge(applications: ApplicationManager, appId: number, force: boolean): Promise<void>;
declare function serviceAction(
action: string,
serviceId: number,
current: Service,
target: Service,
options: any,
): ServiceAction;