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

* feat: undo-redo & edit snapshots * fix merge * add simple history back * fix some undo * change app latest version * fix * chatconfig * fix snapshot * fix * fix * fix * fix compare * fix initial * fix merge: * fix useEffect * fix snapshot initial and saved state * chore * fix * compare snapshot * nodes edges useEffct * fix chatconfig * fix * delete unused method * fix * fix * fix * default version name
15 lines
363 B
TypeScript
15 lines
363 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;
|
|
};
|