File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ export async function listRepoSchedules(repoId: number): Promise<{ jobs: Schedul
2727}
2828
2929export async function getScheduleCounts ( ) : Promise < Map < number , ScheduleCount > > {
30- const response = await fetchWrapper ( `${ API_BASE_URL } /api/schedules/all` )
31- const jobs = response . jobs as ScheduleJobWithRepo [ ]
30+ const response = await fetchWrapper < { jobs : ScheduleJobWithRepo [ ] } > ( `${ API_BASE_URL } /api/schedules/all` )
31+ const jobs = response . jobs
3232 const counts = new Map < number , ScheduleCount > ( )
3333
3434 jobs . forEach ( ( job ) => {
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import { RepoSkillsDialog } from "@/components/repo/RepoSkillsDialog";
4141import { createOpenCodeClient } from "@/api/opencode" ;
4242import { useSessionStatus , useSessionStatusForSession } from "@/stores/sessionStatusStore" ;
4343import { useQuestions } from "@/contexts/EventContext" ;
44+ import type { QuestionRequest } from "@/api/types" ;
4445import { QuestionPrompt } from "@/components/session/QuestionPrompt" ;
4546import { MinimizedQuestionIndicator } from "@/components/session/MinimizedQuestionIndicator" ;
4647import { PendingActionsGroup } from "@/components/notifications/PendingActionsGroup" ;
You can’t perform that action at this time.
0 commit comments