12 lines
451 B
TypeScript
12 lines
451 B
TypeScript
// ProfileHandlers manage the loading of a config, allowing us to abstract over different ways of getting to a ContinueConfig
|
|
|
|
import { ContinueConfig } from "../..";
|
|
|
|
// 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;
|
|
}
|