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

* perf: version list type * perf: add node default value * perf: snapshot status * fix: version detail auth * fix: export defalt
24 lines
523 B
TypeScript
24 lines
523 B
TypeScript
import { StoreEdgeItemType } from '../workflow/type/edge';
|
|
import { AppChatConfigType, AppSchema } from './type';
|
|
|
|
export type AppVersionSchemaType = {
|
|
_id: string;
|
|
appId: string;
|
|
time: Date;
|
|
nodes: AppSchema['modules'];
|
|
edges: AppSchema['edges'];
|
|
chatConfig: AppSchema['chatConfig'];
|
|
isPublish?: boolean;
|
|
versionName: string;
|
|
tmbId: string;
|
|
};
|
|
|
|
export type VersionListItemType = {
|
|
_id: string;
|
|
appId: string;
|
|
versionName: string;
|
|
time: Date;
|
|
isPublish: boolean | undefined;
|
|
tmbId: string;
|
|
};
|