fix fix: ui feat: intrusive error fix: errors fix: error handling fix: validation fix: naming fix: errors cleanup feat: fatal / non-fatal ui cleanup feat: fatal errors
12 lines
517 B
TypeScript
12 lines
517 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";
|
|
import { ConfigResult } from "../load.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<ConfigResult<ContinueConfig>>;
|
|
setIsActive(isActive: boolean): void;
|
|
}
|