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

* perf: forbid image to base64 * update file upload path * feat: support promptCall use image * fix: echarts load * update doc
16 lines
584 B
TypeScript
16 lines
584 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_BASE64';
|
|
value: string;
|
|
extension: string;
|
|
};
|
|
|
|
declare global {
|
|
var systemPlugins: SystemPluginTemplateItemType[];
|
|
var systemPluginCb: Record<string, (e: any) => SystemPluginResponseType>;
|
|
}
|