Files
crawlab/frontend/crawlab-ui/typings/interfaces/models/setting.d.ts

27 lines
529 B
Go

export declare global {
interface Setting<T = Record<string, any>> extends BaseModel {
key: string;
value: T;
}
interface SettingCustomize {
custom_title?: string;
show_custom_title?: boolean;
custom_logo?: string;
show_custom_logo?: boolean;
hide_platform_version?: boolean;
}
interface SettingDependency {
auto_install?: boolean;
}
interface SettingAi {
enable_ai?: boolean;
api_key?: string;
model?: string;
max_tokens?: number;
temperature?: number;
}
}