UNPKG

@lxdhub/dbsync

Version:

Display, search and copy LXD-images using a web interface.

27 lines (26 loc) 787 B
import { Interfaces } from '@lxdhub/common'; import { LXDHubDbSyncSettings } from './dbsync-settings.interface'; /** * Represents the LXDHub Database synchronization script. * It synchronizes the database with the given remotes. */ export declare class LXDHubDbSync implements Interfaces.ILXDHubService { private settings; private app; private appService; private databaseService; /** * Initializes the database synchronization script * @param settings The database synchronisation settings */ constructor(settings: LXDHubDbSyncSettings); /** * Bootstraps the NestJS application * and requests the app service */ private bootstrap; /** * Runs the database synchronization task */ run(): Promise<void>; }