* convert to nodenext in core * experimental vm modules * use imports * a few ts-ignores --------- Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
11 lines
460 B
TypeScript
11 lines
460 B
TypeScript
// ProfileHandlers manage the loading of a config, allowing us to abstract over different ways of getting to a ContinueConfig
|
|
|
|
import { ContinueConfig } from "../../index.js";
|
|
|
|
// After we have the ContinueConfig, the ConfigHandler takes care of everything else (loading models, lifecycle, etc.)
|
|
export interface IProfileLoader {
|
|
profileTitle: string;
|
|
profileId: string;
|
|
doLoadConfig(): Promise<ContinueConfig>;
|
|
setIsActive(isActive: boolean): void;
|
|
}
|