feat: add more share config (#3120)
* feat: add more share config * add i18n en
This commit is contained in:
@@ -82,7 +82,7 @@ export const filterPublicNodeResponseData = ({
|
||||
}: {
|
||||
flowResponses?: ChatHistoryItemResType[];
|
||||
}) => {
|
||||
const filedList = ['quoteList', 'moduleType', 'pluginOutput'];
|
||||
const filedList = ['quoteList', 'moduleType', 'pluginOutput', 'runningTime'];
|
||||
const filterModuleTypeList: any[] = [
|
||||
FlowNodeTypeEnum.pluginModule,
|
||||
FlowNodeTypeEnum.datasetSearchNode,
|
||||
|
||||
4
packages/global/support/outLink/api.d.ts
vendored
4
packages/global/support/outLink/api.d.ts
vendored
@@ -10,3 +10,7 @@ export type AuthOutLinkLimitProps = AuthOutLinkChatProps & { outLink: OutLinkSch
|
||||
export type AuthOutLinkResponse = {
|
||||
uid: string;
|
||||
};
|
||||
export type AuthOutLinkProps = {
|
||||
shareId?: string;
|
||||
outLinkUid?: string;
|
||||
};
|
||||
|
||||
6
packages/global/support/outLink/type.d.ts
vendored
6
packages/global/support/outLink/type.d.ts
vendored
@@ -51,6 +51,10 @@ export type OutLinkSchema<T extends OutlinkAppType = undefined> = {
|
||||
|
||||
// whether the response content is detailed
|
||||
responseDetail: boolean;
|
||||
// whether to hide the node status
|
||||
showNodeStatus: boolean;
|
||||
// whether to show the complete quote
|
||||
showCompleteQuote: boolean;
|
||||
|
||||
// response when request
|
||||
immediateResponse?: string;
|
||||
@@ -79,6 +83,8 @@ export type OutLinkEditType<T = undefined> = {
|
||||
_id?: string;
|
||||
name: string;
|
||||
responseDetail?: OutLinkSchema<T>['responseDetail'];
|
||||
showNodeStatus?: OutLinkSchema<T>['showNodeStatus'];
|
||||
showCompleteQuote?: OutLinkSchema<T>['showCompleteQuote'];
|
||||
// response when request
|
||||
immediateResponse?: string;
|
||||
// response when error or other situation
|
||||
|
||||
Reference in New Issue
Block a user