mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #24468 from overleaf/mj-client-side-references
[web] Perform ARS on client-side GitOrigin-RevId: 19703c82758cae450fe52463ad9612d3a2383ba0
This commit is contained in:
committed by
Copybot
parent
f6820ed794
commit
ed0c4c447e
@@ -10,6 +10,7 @@ import { indentUnit, LanguageDescription } from '@codemirror/language'
|
||||
import { updateHasEffect } from '../utils/effects'
|
||||
import { Folder } from '../../../../../types/folder'
|
||||
import { Command } from '@/features/ide-react/context/metadata-context'
|
||||
import { AdvancedReferenceSearchResult } from '@/features/ide-react/references/types'
|
||||
|
||||
export const languageLoadedEffect = StateEffect.define()
|
||||
export const hasLanguageLoadedEffect = updateHasEffect(languageLoadedEffect)
|
||||
@@ -25,6 +26,9 @@ export type Metadata = {
|
||||
packageNames: Set<string>
|
||||
commands: Command[]
|
||||
referenceKeys: Set<string>
|
||||
searchLocalReferences: (
|
||||
query: string
|
||||
) => Promise<AdvancedReferenceSearchResult>
|
||||
fileTreeData: Folder
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user