[feature](webapp) merge query steps to one card

This commit is contained in:
williamhliu
2023-08-29 22:14:14 +08:00
parent 93ca060c45
commit 36fd737440
40 changed files with 994 additions and 496 deletions

View File

@@ -46,9 +46,10 @@ export type DateInfoType = {
export type FilterItemType = {
elementID: number;
name: string;
bizName: string;
operator: string;
type: string;
value: string[];
value: string;
};
export type ModelType = {
@@ -62,6 +63,8 @@ export type ModelType = {
}
export type ChatContextType = {
id: number;
queryId: number;
aggType: string;
modelId: number;
modelName: string;
@@ -69,7 +72,7 @@ export type ChatContextType = {
dateInfo: DateInfoType;
dimensions: FieldType[];
metrics: FieldType[];
entity: { alias: string[] };
entity: { alias: string[], id: number };
elementMatches: any[];
queryMode: string;
dimensionFilters: FilterItemType[];
@@ -126,6 +129,7 @@ export enum ParseStateEnum {
export type ParseDataType = {
chatId: number;
queryId: number;
queryText: string;
state: ParseStateEnum;
selectedParses: ChatContextType[];