mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00

* perf: system plugin auto save file * feat: http support jsonPath * fix: assistant response * reset milvus version * fix: textarea register * fix: global variable * delete tip * doc
16 lines
583 B
TypeScript
16 lines
583 B
TypeScript
import { PluginTemplateType } from '@fastgpt/global/core/plugin/type.d';
|
|
import { systemPluginResponseEnum } from '@fastgpt/global/core/workflow/runtime/constants';
|
|
import { SystemPluginTemplateItemType } from '@fastgpt/global/core/workflow/type';
|
|
|
|
export type SystemPluginResponseType = Promise<Record<string, any>>;
|
|
export type SystemPluginSpecialResponse = {
|
|
type: 'SYSTEM_PLUGIN_FILE';
|
|
path: string;
|
|
contentType: string;
|
|
};
|
|
|
|
declare global {
|
|
var systemPlugins: SystemPluginTemplateItemType[];
|
|
var systemPluginCb: Record<string, (e: any) => SystemPluginResponseType>;
|
|
}
|