mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-22 01:06:29 +08:00
System plugin (#2091)
* 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>
This commit is contained in:
6
packages/plugins/type.d.ts
vendored
6
packages/plugins/type.d.ts
vendored
@@ -1,7 +1,9 @@
|
||||
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 communitySystemPlugins: SystemPluginTemplateItemType[];
|
||||
var communitySystemPluginCb: Record<string, (e: any) => SystemPluginResponseType>;
|
||||
var systemPlugins: SystemPluginTemplateItemType[];
|
||||
var systemPluginCb: Record<string, (e: any) => SystemPluginResponseType>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user