[improvement][project] supersonic 0.6.0 version update (#16)

Co-authored-by: lexluo <lexluo@tencent.com>
This commit is contained in:
lexluo09
2023-07-16 21:32:33 +08:00
committed by GitHub
parent a0869dc7bd
commit 041daad1e4
261 changed files with 12031 additions and 3266 deletions

View File

@@ -64,6 +64,29 @@ export declare namespace IDataSource {
}
export declare namespace ISemantic {
interface IDomainItem {
createdBy?: string;
updatedBy?: string;
createdAt?: string;
updatedAt?: string;
id: number;
name: string;
bizName: string;
description: any;
status?: number;
typeEnum?: any;
sensitiveLevel?: number;
parentId: number;
fullPath?: string;
viewers?: any[];
viewOrgs?: any[];
admins?: string[];
adminOrgs?: any[];
isOpen?: number;
dimensionCnt?: number;
metricCnt?: number;
}
interface IDimensionItem {
createdBy: string;
updatedBy: string;
@@ -143,4 +166,56 @@ export declare namespace IChatConfig {
metricList: ISemantic.IMetricList;
};
}
interface IConfig {
id: any;
domainId: number;
domainName: string;
chatAggRichConfig: IChatRichConfig;
chatDetailRichConfig: IChatRichConfig;
bizName: string;
statusEnum: string;
createdBy: string;
updatedBy: string;
createdAt: string;
updatedAt: string;
}
interface IKnowledgeInfosItem {
itemId: number;
bizName: string;
type?: string;
searchEnable?: boolean;
knowledgeAdvancedConfig?: IKnowledgeConfig;
}
type IKnowledgeInfosItemMap = Record<IKnowledgeInfosItem.bizName, IKnowledgeInfosItem>;
interface IKnowledgeConfig {
blackList: string[];
whiteList: string[];
ruleList: string[];
}
interface IChatRichConfig {
id?: number;
visibility: {
blackDimIdList: number[];
blackMetricIdList: number[];
whiteDimIdList: number[];
whiteMetricIdList: number[];
};
entity: {
names: string[];
dimItem: ISemantic.IDimensionItem;
};
knowledgeInfos: IKnowledgeInfosItem[];
globalKnowledgeConfig: IKnowledgeConfig;
chatDefaultConfig: {
dimensions: ISemantic.IDimensionList;
metrics: ISemantic.IMetricList;
unit: number;
period: string;
};
}
}