@deskthing/cli
Version:
An emulator for the DeskThing Server
18 lines (17 loc) • 697 B
TypeScript
import { DeepPartial, DeskthingConfig } from "./deskthing.config.types";
export declare function defineConfig(config: DeepPartial<DeskthingConfig>): DeepPartial<DeskthingConfig>;
export declare const getConfigFromFile: (debug?: boolean) => Promise<any>;
export declare let DeskThingConfig: DeskthingConfig;
export declare const initConfig: (options?: {
silent?: boolean;
debug?: boolean;
}) => Promise<void>;
/**
* @deprecated - Use {@link DeskThingConfig} instead after calling initConfig in root
* @returns
*/
export declare function getServerConfig(): Promise<DeskthingConfig>;
/**
* @deprecated - Use getServerConfig instead
*/
export declare const serverConfig: DeskthingConfig;