mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00

* System template (#2082) * feat: system plugin (#2024) * add plugin cost & change plugin avatar (#2030) * add plugin cost & change plugin avatar * add author * feat: duckduckgo plugin * duckduck search * perf: templates select system plugin * perf: system plugin avatar * feat: duckduck plugins * doc * perf: plugin classify * perf: icon avatar component * perf: system template avatar --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com> * feat: system plugin search * perf: plugin packages important * perf: source avatar * nextconfig * perf: i18n * perf: default model * perf: system plugin author --------- Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
10 lines
375 B
TypeScript
10 lines
375 B
TypeScript
import { PluginTemplateType } from '@fastgpt/global/core/plugin/type.d';
|
|
import { SystemPluginTemplateItemType } from '@fastgpt/global/core/workflow/type';
|
|
|
|
export type SystemPluginResponseType = Promise<Record<string, any>>;
|
|
|
|
declare global {
|
|
var systemPlugins: SystemPluginTemplateItemType[];
|
|
var systemPluginCb: Record<string, (e: any) => SystemPluginResponseType>;
|
|
}
|