mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-25 13:06:53 +00:00
Co-authored-by: aries_ckt <916701291@qq.com> Co-authored-by: Fangyin Cheng <staneyffer@gmail.com> Co-authored-by: ‘yanzhiyonggit config --global user.email git config --global user.name ‘yanzhiyong <zhiyong.yan@clife.cn>
24 lines
496 B
TypeScript
24 lines
496 B
TypeScript
interface ExtMetadata {
|
|
tags: string;
|
|
order: number;
|
|
[key: string]: string | number | boolean;
|
|
}
|
|
|
|
type NestedField = {
|
|
[key: string]: ConfigurableParams;
|
|
};
|
|
|
|
export type ConfigurableParams = {
|
|
param_class: string;
|
|
param_name: string;
|
|
param_type: string;
|
|
default_value: string | boolean | number;
|
|
description: string;
|
|
required: boolean;
|
|
valid_values: null | string[];
|
|
ext_metadata: ExtMetadata;
|
|
is_array: boolean;
|
|
label: string;
|
|
nested_fields: NestedField | null;
|
|
};
|