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

* feat: add app template market (#2012) * feat: add app template market * fix * fix * i18n * fix * perf: template market ux * perf: simple mode app ui * perf: tempalte modal ui * perf: tempalte market ui * perf: template position * feat: create app modal * regiter default app * perf: icon * change templates position (#2331) * change templates position * fix * perf: template market ux --------- Co-authored-by: heheer <heheer@sealos.io>
31 lines
1.0 KiB
TypeScript
31 lines
1.0 KiB
TypeScript
import { FastGPTFeConfigsType, SystemEnvType } from '@fastgpt/global/common/system/types';
|
|
import {
|
|
AudioSpeechModelType,
|
|
ReRankModelItemType,
|
|
WhisperModelType,
|
|
VectorModelItemType,
|
|
LLMModelItemType
|
|
} from '@fastgpt/global/core/ai/model.d';
|
|
import { SubPlanType } from '@fastgpt/global/support/wallet/sub/type';
|
|
import { WorkerNameEnum, WorkerPool } from './worker/utils';
|
|
import { Worker } from 'worker_threads';
|
|
import { TemplateMarketItemType } from '@fastgpt/global/core/workflow/type';
|
|
|
|
declare global {
|
|
var feConfigs: FastGPTFeConfigsType;
|
|
var systemEnv: SystemEnvType;
|
|
var subPlans: SubPlanType | undefined;
|
|
|
|
var llmModels: LLMModelItemType[];
|
|
var vectorModels: VectorModelItemType[];
|
|
var audioSpeechModels: AudioSpeechModelType[];
|
|
var whisperModel: WhisperModelType;
|
|
var reRankModels: ReRankModelItemType[];
|
|
|
|
var systemLoadedGlobalVariables: boolean;
|
|
var systemLoadedGlobalConfig: boolean;
|
|
|
|
var workerPoll: Record<WorkerNameEnum, WorkerPool>;
|
|
var appMarketTemplates: TemplateMarketItemType[];
|
|
}
|