UNPKG

awake-heroku

Version:

A package help your heroku app is always runs

17 lines (16 loc) 447 B
export interface IAppInfo { id?: number; url: string; lastHeartBeat?: number; } export interface IDataService { add: (url: string) => void; remove: (id: number) => void; get: (id: number) => IAppInfo | undefined; getAll: () => IAppInfo[] | undefined; } export interface IControlService { start: () => void; stop: () => void; } export declare type IAwakeService = IDataService & IControlService;