import type { Labrinth } from '@modrinth/api-client/src/modules/types' // TODO: api client this shit import type { TeamMember } from '@modrinth/utils' import type { Ref } from 'vue' import { createContext } from '.' export interface ProjectPageContext { projectV2: Ref projectV3: Ref refreshProject: () => Promise refreshVersions: () => Promise currentMember: Ref } export const [injectProjectPageContext, provideProjectPageContext] = createContext('root', 'projectPageContext')