mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-25 17:42:25 +01:00
27 lines
529 B
Go
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;
|
|
}
|
|
}
|