refactor: use Nuxt 4 directory structure
This commit is contained in:
11
app/constants/injection-keys.ts
Normal file
11
app/constants/injection-keys.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import type { ResearchFeedbackResult } from '~/components/ResearchFeedback.vue'
|
||||
import type { ResearchInputData } from '~/components/ResearchForm.vue'
|
||||
import type { ResearchResult } from '~~/lib/deep-research'
|
||||
|
||||
export const formInjectionKey = Symbol() as InjectionKey<Ref<ResearchInputData>>
|
||||
export const feedbackInjectionKey = Symbol() as InjectionKey<
|
||||
Ref<ResearchFeedbackResult[]>
|
||||
>
|
||||
export const researchResultInjectionKey = Symbol() as InjectionKey<
|
||||
Ref<ResearchResult>
|
||||
>
|
Reference in New Issue
Block a user