@homebridge-plugins/homebridge-plugin-update-check
Version:
A Homebridge plugin for checking for updates to Homebridge and plugins
24 lines • 716 B
TypeScript
import type { Logging } from 'homebridge';
export interface InstalledPlugin {
name: string;
installedVersion: string;
latestVersion: string;
updateAvailable: boolean;
}
export declare class UiApi {
private log;
private readonly secrets?;
private readonly baseUrl?;
private readonly httpsAgent?;
private token?;
private readonly dockerUrl?;
constructor(hbStoragePath: string, log: Logging);
isConfigured(): boolean;
getHomebridge(): Promise<InstalledPlugin>;
getPlugins(): Promise<Array<InstalledPlugin>>;
getDocker(): Promise<InstalledPlugin>;
private makeDockerCall;
private makeCall;
getToken(): string;
}
//# sourceMappingURL=ui-api.d.ts.map