mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-14 16:42:47 +00:00
enhance: update types
This commit is contained in:
parent
da56183193
commit
6e3194301f
1 changed files with 5 additions and 3 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { ChatStore } from "@/store/chatStore";
|
||||
import { ProjectStore } from "@/store/projectStore";
|
||||
import { NavigateFunction } from "react-router-dom";
|
||||
|
||||
/**
|
||||
|
|
@ -11,7 +13,7 @@ import { NavigateFunction } from "react-router-dom";
|
|||
* @param historyId - The history ID for the replay
|
||||
*/
|
||||
export const replayProject = async (
|
||||
projectStore: any,
|
||||
projectStore: ProjectStore,
|
||||
navigate: NavigateFunction,
|
||||
projectId: string,
|
||||
question: string,
|
||||
|
|
@ -36,8 +38,8 @@ export const replayProject = async (
|
|||
* @param navigate - The navigate function from useNavigate hook
|
||||
*/
|
||||
export const replayActiveTask = async (
|
||||
chatStore: any,
|
||||
projectStore: any,
|
||||
chatStore: ChatStore,
|
||||
projectStore: ProjectStore,
|
||||
navigate: NavigateFunction
|
||||
) => {
|
||||
const taskId = chatStore.activeTaskId as string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue