mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-18 00:07:21 +00:00
[improvement][project] supersonic 0.6.0 version update (#16)
Co-authored-by: lexluo <lexluo@tencent.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user