SYMBOL INDEX (1111 symbols across 216 files) FILE: .eslintrc.js constant RESTRICTED_IMPORTS (line 10) | const RESTRICTED_IMPORTS = [ FILE: examples/cm6-graphql-parcel/src/index.ts method onShowInDocs (line 22) | onShowInDocs(field, type, parentType) { method onFillAllFields (line 27) | onFillAllFields(view, schema, _query, cursor, token) { FILE: examples/cm6-graphql-parcel/src/testSchema.ts method resolveType (line 118) | resolveType() { method resolve (line 149) | resolve() { method resolve (line 155) | resolve(_value, args) { FILE: examples/graphiql-nextjs/src/app/graphiql.tsx function fetcher (line 8) | async function fetcher(graphQLParams: Record) { FILE: examples/graphiql-vite-react-router/app/routes/_index/create-fetcher.ts function createFetcher (line 3) | function createFetcher(apiUrl: string): GraphiQLProps['fetcher'] { FILE: examples/graphiql-vite-react-router/app/routes/_index/graphiql.client.tsx function onShareExplorer (line 34) | async function onShareExplorer(): Promise { FILE: examples/graphiql-vite/src/App.jsx function fetcher (line 4) | async function fetcher(graphQLParams) { function App (line 16) | function App() { FILE: examples/graphiql-webpack/src/index.jsx constant STARTING_URL (line 14) | const STARTING_URL = 'https://countries.trevorblades.com'; function App (line 58) | function App() { function GraphiQLContextBound (line 93) | function GraphiQLContextBound({ setUrl }) { FILE: examples/graphiql-webpack/src/select-server-plugin.jsx constant LAST_URL_KEY (line 4) | const LAST_URL_KEY = 'lastURL'; constant PREV_URLS_KEY (line 6) | const PREV_URLS_KEY = 'previousURLs'; function serverSelectPlugin (line 152) | function serverSelectPlugin({ url, setUrl }) { FILE: examples/monaco-graphql-nextjs/src/app/page.tsx method getWorker (line 13) | getWorker(_workerId: string, label: string) { FILE: examples/monaco-graphql-nextjs/src/constants.ts type ModelType (line 5) | type ModelType = 'operations' | 'variables' | 'response' | 'ts'; constant GRAPHQL_URL (line 7) | const GRAPHQL_URL = 'https://countries.trevorblades.com'; constant DEFAULT_EDITOR_OPTIONS (line 9) | const DEFAULT_EDITOR_OPTIONS: editor.IStandaloneEditorConstructionOptions = constant STORAGE_KEY (line 17) | const STORAGE_KEY = { constant DEFAULT_VALUE (line 55) | const DEFAULT_VALUE: Record = { constant OPERATIONS_URI (line 66) | const OPERATIONS_URI = Uri.file('operations.graphql'); constant VARIABLES_URI (line 67) | const VARIABLES_URI = Uri.file('variables.json'); constant RESPONSE_URI (line 68) | const RESPONSE_URI = Uri.file('response.json'); constant TS_URI (line 69) | const TS_URI = Uri.file('typescript.ts'); constant MONACO_GRAPHQL_API (line 77) | const MONACO_GRAPHQL_API = initializeMode({ function getOrCreateModel (line 92) | function getOrCreateModel({ uri, value }: { uri: Uri; value: string }) { FILE: examples/monaco-graphql-nextjs/src/editor.tsx function getSchema (line 29) | async function getSchema(): Promise { function debounce (line 45) | function debounce any>(duration: number, f... function Editor (line 58) | function Editor(): ReactElement { FILE: examples/monaco-graphql-react-vite/src/index.tsx method getWorker (line 20) | getWorker(_workerId: string, label: string) { FILE: examples/monaco-graphql-react-vite/vite.config.ts function watchPackages (line 30) | function watchPackages(packageNames: string[]) { FILE: examples/monaco-graphql-webpack/src/editors.ts constant GRAPHQL_LANGUAGE_ID (line 3) | const GRAPHQL_LANGUAGE_ID = 'graphql'; constant THEME (line 35) | const THEME = 'vs-dark'; function createEditors (line 37) | function createEditors() { FILE: examples/monaco-graphql-webpack/src/index.ts constant SITE_ID (line 12) | const SITE_ID = '46a6b3c8-992f-4623-9a76-f1bd5d40505c'; function render (line 18) | async function render() { function renderToolbar (line 218) | function renderToolbar(toolbar: HTMLElement) { function getSchemaPicker (line 251) | function getSchemaPicker(): HTMLSelectElement { function renderGithubLoginButton (line 271) | function renderGithubLoginButton() { FILE: examples/monaco-graphql-webpack/src/schema.ts constant SCHEMA_URL (line 11) | const SCHEMA_URL = 'https://api.github.com/graphql'; constant API_TOKEN (line 12) | const API_TOKEN = localStorage.getItem('ghapi') || null; class MySchemaFetcher (line 38) | class MySchemaFetcher { method constructor (line 44) | constructor(options = schemaOptions) { method currentSchema (line 51) | public get currentSchema() { method token (line 54) | public get token() { method getSchema (line 57) | async getSchema() { method setApiToken (line 67) | async setApiToken(token: string) { method logout (line 71) | logout() { method loadSchema (line 75) | async loadSchema() { method changeSchema (line 115) | async changeSchema(uri: string) { method getOverride (line 121) | getOverride() { method clearOverride (line 125) | clearOverride() { method overrideSchema (line 129) | async overrideSchema(sdl: string) { function isValid (line 137) | function isValid(sdl: string) { FILE: functions/graphql.ts type HandlerOptions (line 20) | type HandlerOptions = function createHandler (line 28) | function createHandler( FILE: packages/cm6-graphql/src/completions.ts constant AUTOCOMPLETE_CHARS (line 7) | const AUTOCOMPLETE_CHARS = /^[a-zA-Z0-9_@(]$/; method autocomplete (line 10) | autocomplete(ctx: CompletionContext) { FILE: packages/cm6-graphql/src/graphql.ts function graphql (line 10) | function graphql( FILE: packages/cm6-graphql/src/helpers.ts function posToOffset (line 3) | function posToOffset(doc: Text, pos: IPosition) { function offsetToPos (line 6) | function offsetToPos(doc: Text, offset: number): Position { type IPosition (line 11) | interface IPosition { class Position (line 19) | class Position implements IPosition { method constructor (line 20) | constructor( method setLine (line 25) | setLine(line: number) { method setCharacter (line 29) | setCharacter(character: number) { method lessThanOrEqualTo (line 33) | lessThanOrEqualTo(position: IPosition) { FILE: packages/cm6-graphql/src/interfaces.ts type GqlExtensionsOptions (line 10) | interface GqlExtensionsOptions { FILE: packages/cm6-graphql/src/jump.ts method click (line 7) | click(evt, view) { FILE: packages/cm6-graphql/src/language.ts function graphqlLanguageSupport (line 57) | function graphqlLanguageSupport() { FILE: packages/cm6-graphql/src/lint.ts constant SEVERITY (line 13) | const SEVERITY = ['error', 'warning', 'info'] as const; method needsRefresh (line 78) | needsRefresh(vu) { FILE: packages/cm6-graphql/src/state.ts method create (line 8) | create() {} method update (line 9) | update(schema, tr) { method create (line 23) | create() {} method update (line 24) | update(opts, tr) { FILE: packages/codemirror-graphql/setup-files.ts method setEnd (line 4) | setEnd() {} method setStart (line 5) | setStart() {} method getClientRects (line 6) | getClientRects() { method getBoundingClientRect (line 9) | getBoundingClientRect() { FILE: packages/codemirror-graphql/src/__tests__/hint.test.ts function createEditorWithHint (line 37) | function createEditorWithHint() { function getHintSuggestions (line 49) | function getHintSuggestions( function getExpectedSuggestions (line 74) | function getExpectedSuggestions(list: IHint[]) { FILE: packages/codemirror-graphql/src/__tests__/lint.test.ts function createEditorWithLint (line 19) | function createEditorWithLint(lintConfig?: any) { function printLintErrors (line 26) | function printLintErrors(queryString: string, configOverrides = {}) { method OperationDefinition (line 62) | OperationDefinition(node: OperationDefinitionNode) { FILE: packages/codemirror-graphql/src/__tests__/testSchema.ts method resolveType (line 118) | resolveType() { method resolve (line 149) | resolve() { method resolve (line 155) | resolve(_value, args) { FILE: packages/codemirror-graphql/src/hint.ts type GraphQLHintOptions (line 22) | interface GraphQLHintOptions { type IHint (line 28) | interface IHint extends Hint { type IHints (line 35) | interface IHints extends Hints { type ShowHintOptions (line 40) | interface ShowHintOptions { type CodeMirrorHintMap (line 45) | interface CodeMirrorHintMap { FILE: packages/codemirror-graphql/src/index.d.ts type Editor (line 6) | interface Editor { type ShowHintOptions (line 12) | interface ShowHintOptions { FILE: packages/codemirror-graphql/src/info.ts type GraphQLInfoOptions (line 35) | interface GraphQLInfoOptions { function renderField (line 125) | function renderField( function renderQualifiedField (line 134) | function renderQualifiedField( function renderDirective (line 143) | function renderDirective( function renderArg (line 152) | function renderArg( function renderEnumValue (line 162) | function renderEnumValue( function renderTypeAnnotation (line 173) | function renderTypeAnnotation( function renderType (line 200) | function renderType( function renderDescription (line 224) | function renderDescription( function renderDeprecation (line 249) | function renderDeprecation( function text (line 281) | function text( FILE: packages/codemirror-graphql/src/jump.ts type GraphQLJumpOptions (line 24) | interface GraphQLJumpOptions { FILE: packages/codemirror-graphql/src/lint.ts constant SEVERITY (line 14) | const SEVERITY = ['error', 'warning', 'information', 'hint']; constant TYPE (line 15) | const TYPE: Record = { type GraphQLLintOptions (line 21) | interface GraphQLLintOptions { FILE: packages/codemirror-graphql/src/results/mode.ts method Value (line 64) | Value(token: Token) { FILE: packages/codemirror-graphql/src/utils/SchemaReference.ts type SchemaReference (line 23) | type SchemaReference = type FieldReference (line 30) | type FieldReference = { type DirectiveReference (line 37) | type DirectiveReference = { type ArgumentReference (line 43) | type ArgumentReference = { type EnumValueReference (line 52) | type EnumValueReference = { type TypeReference (line 59) | type TypeReference = { function getFieldReference (line 65) | function getFieldReference(typeInfo: any): FieldReference { function getDirectiveReference (line 74) | function getDirectiveReference(typeInfo: any): DirectiveReference { function getArgumentReference (line 82) | function getArgumentReference(typeInfo: any): ArgumentReference { function getEnumValueReference (line 99) | function getEnumValueReference(typeInfo: TypeInfo): EnumValueReference { function getTypeReference (line 111) | function getTypeReference( function isMetaField (line 122) | function isMetaField(fieldDef: GraphQLField) { FILE: packages/codemirror-graphql/src/utils/__tests__/jsonParse.test.ts function expectEscapedString (line 12) | function expectEscapedString( FILE: packages/codemirror-graphql/src/utils/collectVariables.ts function collectVariables (line 20) | function collectVariables( FILE: packages/codemirror-graphql/src/utils/forEachState.ts function forEachState (line 13) | function forEachState(stack: State, fn: (state: State) => void) { FILE: packages/codemirror-graphql/src/utils/getTypeInfo.ts type TypeInfo (line 33) | interface TypeInfo { function getTypeInfo (line 50) | function getTypeInfo(schema: GraphQLSchema, tokenState: State) { function getFieldDef (line 163) | function getFieldDef( function find (line 183) | function find(array: T[], predicate: (item: T) => boolean) { FILE: packages/codemirror-graphql/src/utils/hintList.ts function hintList (line 14) | function hintList( function filterAndSortList (line 38) | function filterAndSortList(list: IHint[], text: string) { function filterNonEmpty (line 65) | function filterNonEmpty(array: T[], predicate: (item: T) => boolean) { function normalizeText (line 70) | function normalizeText(text: string) { function getProximity (line 75) | function getProximity(suggestion: string, text: string) { function lexicalDistance (line 101) | function lexicalDistance(a: string, b: string) { FILE: packages/codemirror-graphql/src/utils/info-addon.ts function createState (line 36) | function createState(options: GraphQLInfoOptions) { function getHoverTime (line 47) | function getHoverTime(cm: CodeMirror.Editor) { function onMouseOver (line 52) | function onMouseOver(cm: CodeMirror.Editor, e: MouseEvent) { function onMouseHover (line 92) | function onMouseHover(cm: CodeMirror.Editor, box: DOMRect) { function showPopup (line 115) | function showPopup(cm: CodeMirror.Editor, box: DOMRect, info: HTMLDivEle... FILE: packages/codemirror-graphql/src/utils/jsonParse.ts function jsonParse (line 22) | function jsonParse(str: string) { type BaseParseOutput (line 41) | interface BaseParseOutput { type ParseTokenOutput (line 46) | interface ParseTokenOutput extends BaseParseOutput { type ParseObjectOutput (line 49) | interface ParseObjectOutput extends BaseParseOutput { type ParseArrayOutput (line 53) | interface ParseArrayOutput extends BaseParseOutput { type ParseMemberOutput (line 57) | interface ParseMemberOutput extends BaseParseOutput { type ParseValueOutput (line 61) | type ParseValueOutput = function parseObj (line 67) | function parseObj(): ParseObjectOutput { function parseMember (line 85) | function parseMember(): ParseMemberOutput { function parseArr (line 100) | function parseArr(): ParseArrayOutput { function parseVal (line 118) | function parseVal(): ParseValueOutput | undefined { function curToken (line 135) | function curToken(): ParseTokenOutput { function expect (line 139) | function expect(str: string) { type SyntaxErrorPosition (line 158) | type SyntaxErrorPosition = { start: number; end: number }; class JSONSyntaxError (line 160) | class JSONSyntaxError extends Error { method constructor (line 162) | constructor(message: string, position: SyntaxErrorPosition) { function syntaxError (line 168) | function syntaxError(message: string) { function skip (line 172) | function skip(k: string) { function ch (line 179) | function ch() { function lex (line 187) | function lex() { function readString (line 256) | function readString() { function readHex (line 298) | function readHex() { function readNumber (line 309) | function readNumber() { function readDigits (line 339) | function readDigits() { FILE: packages/codemirror-graphql/src/utils/jump-addon.ts function onMouseOver (line 45) | function onMouseOver(cm: CodeMirror.Editor, event: MouseEvent) { function onMouseOut (line 67) | function onMouseOut(cm: CodeMirror.Editor) { function onKeyDown (line 78) | function onKeyDown(cm: CodeMirror.Editor, event: KeyboardEvent) { function isJumpModifier (line 126) | function isJumpModifier(key: string) { function enableJumpMode (line 130) | function enableJumpMode(cm: CodeMirror.Editor) { function disableJumpMode (line 154) | function disableJumpMode(cm: CodeMirror.Editor) { FILE: packages/codemirror-graphql/src/utils/mode-indent.ts function indent (line 14) | function indent( FILE: packages/codemirror-graphql/src/utils/runParser.ts function runParser (line 17) | function runParser( FILE: packages/codemirror-graphql/src/variables/__tests__/hint.test.ts function createEditorWithHint (line 19) | function createEditorWithHint(query: string) { function getHintSuggestions (line 30) | function getHintSuggestions( function expectSuggestions (line 51) | function expectSuggestions(source: string[], suggestions?: IHint[]) { FILE: packages/codemirror-graphql/src/variables/__tests__/lint.test.ts function createEditorWithLint (line 19) | function createEditorWithLint(lintConfig?: any) { function printLintErrors (line 26) | function printLintErrors(query: Maybe, variables: string) { FILE: packages/codemirror-graphql/src/variables/hint.ts type VariableToType (line 27) | type VariableToType = Record; type GraphQLVariableHintOptions (line 28) | interface GraphQLVariableHintOptions { type ShowHintOptions (line 33) | interface ShowHintOptions { type CodeMirrorHintMap (line 37) | interface CodeMirrorHintMap { function getVariablesHint (line 83) | function getVariablesHint( type VariableTypeInfo (line 175) | interface VariableTypeInfo { function getTypeInfo (line 182) | function getTypeInfo( FILE: packages/codemirror-graphql/src/variables/lint.ts type GraphQLVariableLintOptions (line 28) | interface GraphQLVariableLintOptions { function validateVariables (line 81) | function validateVariables( function validateValue (line 112) | function validateValue( function lintError (line 221) | function lintError( function isNullish (line 235) | function isNullish(value: any): boolean { function mapCat (line 240) | function mapCat(array: T[], mapper: (item: T) => R[]): R[] { FILE: packages/codemirror-graphql/src/variables/mode.ts method Value (line 72) | Value(token: Token) { function namedKey (line 107) | function namedKey(style: string) { FILE: packages/graphiql-plugin-code-exporter/src/graphiql-code-exporter.d.ts type OperationData (line 10) | type OperationData = { type GenerateOptions (line 21) | type GenerateOptions = { type Snippet (line 29) | type Snippet = { type GraphiQLCodeExporterProps (line 41) | type GraphiQLCodeExporterProps = { FILE: packages/graphiql-plugin-code-exporter/src/index.tsx type GraphiQLCodeExporterPluginProps (line 8) | type GraphiQLCodeExporterPluginProps = Omit = { FILE: packages/graphiql-plugin-doc-explorer/src/components/type-documentation.tsx type TypeDocumentationProps (line 22) | type TypeDocumentationProps = { FILE: packages/graphiql-plugin-doc-explorer/src/components/type-link.tsx type TypeLinkProps (line 7) | type TypeLinkProps = { FILE: packages/graphiql-plugin-doc-explorer/src/components/utils.tsx function renderType (line 11) | function renderType( FILE: packages/graphiql-plugin-doc-explorer/src/context.tsx constant DOC_EXPLORER_PLUGIN (line 32) | const DOC_EXPLORER_PLUGIN: GraphiQLPlugin = { type DocExplorerFieldDef (line 45) | type DocExplorerFieldDef = type DocExplorerNavStackItem (line 50) | type DocExplorerNavStackItem = { type DocExplorerNavStack (line 63) | type DocExplorerNavStack = [ type DocExplorerStoreType (line 68) | type DocExplorerStoreType = { constant INITIAL_NAV_STACK (line 99) | const INITIAL_NAV_STACK: DocExplorerNavStack = [{ name: 'Docs' }]; method push (line 105) | push(item) { method pop (line 116) | pop() { method reset (line 126) | reset() { method resolveSchemaReferenceToNavItem (line 133) | resolveSchemaReferenceToNavItem(schemaReference) { method rebuildNavStackWithSchema (line 186) | rebuildNavStackWithSchema(schema: GraphQLSchema) { function handleKeyDown (line 297) | function handleKeyDown(event: KeyboardEvent) { FILE: packages/graphiql-plugin-doc-explorer/src/deprecated.ts function useExplorerContext (line 6) | function useExplorerContext() { FILE: packages/graphiql-plugin-doc-explorer/src/schema-reference.ts function getSchemaReference (line 19) | function getSchemaReference(kind: string, typeInfo: any) { function getArgumentReference (line 40) | function getArgumentReference(typeInfo: any): ArgumentReference { function getDirectiveReference (line 57) | function getDirectiveReference(typeInfo: any): DirectiveReference { function getFieldReference (line 65) | function getFieldReference(typeInfo: any): FieldReference { function getTypeReference (line 76) | function getTypeReference( function getEnumValueReference (line 87) | function getEnumValueReference(typeInfo: TypeInfo): EnumValueReference { function isMetaField (line 97) | function isMetaField(fieldDef: GraphQLField) { type ArgumentReference (line 101) | type ArgumentReference = { type DirectiveReference (line 110) | type DirectiveReference = { type EnumValueReference (line 116) | type EnumValueReference = { type FieldReference (line 123) | type FieldReference = { type TypeReference (line 130) | type TypeReference = { type TypeInfo (line 136) | interface TypeInfo { FILE: packages/graphiql-plugin-explorer/src/graphiql-explorer.d.ts type GraphiQLExplorerProps (line 14) | type GraphiQLExplorerProps = { FILE: packages/graphiql-plugin-explorer/src/index.tsx type GraphiQLExplorerPluginProps (line 58) | type GraphiQLExplorerPluginProps = Omit< function explorerPlugin (line 102) | function explorerPlugin( FILE: packages/graphiql-plugin-history/src/__tests__/components.spec.tsx method useGraphiQL (line 15) | useGraphiQL() { type QueryHistoryItemProps (line 43) | type QueryHistoryItemProps = ComponentProps; function getMockProps (line 66) | function getMockProps( FILE: packages/graphiql-plugin-history/src/components.tsx function handleDelete (line 20) | function handleDelete( type QueryHistoryItemProps (line 109) | type QueryHistoryItemProps = { function formatQuery (line 250) | function formatQuery(query?: string) { FILE: packages/graphiql-plugin-history/src/context.ts method addToHistory (line 12) | addToHistory(operation) { method editLabel (line 17) | editLabel(operation, index) { method toggleFavorite (line 22) | toggleFavorite(operation) { method deleteFromHistory (line 28) | deleteFromHistory(item, clearFavorites) { type HistoryStoreType (line 36) | type HistoryStoreType = { type HistoryStoreProps (line 101) | type HistoryStoreProps = { constant EMPTY_ARRAY (line 149) | const EMPTY_ARRAY: QueryStoreItem[] = []; FILE: packages/graphiql-plugin-history/src/deprecated.ts function useHistoryContext (line 6) | function useHistoryContext() { FILE: packages/graphiql-plugin-history/src/index.ts constant HISTORY_PLUGIN (line 6) | const HISTORY_PLUGIN: GraphiQLPlugin = { FILE: packages/graphiql-react/src/components/button/index.tsx type UnStyledButtonProps (line 5) | type UnStyledButtonProps = ComponentPropsWithoutRef<'button'>; type ButtonProps (line 19) | interface ButtonProps extends UnStyledButtonProps { FILE: packages/graphiql-react/src/components/image-preview.tsx type ImagePreviewProps (line 3) | interface ImagePreviewProps { type Dimensions (line 7) | interface Dimensions { method shouldRender (line 61) | shouldRender(path: string) { function pathToURL (line 67) | function pathToURL(path: string) { FILE: packages/graphiql-react/src/components/markdown-content/index.tsx type MarkdownContentProps (line 5) | interface MarkdownContentProps FILE: packages/graphiql-react/src/components/operation-editor.tsx type OperationEditorProps (line 31) | interface OperationEditorProps extends EditorProps { function getAndUpdateOperationFacts (line 163) | function getAndUpdateOperationFacts(editorInstance: MonacoEditor) { method provideDefinition (line 294) | provideDefinition(model, position, _token) { method provideReferences (line 330) | provideReferences(model, { lineNumber, column }, _context, _token) { FILE: packages/graphiql-react/src/components/provider.tsx type GraphiQLProviderProps (line 46) | interface GraphiQLProviderProps type GraphiQLStore (line 56) | type GraphiQLStore = UseBoundStore>; function getInitialVisiblePlugin (line 178) | function getInitialVisiblePlugin() { function getInitialTheme (line 192) | function getInitialTheme() { function getInitialState (line 208) | function getInitialState() { function runIntrospection (line 356) | function runIntrospection(event: KeyboardEvent) { function useGraphiQL (line 376) | function useGraphiQL(selector: (state: SlicesWithActions) => T): T { function getExternalFragments (line 393) | function getExternalFragments( FILE: packages/graphiql-react/src/components/request-headers-editor.tsx type RequestHeadersEditorProps (line 16) | interface RequestHeadersEditorProps extends EditorProps { FILE: packages/graphiql-react/src/components/response-editor.tsx type ResponseTooltipType (line 20) | type ResponseTooltipType = ComponentType<{ type ResponseEditorProps (line 31) | interface ResponseEditorProps extends EditorProps { FILE: packages/graphiql-react/src/components/tabs/index.tsx type TabProps (line 8) | interface TabProps extends ComponentPropsWithoutRef { type TabsProps (line 69) | interface TabsProps { FILE: packages/graphiql-react/src/components/toolbar-button/index.tsx type ToolbarButtonProps (line 12) | interface ToolbarButtonProps extends ComponentPropsWithoutRef<'button'> { FILE: packages/graphiql-react/src/components/toolbar-menu/index.tsx type ToolbarMenuProps (line 5) | interface ToolbarMenuProps extends DropdownMenuProps { FILE: packages/graphiql-react/src/components/variables-editor.tsx type VariablesEditorProps (line 16) | interface VariablesEditorProps extends EditorProps { FILE: packages/graphiql-react/src/constants.ts function formatShortcutForOS (line 10) | function formatShortcutForOS(key: string, replaced = '⌘') { constant KEY_MAP (line 14) | const KEY_MAP = Object.freeze({ constant STORAGE_KEY (line 45) | const STORAGE_KEY = { constant DEFAULT_QUERY (line 55) | const DEFAULT_QUERY = `# Welcome to GraphiQL constant KEY_BINDINGS (line 88) | const KEY_BINDINGS = { constant URI_NAME (line 115) | const URI_NAME = { constant JSON_DIAGNOSTIC_OPTIONS (line 125) | const JSON_DIAGNOSTIC_OPTIONS: monaco.languages.json.DiagnosticsOptions = constant MONACO_GRAPHQL_DIAGNOSTIC_SETTINGS (line 133) | const MONACO_GRAPHQL_DIAGNOSTIC_SETTINGS: DiagnosticSettings = { constant MONACO_THEME_NAME (line 168) | const MONACO_THEME_NAME = { constant MONACO_THEME_DATA (line 228) | const MONACO_THEME_DATA: Record< FILE: packages/graphiql-react/src/deprecated.ts function usePrettifyEditors (line 10) | function usePrettifyEditors() { function useCopyQuery (line 18) | function useCopyQuery() { function useMergeQuery (line 26) | function useMergeQuery() { function useEditorContext (line 34) | function useEditorContext() { function useExecutionContext (line 87) | function useExecutionContext() { function usePluginContext (line 104) | function usePluginContext() { function useSchemaContext (line 116) | function useSchemaContext() { function useTheme (line 143) | function useTheme() { FILE: packages/graphiql-react/src/env.d.ts type WorkerCtor (line 25) | type WorkerCtor = typeof import('*?worker').default; FILE: packages/graphiql-react/src/icons/index.tsx function generateIcon (line 67) | function generateIcon( FILE: packages/graphiql-react/src/setup-workers/esm.sh.ts method getWorker (line 7) | getWorker(_workerId: string, label: string) { FILE: packages/graphiql-react/src/setup-workers/vite.ts method getWorker (line 16) | getWorker(_workerId: string, label: string) { FILE: packages/graphiql-react/src/setup-workers/webpack.ts method getWorker (line 5) | getWorker(_workerId: string, label: string) { FILE: packages/graphiql-react/src/stores/editor.ts type EditorSlice (line 23) | interface EditorSlice extends TabsState { type EditorActions (line 151) | interface EditorActions { type EditorProps (line 232) | interface EditorProps type CreateEditorSlice (line 279) | type CreateEditorSlice = ( function setEditorValues (line 305) | function setEditorValues({ function synchronizeActiveTabValues (line 329) | function synchronizeActiveTabValues(tabsState: TabsState): TabsState { method addTab (line 347) | addTab() { method changeTab (line 364) | changeTab(index) { method moveTab (line 377) | moveTab(newOrder) { method closeTab (line 390) | closeTab(index) { method updateActiveTabValues (line 405) | updateActiveTabValues(partialTab) { method setEditor (line 416) | setEditor({ headerEditor, queryEditor, responseEditor, variableEditor }) { method setOperationName (line 426) | setOperationName(operationName) { method setShouldPersistHeaders (line 433) | setShouldPersistHeaders(persist) { method storeTabs (line 449) | storeTabs({ tabs, activeTabIndex }) { method setOperationFacts (line 456) | setOperationFacts({ documentAST, operationName, operations }) { method copyQuery (line 463) | async copyQuery() { method prettifyEditors (line 478) | async prettifyEditors() { method mergeQuery (line 528) | mergeQuery() { FILE: packages/graphiql-react/src/stores/execution.ts type ExecutionSlice (line 20) | interface ExecutionSlice { type ExecutionActions (line 72) | interface ExecutionActions { type ExecutionProps (line 84) | interface ExecutionProps type CreateExecutionSlice (line 92) | type CreateExecutionSlice = ( function getAutoCompleteLeafs (line 108) | function getAutoCompleteLeafs() { method stop (line 181) | stop() { method run (line 187) | async run() { type IncrementalResult (line 335) | interface IncrementalResult { function mergeIncrementalResult (line 364) | function mergeIncrementalResult( FILE: packages/graphiql-react/src/stores/monaco.ts type MonacoStoreType (line 11) | interface MonacoStoreType { function patchFirefox (line 33) | async function patchFirefox() { method initialize (line 68) | async initialize() { FILE: packages/graphiql-react/src/stores/plugin.ts type GraphiQLPlugin (line 6) | interface GraphiQLPlugin { type PluginSlice (line 25) | interface PluginSlice { type PluginActions (line 52) | interface PluginActions { type PluginProps (line 65) | interface PluginProps type CreatePluginSlice (line 83) | type CreatePluginSlice = ( method setVisiblePlugin (line 99) | setVisiblePlugin(plugin = null) { method setPlugins (line 119) | setPlugins(plugins) { FILE: packages/graphiql-react/src/stores/schema.ts type MaybeGraphQLSchema (line 20) | type MaybeGraphQLSchema = GraphQLSchema | null | undefined; type CreateSchemaSlice (line 22) | type CreateSchemaSlice = ( method setSchemaReference (line 53) | setSchemaReference(schemaReference) { method introspect (line 56) | async introspect() { type SchemaSlice (line 168) | interface SchemaSlice type SchemaActions (line 215) | interface SchemaActions { type SchemaProps (line 232) | interface SchemaProps { FILE: packages/graphiql-react/src/stores/storage.ts type StorageSlice (line 5) | interface StorageSlice { type StorageProps (line 9) | interface StorageProps { type CreateStorageSlice (line 19) | type CreateStorageSlice = ( FILE: packages/graphiql-react/src/stores/theme.ts type MonacoTheme (line 7) | type MonacoTheme = type ThemeSlice (line 12) | interface ThemeSlice { type ThemeActions (line 18) | interface ThemeActions { type ThemeProps (line 25) | interface ThemeProps { type CreateThemeSlice (line 41) | type CreateThemeSlice = ( method setTheme (line 57) | setTheme(theme) { function getSystemTheme (line 77) | function getSystemTheme() { FILE: packages/graphiql-react/src/types.test-d.ts type OverlapError (line 18) | interface OverlapError { type MergeWithoutOverlap (line 23) | type MergeWithoutOverlap = keyof A & keyof B extends never type MergeMany (line 27) | type MergeMany = T extends [ type Actual (line 39) | type Actual = MergeMany< type Actual (line 54) | type Actual = MergeMany< FILE: packages/graphiql-react/src/types.ts type EditorProps (line 20) | type EditorProps = ComponentPropsWithoutRef<'div'>; type SchemaReference (line 22) | interface SchemaReference { type MonacoEditor (line 27) | type MonacoEditor = monaco.editor.IStandaloneCodeEditor; type AllSlices (line 29) | type AllSlices = EditorSlice & type AllActions (line 36) | type AllActions = EditorActions & type SlicesWithActions (line 42) | interface SlicesWithActions extends AllSlices { type Theme (line 50) | type Theme = 'light' | 'dark' | null; FILE: packages/graphiql-react/src/utility/cleanup-disposables.ts function cleanupDisposables (line 3) | function cleanupDisposables(disposables: monaco.IDisposable[]) { FILE: packages/graphiql-react/src/utility/create-editor.ts function getOrCreateModel (line 18) | function getOrCreateModel({ function createEditor (line 35) | function createEditor( FILE: packages/graphiql-react/src/utility/debounce.ts function debounce (line 7) | function debounce any>( FILE: packages/graphiql-react/src/utility/hooks.ts function useChangeHandler (line 6) | function useChangeHandler( function onChange (line 64) | function onChange() { function handleChange (line 76) | function handleChange(newValue: string) { function useOptimisticState (line 129) | function useOptimisticState([ FILE: packages/graphiql-react/src/utility/jsonc.ts function formatJSONC (line 7) | async function formatJSONC(content: string): Promise { function parseJSONC (line 38) | function parseJSONC(content: string) { function tryParseJSONC (line 58) | function tryParseJSONC(json = '') { FILE: packages/graphiql-react/src/utility/pick.ts function pick (line 4) | function pick(...keys: K[]) { FILE: packages/graphiql-react/src/utility/resize.ts type ResizableElement (line 5) | type ResizableElement = 'first' | 'second'; type UseDragResizeArgs (line 7) | interface UseDragResizeArgs { function useDragResize (line 49) | function useDragResize({ constant HIDE_FIRST (line 266) | const HIDE_FIRST = 'hide-first'; constant HIDE_SECOND (line 267) | const HIDE_SECOND = 'hide-second'; FILE: packages/graphiql-react/src/utility/tabs.ts type TabDefinition (line 6) | interface TabDefinition { type TabState (line 24) | interface TabState extends TabDefinition { type TabsState (line 57) | type TabsState = { function getDefaultTabState (line 69) | function getDefaultTabState({ function isTabsState (line 151) | function isTabsState(obj: any): obj is TabsState { function isTabState (line 163) | function isTabState(obj: any): obj is TabState { function hasNumberKey (line 179) | function hasNumberKey(obj: Record, key: string) { function hasStringKey (line 183) | function hasStringKey(obj: Record, key: string) { function hasStringOrNullKey (line 187) | function hasStringOrNullKey(obj: Record, key: string) { function serializeTabState (line 191) | function serializeTabState( function createTab (line 204) | function createTab({ function setPropertiesInActiveTab (line 222) | function setPropertiesInActiveTab( function guid (line 247) | function guid(): string { function hashFromTabContents (line 257) | function hashFromTabContents(args: { function fuzzyExtractOperationName (line 265) | function fuzzyExtractOperationName(str: string): string | null { function clearHeadersFromTabs (line 273) | function clearHeadersFromTabs(storage: AllSlices['storage']) { constant DEFAULT_TITLE (line 286) | const DEFAULT_TITLE = ''; FILE: packages/graphiql-react/src/utility/whitespace.ts function normalizeWhitespace (line 11) | function normalizeWhitespace(line: string) { FILE: packages/graphiql-toolkit/src/async-helpers/index.ts function isPromise (line 8) | function isPromise(value: Promise | any): value is Promise { function observableToPromise (line 17) | function observableToPromise(observable: Observable): Promise { function isObservable (line 33) | function isObservable(value: any): value is Observable { function isAsyncIterable (line 42) | function isAsyncIterable( function asyncIterableToPromise (line 55) | async function asyncIterableToPromise( function fetcherReturnToPromise (line 75) | async function fetcherReturnToPromise( FILE: packages/graphiql-toolkit/src/create-fetcher/createFetcher.ts function createGraphiQLFetcher (line 15) | function createGraphiQLFetcher(options: CreateFetcherOptions): Fetcher { FILE: packages/graphiql-toolkit/src/create-fetcher/lib.ts method OperationDefinition (line 40) | OperationDefinition(node) { function createWebsocketsFetcherFromUrl (line 72) | async function createWebsocketsFetcherFromUrl( method error (line 106) | error(err) { function getWsFetcher (line 182) | async function getWsFetcher( FILE: packages/graphiql-toolkit/src/create-fetcher/types.ts type Observable (line 4) | type Observable = { type Unsubscribable (line 23) | type Unsubscribable = { type FetcherParams (line 27) | type FetcherParams = { type FetcherOpts (line 33) | type FetcherOpts = { type ExecutionResultPayload (line 38) | type ExecutionResultPayload = type FetcherResultPayload (line 55) | type FetcherResultPayload = ExecutionResultPayload; type MaybePromise (line 57) | type MaybePromise = T | Promise; type FetcherResult (line 59) | type FetcherResult = ExecutionResult | { data: IntrospectionQuery }; type SyncExecutionResult (line 61) | type SyncExecutionResult = type SyncFetcherResult (line 66) | type SyncFetcherResult = SyncExecutionResult; type FetcherReturnType (line 68) | type FetcherReturnType = MaybePromise; type Fetcher (line 70) | type Fetcher = ( type CreateFetcherOptions (line 78) | interface CreateFetcherOptions { FILE: packages/graphiql-toolkit/src/format/index.ts function stringify (line 1) | function stringify(obj: unknown): string { function formatSingleError (line 5) | function formatSingleError(error: Error): Error { function handleSingleError (line 14) | function handleSingleError(error: unknown) { function formatError (line 21) | function formatError(error: unknown): string { function formatResult (line 30) | function formatResult(result: any): string { FILE: packages/graphiql-toolkit/src/graphql-helpers/__tests__/merge-ast.spec.ts function parseMergeAndPrint (line 207) | function parseMergeAndPrint(query: string, maybeSchema?: GraphQLSchema) { function stripWhitespace (line 211) | function stripWhitespace(str: string) { function removeParametersCommas (line 215) | function removeParametersCommas(str: string) { FILE: packages/graphiql-toolkit/src/graphql-helpers/auto-complete.ts type Insertion (line 16) | type Insertion = { type GetDefaultFieldNamesFn (line 21) | type GetDefaultFieldNamesFn = (type: GraphQLType) => string[]; function fillLeafs (line 33) | function fillLeafs( function defaultGetDefaultFieldNames (line 86) | function defaultGetDefaultFieldNames(type: GraphQLType) { function buildSelectionSet (line 122) | function buildSelectionSet( function withInsertions (line 168) | function withInsertions(initial: string, insertions: Insertion[]) { function getIndentation (line 184) | function getIndentation(str: string, index: number) { function isFieldType (line 202) | function isFieldType( FILE: packages/graphiql-toolkit/src/graphql-helpers/merge-ast.ts function uniqueBy (line 16) | function uniqueBy( function inlineRelevantFragmentSpreads (line 48) | function inlineRelevantFragmentSpreads( function mergeAst (line 109) | function mergeAst( FILE: packages/graphiql-toolkit/src/graphql-helpers/operation-name.ts function getSelectedOperationName (line 7) | function getSelectedOperationName( FILE: packages/graphiql-toolkit/src/storage/__tests__/base.spec.ts method setItem (line 75) | setItem() { method setItem (line 89) | setItem() { FILE: packages/graphiql-toolkit/src/storage/__tests__/query.spec.ts class StorageMock (line 4) | class StorageMock { method constructor (line 12) | constructor(shouldThrow: () => boolean) { method set (line 16) | set(key: string, value: string) { method get (line 34) | get(key: string) { FILE: packages/graphiql-toolkit/src/storage/base.ts type Storage (line 6) | type Storage = { function isQuotaError (line 37) | function isQuotaError(storage: Storage, e: unknown) { class StorageAPI (line 54) | class StorageAPI { method constructor (line 57) | constructor(storage?: Storage | null) { method get (line 93) | get(name: string): string | null { method set (line 109) | set( method clear (line 134) | clear() { constant STORAGE_NAMESPACE (line 141) | const STORAGE_NAMESPACE = 'graphiql'; FILE: packages/graphiql-toolkit/src/storage/custom.ts type CreateLocalStorageOptions (line 7) | type CreateLocalStorageOptions = { function createLocalStorage (line 16) | function createLocalStorage({ FILE: packages/graphiql-toolkit/src/storage/history.ts constant MAX_QUERY_SIZE (line 6) | const MAX_QUERY_SIZE = 100000; class HistoryStore (line 8) | class HistoryStore { method constructor (line 13) | constructor( method shouldSaveQuery (line 28) | private shouldSaveQuery( method toggleFavorite (line 98) | toggleFavorite({ method editLabel (line 125) | editLabel( method deleteFromStore (line 155) | function deleteFromStore(store: QueryStore) { FILE: packages/graphiql-toolkit/src/storage/query.ts type QueryStoreItem (line 3) | type QueryStoreItem = { class QueryStore (line 12) | class QueryStore { method constructor (line 15) | constructor( method length (line 23) | get length() { method contains (line 27) | contains(item: QueryStoreItem) { method edit (line 37) | edit(item: QueryStoreItem, index?: number) { method delete (line 65) | delete(item: QueryStoreItem) { method fetchRecent (line 79) | fetchRecent() { method fetchAll (line 83) | fetchAll() { method push (line 91) | push(item: QueryStoreItem) { method save (line 114) | save() { FILE: packages/graphiql/__mocks__/monaco-editor.ts method observe (line 30) | observe() {} method disconnect (line 31) | disconnect() {} FILE: packages/graphiql/__mocks__/zustand.ts function createStoreUncurried (line 43) | function createStoreUncurried(stateCreator: StateCreator) { FILE: packages/graphiql/cypress.config.ts constant PORT (line 3) | const PORT = process.env.CI === 'true' ? 8080 : 5173; FILE: packages/graphiql/cypress/e2e/headers.cy.ts constant DEFAULT_HEADERS (line 1) | const DEFAULT_HEADERS = '{"foo":2}'; FILE: packages/graphiql/cypress/env.d.ts type Window (line 4) | interface Window { FILE: packages/graphiql/cypress/support/commands.ts type Op (line 11) | interface Op { type MockResult (line 20) | type MockResult = type Chainable (line 26) | interface Chainable { function normalizeMonacoWhitespace (line 141) | function normalizeMonacoWhitespace(str: string): string { FILE: packages/graphiql/src/GraphiQL.spec.tsx function firstFetcher (line 68) | function firstFetcher() { function secondFetcher (line 75) | function secondFetcher() { function firstFetcher (line 108) | function firstFetcher() { function secondFetcher (line 112) | function secondFetcher() { class MyClassComponent (line 583) | class MyClassComponent extends Component { method render (line 584) | render() { FILE: packages/graphiql/src/GraphiQL.tsx type GraphiQLProps (line 49) | interface GraphiQLProps type AddSuffix (line 135) | type AddSuffix, Suffix extends string> = { type QueryEditorProps (line 139) | type QueryEditorProps = ComponentPropsWithoutRef; type VariableEditorProps (line 140) | type VariableEditorProps = ComponentPropsWithoutRef; type HeaderEditorProps (line 141) | type HeaderEditorProps = ComponentPropsWithoutRef; type ResponseEditorProps (line 142) | type ResponseEditorProps = ComponentPropsWithoutRef; type GraphiQLInterfaceProps (line 144) | interface GraphiQLInterfaceProps constant TAB_CLASS_PREFIX (line 185) | const TAB_CLASS_PREFIX = 'graphiql-session-tab-'; type ButtonHandler (line 187) | type ButtonHandler = MouseEventHandler; constant LABEL (line 189) | const LABEL = { method onHiddenElementChange (line 233) | onHiddenElementChange(resizableElement) { function onClickReference (line 306) | function onClickReference() { function getChildComponentType (line 534) | function getChildComponentType(child: ReactNode) { FILE: packages/graphiql/src/e2e.ts type Params (line 21) | interface Params { function onEditQuery (line 42) | function onEditQuery(newQuery: string): void { function onEditVariables (line 47) | function onEditVariables(newVariables: string): void { function onEditHeaders (line 52) | function onEditHeaders(newHeaders: string): void { function onTabChange (line 57) | function onTabChange(tabsState: TabsState): void { function confirmCloseTab (line 65) | function confirmCloseTab(index: number): boolean { function onPrettifyQuery (line 70) | function onPrettifyQuery(query: string): string { function updateURL (line 74) | function updateURL(): void { function getSchemaUrl (line 85) | function getSchemaUrl(): string { function App (line 130) | function App() { FILE: packages/graphiql/src/ui/short-keys.tsx constant SHORT_KEYS (line 4) | const SHORT_KEYS = Object.entries({ FILE: packages/graphiql/src/ui/sidebar.tsx type ButtonHandler (line 22) | type ButtonHandler = MouseEventHandler; constant LABEL (line 24) | const LABEL = { constant THEMES (line 30) | const THEMES = ['light', 'dark', 'system'] as const; type SidebarProps (line 32) | interface SidebarProps { function openSettings (line 92) | function openSettings(event: KeyboardEvent) { function handleOpenShortKeysDialog (line 105) | function handleOpenShortKeysDialog(isOpen: boolean) { function handleOpenSettingsDialog (line 111) | function handleOpenSettingsDialog(isOpen: boolean) { function handleClearData (line 118) | function handleClearData() { FILE: packages/graphiql/test/e2e-server.js function handler (line 30) | async function handler(req, res) { FILE: packages/graphiql/test/execute.js function createExecute (line 1) | function createExecute({ FILE: packages/graphiql/test/schema.js function createSchema (line 12) | function createSchema({ FILE: packages/graphql-language-service-cli/src/client.ts constant GRAPHQL_SUCCESS_CODE (line 25) | const GRAPHQL_SUCCESS_CODE = 0; constant GRAPHQL_FAILURE_CODE (line 26) | const GRAPHQL_FAILURE_CODE = 1; type EXIT_CODE (line 28) | type EXIT_CODE = 0 | 1; function main (line 41) | function main( type AutocompleteResultsMap (line 76) | interface AutocompleteResultsMap { function formatUnknownError (line 80) | function formatUnknownError(error: unknown) { function _getAutocompleteSuggestions (line 88) | function _getAutocompleteSuggestions( type DiagnosticResultsMap (line 118) | interface DiagnosticResultsMap { function _getDiagnostics (line 122) | function _getDiagnostics( function _getOutline (line 147) | function _getOutline(queryText: string): EXIT_CODE { function ensureText (line 162) | function ensureText(queryText: string, filePath: string): string { function generateSchema (line 176) | function generateSchema(schemaPath: string): GraphQLSchema { FILE: packages/graphql-language-service-server/src/GraphQLCache.ts constant MAX_READS (line 77) | const MAX_READS = 200; type OnSchemaChange (line 79) | type OnSchemaChange = (project: GraphQLProjectConfig) => void; function getGraphQLCache (line 81) | async function getGraphQLCache({ class GraphQLCache (line 118) | class GraphQLCache { method constructor (line 131) | constructor({ method FragmentDefinition (line 216) | FragmentDefinition(node) { method FragmentSpread (line 219) | FragmentSpread(node) { method FragmentSpread (line 237) | FragmentSpread(node) { method ObjectTypeDefinition (line 293) | ObjectTypeDefinition(node) { method InputObjectTypeDefinition (line 296) | InputObjectTypeDefinition(node) { method EnumTypeDefinition (line 299) | EnumTypeDefinition(node) { method NamedType (line 302) | NamedType(node) { method UnionTypeDefinition (line 307) | UnionTypeDefinition(node) { method ScalarTypeDefinition (line 310) | ScalarTypeDefinition(node) { method InterfaceTypeDefinition (line 313) | InterfaceTypeDefinition(node) { method NamedType (line 329) | NamedType(node) { method updateFragmentDefinition (line 446) | async updateFragmentDefinition( method _setFragmentCache (line 479) | _setFragmentCache( method updateObjectTypeDefinition (line 501) | async updateObjectTypeDefinition( method _setDefinitionCache (line 530) | _setDefinitionCache( method _extendSchema (line 552) | _extendSchema( method invalidateSchemaCacheForProject (line 670) | invalidateSchemaCacheForProject(projectConfig: GraphQLProjectConfig) { method _getSchemaCacheKeyForProject (line 679) | _getSchemaCacheKeyForProject( method _getProjectName (line 685) | _getProjectName(projectConfig: GraphQLProjectConfig) { FILE: packages/graphql-language-service-server/src/GraphQLLanguageService.ts constant KIND_TO_SYMBOL_KIND (line 63) | const KIND_TO_SYMBOL_KIND: { [key: string]: SymbolKind } = { function getKind (line 80) | function getKind(tree: OutlineTree) { class GraphQLLanguageService (line 91) | class GraphQLLanguageService { method constructor (line 96) | constructor(cache: GraphQLCache, logger: Logger) { method getConfigForURI (line 103) | getConfigForURI(uri: Uri) { method getDiagnostics (line 110) | public async getDiagnostics( method getAutocompleteSuggestions (line 217) | public async getAutocompleteSuggestions( method getHoverInformation (line 254) | public async getHoverInformation( method getDefinition (line 272) | public async getDefinition( method getDocumentSymbols (line 359) | public async getDocumentSymbols( method _getDefinitionForNamedType (line 408) | async _getDefinitionForNamedType( method _getDefinitionForField (line 439) | async _getDefinitionForField( method _getDefinitionForArgument (line 472) | async _getDefinitionForArgument( method _getDefinitionForFragmentSpread (line 505) | async _getDefinitionForFragmentSpread( method getOutline (line 542) | async getOutline(documentText: string): Promise { FILE: packages/graphql-language-service-server/src/Logger.ts class Logger (line 13) | class Logger implements VSCodeLogger { method constructor (line 17) | constructor( method error (line 24) | error(message: string): void { method warn (line 28) | warn(message: string): void { method info (line 32) | info(message: string): void { method log (line 36) | log(message: string): void { method level (line 41) | set level(level: number) { method level (line 44) | get level() { class NoopLogger (line 49) | class NoopLogger implements VSCodeLogger { method error (line 50) | error() {} method warn (line 51) | warn() {} method info (line 52) | info() {} method log (line 53) | log() {} method level (line 54) | set level(_level: number) {} method level (line 55) | get level() { FILE: packages/graphql-language-service-server/src/MessageProcessor.ts type CachedDocumentType (line 83) | type CachedDocumentType = { function toPosition (line 88) | function toPosition(position: VscodePosition): IPosition { class MessageProcessor (line 92) | class MessageProcessor { method constructor (line 109) | constructor({ method connection (line 149) | get connection(): Connection { method connection (line 152) | set connection(connection: Connection) { method handleInitializeRequest (line 156) | public async handleInitializeRequest( method _initializeGraphQLCaches (line 204) | async _initializeGraphQLCaches() { method _handleConfigError (line 298) | private _handleConfigError({ err }: { err: unknown; uri?: string }) { method _logConfigError (line 329) | private _logConfigError(errorMessage: string) { method _isGraphQLConfigFile (line 336) | private async _isGraphQLConfigFile(uri: string) { method _loadConfigOrSkip (line 356) | private async _loadConfigOrSkip(uri: string) { method handleDidOpenOrSaveNotification (line 382) | public async handleDidOpenOrSaveNotification( method handleDidChangeNotification (line 462) | public async handleDidChangeNotification( method handleDidChangeConfiguration (line 541) | async handleDidChangeConfiguration( method handleDidCloseNotification (line 554) | public handleDidCloseNotification(params: DidCloseTextDocumentParams):... method handleShutdownRequest (line 582) | public handleShutdownRequest(): void { method handleExitNotification (line 586) | public handleExitNotification(): void { method validateDocumentAndPosition (line 590) | private validateDocumentAndPosition(params: CompletionParams): void { method handleCompletionRequest (line 598) | public async handleCompletionRequest( method handleHoverRequest (line 657) | public async handleHoverRequest( method _parseAndCacheFile (line 702) | private async _parseAndCacheFile( method handleWatchedFilesChangedNotification (line 722) | public async handleWatchedFilesChangedNotification( method handleDefinitionRequest (line 786) | public async handleDefinitionRequest( method _getCustomLocateResult (line 901) | _getCustomLocateResult( method handleDocumentSymbolRequest (line 937) | public async handleDocumentSymbolRequest( method handleWorkspaceSymbolRequest (line 997) | public async handleWorkspaceSymbolRequest( method _getTextDocuments (line 1027) | private _getTextDocuments() { method _cacheSchemaText (line 1031) | private async _cacheSchemaText( method _cacheSchemaFile (line 1047) | private async _cacheSchemaFile( method _getTmpProjectPath (line 1074) | private _getTmpProjectPath( method getCachedSchemaSettings (line 1097) | private getCachedSchemaSettings(project: GraphQLProjectConfig) { method _cacheSchemaFilesForProject (line 1118) | private async _cacheSchemaFilesForProject(project: GraphQLProjectConfi... method cacheConfigSchemaFile (line 1174) | private async cacheConfigSchemaFile(project: GraphQLProjectConfig) { method _cacheDocumentFilesforProject (line 1228) | private async _cacheDocumentFilesforProject(project: GraphQLProjectCon... method _cacheAllProjectFiles (line 1271) | private async _cacheAllProjectFiles(config: GraphQLConfig) { method _isRelayCompatMode (line 1293) | _isRelayCompatMode(query: string): boolean { method _updateFragmentDefinition (line 1299) | private async _updateFragmentDefinition( method _updateSchemaIfChanged (line 1314) | private async _updateSchemaIfChanged( method _updateObjectTypeDefinition (line 1336) | private async _updateObjectTypeDefinition( method _getCachedDocument (line 1353) | private _getCachedDocument(uri: string): CachedDocumentType | null { method _invalidateCache (line 1363) | private async _invalidateCache( function processDiagnosticsMessage (line 1390) | function processDiagnosticsMessage( FILE: packages/graphql-language-service-server/src/__tests__/GraphQLCache.test.ts function withoutASTNode (line 31) | function withoutASTNode(definition: any) { FILE: packages/graphql-language-service-server/src/__tests__/GraphQLLanguageService.test.ts constant MOCK_CONFIG (line 19) | const MOCK_CONFIG = { method getSchema (line 29) | async getSchema() { method getGraphQLConfig (line 34) | getGraphQLConfig() { method getProjectForFile (line 38) | getProjectForFile(uri: string) { method getFragmentDefinitions (line 41) | getFragmentDefinitions() { method getFragmentDependenciesForAST (line 61) | getFragmentDependenciesForAST() { method getObjectTypeDefinitions (line 64) | getObjectTypeDefinitions() { method getObjectTypeDependenciesForAST (line 120) | getObjectTypeDependenciesForAST() { FILE: packages/graphql-language-service-server/src/__tests__/MessageProcessor.spec.ts function mockSchema (line 36) | function mockSchema(schema: GraphQLSchema) { FILE: packages/graphql-language-service-server/src/__tests__/MessageProcessor.test.ts method getAutocompleteSuggestions (line 77) | getAutocompleteSuggestions(query, position, uri) { method getDiagnostics (line 81) | getDiagnostics(_query, _uri) { method getHoverInformation (line 84) | async getHoverInformation(_query, position, _uri) { method getDocumentSymbols (line 90) | async getDocumentSymbols(_query: string, uri: string) { method getOutline (line 105) | async getOutline(_query: string): Promise { method getDefinition (line 118) | async getDefinition( method workspace (line 141) | get workspace() { method getConfiguration (line 564) | getConfiguration() { FILE: packages/graphql-language-service-server/src/__tests__/__utils__/MockProject.ts type MockFile (line 8) | type MockFile = [filename: string, text: string]; class MockLogger (line 10) | class MockLogger implements VSCodeLogger { type File (line 45) | type File = [filename: string, text: string]; type Files (line 46) | type Files = File[]; class MockProject (line 48) | class MockProject { method constructor (line 52) | constructor({ method init (line 82) | public async init(filename?: string, fileText?: string) { method mockFiles (line 101) | private mockFiles() { method filePath (line 112) | public filePath(filename: string) { method uri (line 115) | public uri(filename: string) { method changeFile (line 118) | changeFile(filename: string, text: string) { method addFile (line 122) | async addFile(filename: string, text: string, watched = false) { method changeWatchedFile (line 148) | async changeWatchedFile(filename: string, text: string) { method saveOpenFile (line 159) | async saveOpenFile(filename: string, text: string) { method addWatchedFile (line 169) | async addWatchedFile(filename: string, text: string) { method deleteFile (line 184) | async deleteFile(filename: string) { method lsp (line 197) | get lsp() { FILE: packages/graphql-language-service-server/src/common.ts function unwrapProjectSchema (line 8) | function unwrapProjectSchema(project: GraphQLProjectConfig): string[] { function globIfFilePattern (line 31) | function globIfFilePattern(pattern: string) { function isProjectSDLOnly (line 45) | function isProjectSDLOnly(unwrappedSchema: string[]): boolean { FILE: packages/graphql-language-service-server/src/constants.ts constant PARSER_OPTIONS (line 4) | const PARSER_OPTIONS: ParserOptions = { constant DEFAULT_SUPPORTED_GRAPHQL_EXTENSIONS (line 26) | const DEFAULT_SUPPORTED_GRAPHQL_EXTENSIONS = [ constant TAG_MAP (line 36) | const TAG_MAP: Record = { constant DEFAULT_SUPPORTED_EXTENSIONS (line 46) | const DEFAULT_SUPPORTED_EXTENSIONS = [ type SupportedExtensions (line 63) | type SupportedExtensions = typeof DEFAULT_SUPPORTED_EXTENSIONS; type SupportedExtensionsEnum (line 64) | type SupportedExtensionsEnum = constant BABEL_PLUGINS (line 70) | const BABEL_PLUGINS: ParserPlugin[] = [ FILE: packages/graphql-language-service-server/src/findGraphQLTags.ts type TagResult (line 24) | type TagResult = { tag: string; template: string; range: Range }; type TagVisitors (line 26) | interface TagVisitors { function findGraphQLTags (line 30) | async function findGraphQLTags( function parseTemplateLiteral (line 172) | function parseTemplateLiteral(node: TemplateLiteral, rangeMapper: RangeM... function getGraphQLTagName (line 207) | function getGraphQLTagName(tag: Expression): string | null { function visit (line 223) | function visit(node: { [key: string]: any }, visitors: TagVisitors) { constant IGNORED_KEYS (line 231) | const IGNORED_KEYS: { [key: string]: boolean } = { function traverse (line 242) | function traverse(node: { [key: string]: any }, visitors: TagVisitors) { FILE: packages/graphql-language-service-server/src/parseDocument.ts function parseDocument (line 21) | async function parseDocument( FILE: packages/graphql-language-service-server/src/parsers/astro.ts type ParseAstroResult (line 6) | type ParseAstroResult = function parseAstro (line 14) | async function parseAstro(source: string): Promise { FILE: packages/graphql-language-service-server/src/parsers/index.ts type ParserMap (line 9) | type ParserMap = { FILE: packages/graphql-language-service-server/src/parsers/types.ts type RangeMapper (line 4) | type RangeMapper = (range: Range) => Range; type SourceParserResult (line 6) | type SourceParserResult = null | { type SourceParser (line 11) | type SourceParser = ( FILE: packages/graphql-language-service-server/src/parsers/vue.ts type ParseVueSFCResult (line 6) | type ParseVueSFCResult = function parseVueSFC (line 15) | function parseVueSFC(source: string): ParseVueSFCResult { FILE: packages/graphql-language-service-server/src/startServer.ts type MappedServerOptions (line 55) | type MappedServerOptions = Omit & { function startServer (line 93) | async function startServer( type InitializerParams (line 137) | type InitializerParams = { function initializeHandlers (line 143) | async function initializeHandlers({ function reportDiagnostics (line 161) | function reportDiagnostics( type HandlerOptions (line 173) | type HandlerOptions = { function addHandlers (line 190) | async function addHandlers({ FILE: packages/graphql-language-service-server/src/stringToHash.ts function stringToHash (line 11) | function stringToHash(str: string): number { FILE: packages/graphql-language-service-server/src/types.ts type LoadConfigOptions (line 6) | type LoadConfigOptions = Parameters[0]; type RangeType (line 13) | type RangeType = { type AdditionalLocateInfo (line 24) | type AdditionalLocateInfo = { type LineNumber (line 30) | type LineNumber = string; type CharacterNumber (line 31) | type CharacterNumber = string; type RelayLSPLocateCommand (line 32) | type RelayLSPLocateCommand = ( type GraphQLLocateCommand (line 42) | type GraphQLLocateCommand = ( type LocateCommand (line 51) | type LocateCommand = RelayLSPLocateCommand | GraphQLLocateCommand; type ServerOptions (line 53) | interface ServerOptions { FILE: packages/graphql-language-service/benchmark/index.ts type IStats (line 8) | interface IStats { method onStart (line 39) | onStart() { method fn (line 42) | fn() { method onComplete (line 57) | onComplete(e) { method fn (line 112) | fn() { FILE: packages/graphql-language-service/src/interface/__tests__/getAutocompleteSuggestions.test.ts function testSuggestions (line 89) | function testSuggestions( FILE: packages/graphql-language-service/src/interface/__tests__/getDiagnostics.test.ts method Document (line 85) | Document(node) { method OperationDefinition (line 164) | OperationDefinition(node) { FILE: packages/graphql-language-service/src/interface/__tests__/getHoverInformation.test.ts function testHover (line 29) | function testHover(query: string, point: Position): Hover['contents'] { FILE: packages/graphql-language-service/src/interface/autocompleteUtils.ts function objectValues (line 22) | function objectValues(object: Record): Array { function hintList (line 33) | function hintList( function filterAndSortList (line 42) | function filterAndSortList( function filterNonEmpty (line 75) | function filterNonEmpty( function normalizeText (line 83) | function normalizeText(text: string): string { function getProximity (line 88) | function getProximity(suggestion: string, text: string): number { function lexicalDistance (line 114) | function lexicalDistance(a: string, b: string): number { FILE: packages/graphql-language-service/src/interface/getAutocompleteSuggestions.ts method FragmentDefinition (line 93) | FragmentDefinition(def) { type AutocompleteSuggestionOptions (line 104) | type AutocompleteSuggestionOptions = { type InternalAutocompleteOptions (line 124) | type InternalAutocompleteOptions = AutocompleteSuggestionOptions & { function getAutocompleteSuggestions (line 132) | function getAutocompleteSuggestions( function getSuggestionsForTypeSystemDefinitions (line 463) | function getSuggestionsForTypeSystemDefinitions( function getSuggestionsForExecutableDefinitions (line 472) | function getSuggestionsForExecutableDefinitions( function getSuggestionsForUnknownDocumentMode (line 478) | function getSuggestionsForUnknownDocumentMode( function getSuggestionsForExtensionDefinitions (line 488) | function getSuggestionsForExtensionDefinitions( function getSuggestionsForFieldNames (line 494) | function getSuggestionsForFieldNames( function getSuggestionsForInputValues (line 569) | function getSuggestionsForInputValues( function getSuggestionsForImplements (line 626) | function getSuggestionsForImplements( function getSuggestionsForFragmentTypeConditions (line 737) | function getSuggestionsForFragmentTypeConditions( function getSuggestionsForFragmentSpread (line 781) | function getSuggestionsForFragmentSpread( function getVariableCompletions (line 851) | function getVariableCompletions( function getFragmentDefinitions (line 898) | function getFragmentDefinitions( function getSuggestionsForVariableDefinition (line 934) | function getSuggestionsForVariableDefinition( function getSuggestionsForDirective (line 952) | function getSuggestionsForDirective( function getSuggestionsForDirectiveArguments (line 976) | function getSuggestionsForDirectiveArguments( function canUseDirective (line 993) | function canUseDirective( function unwrapType (line 1051) | function unwrapType(state: State): State { FILE: packages/graphql-language-service/src/interface/getDefinition.ts type DefinitionQueryResult (line 31) | type DefinitionQueryResult = { type DefinitionQueryResponse (line 37) | type DefinitionQueryResponse = DefinitionQueryResult & { constant LANGUAGE (line 42) | const LANGUAGE = 'GraphQL'; function assert (line 44) | function assert(value: any, message: string) { function getRange (line 50) | function getRange(text: string, node: ASTNode): Range { function getPosition (line 56) | function getPosition(text: string, node: ASTNode): Position { function getDefinitionQueryResultForNamedType (line 62) | async function getDefinitionQueryResultForNamedType( function getDefinitionQueryResultForField (line 87) | async function getDefinitionQueryResultForField( function getDefinitionQueryResultForArgument (line 124) | async function getDefinitionQueryResultForArgument( function getDefinitionQueryResultForFragmentSpread (line 156) | async function getDefinitionQueryResultForFragmentSpread( function getDefinitionQueryResultForDefinitionNode (line 180) | function getDefinitionQueryResultForDefinitionNode( function getDefinitionForFragmentDefinition (line 192) | function getDefinitionForFragmentDefinition( function getDefinitionForNodeDefinition (line 215) | function getDefinitionForNodeDefinition( function getDefinitionForFieldDefinition (line 234) | function getDefinitionForFieldDefinition( function getDefinitionForArgumentDefinition (line 253) | function getDefinitionForArgumentDefinition( FILE: packages/graphql-language-service/src/interface/getDiagnostics.ts constant SEVERITY (line 35) | const SEVERITY = { type Severity (line 42) | type Severity = typeof SEVERITY; type SeverityEnum (line 44) | type SeverityEnum = keyof Severity; constant DIAGNOSTIC_SEVERITY (line 46) | const DIAGNOSTIC_SEVERITY = { function getDiagnostics (line 59) | function getDiagnostics( function validateQuery (line 102) | function validateQuery( function annotations (line 131) | function annotations( function getRange (line 172) | function getRange(location: SourceLocation, queryText: string): IRange { function getLocation (line 210) | function getLocation(node: any): Location { FILE: packages/graphql-language-service/src/interface/getHoverInformation.ts type HoverConfig (line 29) | type HoverConfig = { useMarkdown?: boolean }; function getHoverInformation (line 31) | function getHoverInformation( function renderMdCodeStart (line 108) | function renderMdCodeStart(into: string[], options: HoverConfig) { function renderMdCodeEnd (line 113) | function renderMdCodeEnd(into: string[], options: any) { function renderField (line 119) | function renderField( function renderQualifiedField (line 128) | function renderQualifiedField( function renderDirective (line 144) | function renderDirective( function renderArg (line 156) | function renderArg( function renderTypeAnnotation (line 178) | function renderTypeAnnotation( function renderEnumValue (line 188) | function renderEnumValue( function renderType (line 202) | function renderType( function renderDescription (line 224) | function renderDescription( function renderDeprecation (line 242) | function renderDeprecation( function text (line 260) | function text(into: string[], content: string) { FILE: packages/graphql-language-service/src/interface/getOutline.ts type OutlineableKinds (line 42) | type OutlineableKinds = type OutlineTreeResult (line 59) | type OutlineTreeResult = type OutlineTreeConverterType (line 73) | type OutlineTreeConverterType = Partial<{ function getOutline (line 77) | function getOutline(documentText: string): Outline | null { function outlineTreeConverter (line 99) | function outlineTreeConverter(docText: string): OutlineTreeConverterType { function buildToken (line 203) | function buildToken(kind: TokenKind, value: string | NameNode): TextToken { function concatMap (line 207) | function concatMap(arr: Readonly, fn: Function): Readonly { FILE: packages/graphql-language-service/src/parser/CharacterStream.ts class CharacterStream (line 22) | class CharacterStream implements CharacterStreamInterface { method constructor (line 27) | constructor(sourceText: string) { method _testNextCharacter (line 35) | private _testNextCharacter(pattern: TokenPattern): boolean { FILE: packages/graphql-language-service/src/parser/RuleHelpers.ts function opt (line 15) | function opt(ofRule: Rule | string): Rule { function list (line 20) | function list(ofRule: Rule | string, separator?: string | Rule): Rule { function butNot (line 25) | function butNot(rule: Rule, exclusions: Array) { function t (line 42) | function t(kind: string, style: string) { function p (line 47) | function p(value: string, style?: string): Rule { FILE: packages/graphql-language-service/src/parser/Rules.ts method Definition (line 55) | Definition(token: Token): RuleKind | void { method Selection (line 118) | Selection(token: Token, stream: CharacterStream) { method Value (line 164) | Value(token: Token) { method update (line 201) | update(state: State, token: Token) { method Type (line 214) | Type(token: Token) { method ExtensionDefinition (line 307) | ExtensionDefinition(token: Token): RuleKind | void { function word (line 335) | function word(value: string) { function name (line 343) | function name(style: string): Rule { function type (line 354) | function type(style: string) { FILE: packages/graphql-language-service/src/parser/__tests__/OnlineParserUtils.ts type TokenAssertArgs (line 23) | type TokenAssertArgs = { type SimpleRules (line 30) | type SimpleRules = type SimpleRuleAssertOptions (line 41) | type SimpleRuleAssertOptions = { type SimpleRule (line 45) | type SimpleRule = ( type IAssertRules (line 50) | type IAssertRules = { type Utils (line 62) | type Utils = { t: IAssertRules; stream?: CharacterStream }; type Args (line 64) | type Args = { name?: string; onKind?: RuleKind; args?: any[]; vars?: any... method token (line 75) | token( method keyword (line 87) | keyword(pattern, options = {}) { method name (line 90) | name(pattern, options = {}) { method property (line 93) | property(pattern, options = {}) { method qualifier (line 96) | qualifier(pattern, options = {}) { method variable (line 99) | variable(pattern, options = {}) { method meta (line 102) | meta(pattern, options = {}) { method def (line 105) | def(pattern, options = {}) { method punctuation (line 108) | punctuation(pattern, options = {}) { method attribute (line 111) | attribute(pattern, options = {}) { method value (line 114) | value(kind, pattern, options) { method eol (line 117) | eol(eatSpace = true) { FILE: packages/graphql-language-service/src/parser/api.ts type ParserCallbackFn (line 20) | type ParserCallbackFn = ( function runOnlineParser (line 34) | function runOnlineParser( type GraphQLDocumentMode (line 73) | enum GraphQLDocumentMode { constant TYPE_SYSTEM_KINDS (line 79) | const TYPE_SYSTEM_KINDS: Kind[] = [ method enter (line 105) | enter(node) { function getDocumentMode (line 124) | function getDocumentMode( function getTokenAtPosition (line 137) | function getTokenAtPosition( function getContextAtPosition (line 173) | function getContextAtPosition( FILE: packages/graphql-language-service/src/parser/getTypeInfo.ts function getFieldDef (line 34) | function getFieldDef( function forEachState (line 56) | function forEachState( function getDefinitionState (line 73) | function getDefinitionState( function getTypeInfo (line 96) | function getTypeInfo( FILE: packages/graphql-language-service/src/parser/onlineParser.ts type ParserOptions (line 36) | type ParserOptions = { function onlineParser (line 43) | function onlineParser( function getToken (line 76) | function getToken( function assign (line 214) | function assign(to: object, from: object): object { function pushRule (line 231) | function pushRule( function popRule (line 249) | function popRule(state: State): undefined { function advanceRule (line 264) | function advanceRule(state: State, successful: boolean): undefined { function isList (line 313) | function isList(state: State): boolean | null | undefined { function unsuccessful (line 322) | function unsuccessful(state: State): void { function lex (line 342) | function lex( FILE: packages/graphql-language-service/src/parser/types.ts type ContextToken (line 5) | type ContextToken = { type ContextTokenForCodeMirror (line 13) | type ContextTokenForCodeMirror = { type ContextTokenUnion (line 21) | type ContextTokenUnion = ContextToken | ContextTokenForCodeMirror; type RuleOrString (line 23) | type RuleOrString = Rule | string; type ParseRule (line 25) | type ParseRule = type Token (line 29) | type Token = { type Rule (line 34) | type Rule = { type State (line 43) | type State = { type _AdditionalRuleKinds (line 90) | type _AdditionalRuleKinds = { type _RuleKinds (line 127) | type _RuleKinds = Omit & type RuleKind (line 130) | type RuleKind = _RuleKinds[keyof _RuleKinds]; type RuleKindEnum (line 131) | type RuleKindEnum = RuleKind; type TokenPattern (line 132) | type TokenPattern = string | ((char: string) => boolean) | RegExp; type CharacterStreamInterface (line 134) | interface CharacterStreamInterface { FILE: packages/graphql-language-service/src/temp-bin.ts function bright (line 4) | function bright(str: string) { function yellow (line 8) | function yellow(str: string) { FILE: packages/graphql-language-service/src/types.ts type Maybe (line 34) | type Maybe = T | null | undefined; type GraphQLCache (line 50) | interface GraphQLCache { type IPosition (line 96) | interface IPosition { type IRange (line 104) | interface IRange { type CachedContent (line 111) | type CachedContent = { type Uri (line 117) | type Uri = string; type GraphQLFileMetadata (line 119) | type GraphQLFileMetadata = { type GraphQLFileInfo (line 125) | type GraphQLFileInfo = { type AllTypeInfo (line 134) | type AllTypeInfo = { type FragmentInfo (line 148) | type FragmentInfo = { type NamedTypeInfo (line 154) | type NamedTypeInfo = { type ObjectTypeInfo (line 160) | type ObjectTypeInfo = { type Diagnostic (line 166) | type Diagnostic = DiagnosticType; type CompletionItemBase (line 168) | type CompletionItemBase = { type CompletionItem (line 173) | type CompletionItem = CompletionItemType & { type Definition (line 185) | type Definition = { type TokenKind (line 197) | type TokenKind = type TextToken (line 207) | type TextToken = { type TokenizedText (line 212) | type TokenizedText = TextToken[]; type OutlineTree (line 213) | type OutlineTree = { type Outline (line 224) | type Outline = { type FileEvent (line 228) | interface FileEvent { type FileChangeTypeKind (line 239) | type FileChangeTypeKind = { type FileChangeTypeKeys (line 245) | type FileChangeTypeKeys = keyof FileChangeTypeKind; type FileChangeType (line 247) | type FileChangeType = FileChangeTypeKind[FileChangeTypeKeys]; type CompletionItemKind (line 282) | type CompletionItemKind = FILE: packages/graphql-language-service/src/utils/Range.ts class Range (line 13) | class Range implements IRange { method constructor (line 16) | constructor(start: IPosition, end: IPosition) { method setStart (line 21) | setStart(line: number, character: number) { method setEnd (line 25) | setEnd(line: number, character: number) { class Position (line 40) | class Position implements IPosition { method constructor (line 43) | constructor(line: number, character: number) { method setLine (line 48) | setLine(line: number) { method setCharacter (line 52) | setCharacter(character: number) { function offsetToPosition (line 61) | function offsetToPosition(text: string, loc: number): Position { function locToRange (line 69) | function locToRange(text: string, loc: Location): Range { FILE: packages/graphql-language-service/src/utils/__tests__/validateWithCustomRules.test.ts method Argument (line 35) | Argument(node: ArgumentNode) { FILE: packages/graphql-language-service/src/utils/collectVariables.ts type VariableToType (line 11) | type VariableToType = { function collectVariables (line 23) | function collectVariables( FILE: packages/graphql-language-service/src/utils/fragmentDependencies.ts method FragmentDefinition (line 43) | FragmentDefinition(node) { method FragmentSpread (line 46) | FragmentSpread(node) { method FragmentSpread (line 64) | FragmentSpread(node) { FILE: packages/graphql-language-service/src/utils/getASTNodeAtPosition.ts function getASTNodeAtPosition (line 13) | function getASTNodeAtPosition( function pointToOffset (line 43) | function pointToOffset(text: string, point: TPosition): number { FILE: packages/graphql-language-service/src/utils/getOperationFacts.ts type OperationASTFacts (line 17) | type OperationASTFacts = { function getOperationASTFacts (line 43) | function getOperationASTFacts( type OperationFacts (line 63) | type OperationFacts = { type QueryFacts (line 67) | type QueryFacts = OperationFacts; function getOperationFacts (line 79) | function getOperationFacts( FILE: packages/graphql-language-service/src/utils/getVariablesJSONSchema.ts type JsonSchemaOptions (line 28) | type JsonSchemaOptions = { type PropertiedJSON6 (line 35) | type PropertiedJSON6 = JSONSchema6 & { type JSONSchemaOptions (line 41) | type JSONSchemaOptions = { type JSONSchemaRunningOptions (line 51) | type JSONSchemaRunningOptions = JSONSchemaOptions & { type MonacoEditorJSONSchema (line 59) | type MonacoEditorJSONSchema = JSONSchema6 & { type CombinedSchema (line 63) | type CombinedSchema = JSONSchema6 | MonacoEditorJSONSchema; type Definitions (line 65) | type Definitions = { [k: string]: JSONSchema6Definition }; type DefinitionResult (line 67) | type DefinitionResult = { function text (line 73) | function text(into: string[], newText: string) { function renderType (line 77) | function renderType(into: string[], t: GraphQLInputType | GraphQLInputFi... function renderDefinitionDescription (line 91) | function renderDefinitionDescription( function renderTypeToString (line 129) | function renderTypeToString( class Marker (line 154) | class Marker { method mark (line 157) | mark(name: string): boolean { function getJSONSchemaFromGraphQLType (line 172) | function getJSONSchemaFromGraphQLType( function getVariablesJSONSchema (line 349) | function getVariablesJSONSchema( FILE: packages/graphql-language-service/src/utils/validateWithCustomRules.ts function validateWithCustomRules (line 62) | function validateWithCustomRules( FILE: packages/monaco-graphql/src/GraphQLWorker.ts class GraphQLWorker (line 20) | class GraphQLWorker { method constructor (line 25) | constructor(ctx: monaco.worker.IWorkerContext, createData: ICreateData) { method doValidation (line 31) | public async doValidation(uri: string) { method doComplete (line 50) | public async doComplete( method doHover (line 74) | public async doHover(uri: string, position: monaco.Position) { method doGetVariablesJSONSchema (line 102) | public async doGetVariablesJSONSchema(uri: string): Promise { method doFormat (line 124) | async doFormat(uri: string): Promise { method _getTextModel (line 144) | private _getTextModel(uri: string): monaco.worker.IMirrorModel | null { method doUpdateSchema (line 154) | public doUpdateSchema(schema: SchemaConfig) { method doUpdateSchemas (line 158) | public doUpdateSchemas(schemas: SchemaConfig[]) { function create (line 167) | function create( FILE: packages/monaco-graphql/src/LanguageService.ts type SchemaCacheItem (line 34) | type SchemaCacheItem = Omit & { schema: GraphQLS... type SchemaCache (line 36) | type SchemaCache = Map; class LanguageService (line 42) | class LanguageService { method constructor (line 53) | constructor({ method _cacheSchemas (line 91) | private _cacheSchemas() { method _cacheSchema (line 97) | private _cacheSchema(schemaConfig: SchemaConfig) { method getSchemaForFile (line 110) | public getSchemaForFile(uri: string): SchemaCacheItem | undefined { method getExternalFragmentDefinitions (line 136) | public getExternalFragmentDefinitions(): FragmentDefinitionNode[] { method updateSchemas (line 162) | public async updateSchemas(schemas: SchemaConfig[]): Promise { method updateSchema (line 170) | public updateSchema(schema: SchemaConfig): void { method addSchema (line 187) | public addSchema(schema: SchemaConfig): void { method parse (line 197) | public parse(text: string | Source, options?: ParseOptions): DocumentN... FILE: packages/monaco-graphql/src/api.ts type MonacoGraphQLAPIOptions (line 21) | interface MonacoGraphQLAPIOptions type SchemaEntry (line 38) | type SchemaEntry = { class MonacoGraphQLAPI (line 44) | class MonacoGraphQLAPI { method constructor (line 55) | constructor({ method onDidChange (line 74) | public get onDidChange(): monaco.IEvent { method languageId (line 78) | public get languageId(): string { method modeConfiguration (line 82) | public get modeConfiguration(): ModeConfiguration { method schemas (line 86) | public get schemas(): SchemaConfig[] | null { method schemasById (line 90) | public schemasById(): Record { method formattingOptions (line 94) | public get formattingOptions(): FormattingOptions { method diagnosticSettings (line 98) | public get diagnosticSettings(): DiagnosticSettings { method completionSettings (line 102) | public get completionSettings(): CompletionSettings { method externalFragmentDefinitions (line 111) | public get externalFragmentDefinitions() { method setSchemaConfig (line 118) | public setSchemaConfig(schemas: SchemaConfig[]): void { method setExternalFragmentDefinitions (line 127) | public setExternalFragmentDefinitions( method setModeConfiguration (line 133) | public setModeConfiguration(modeConfiguration: ModeConfiguration): void { method setFormattingOptions (line 138) | public setFormattingOptions(formattingOptions: FormattingOptions): void { method setDiagnosticSettings (line 143) | public setDiagnosticSettings(diagnosticSettings: DiagnosticSettings): ... method setCompletionSettings (line 148) | public setCompletionSettings(completionSettings: CompletionSettings): ... function create (line 154) | function create( FILE: packages/monaco-graphql/src/graphqlMode.ts function setupMode (line 14) | function setupMode(defaults: MonacoGraphQLAPI): IDisposable { function asDisposable (line 109) | function asDisposable(disposables: IDisposable[]): IDisposable { function disposeAll (line 113) | function disposeAll(disposables: IDisposable[]) { FILE: packages/monaco-graphql/src/initialize.ts constant LANGUAGE_ID (line 13) | const LANGUAGE_ID = 'graphql'; function initializeMode (line 20) | function initializeMode( function getMode (line 35) | function getMode(): Promise { FILE: packages/monaco-graphql/src/languageFeatures.ts type WorkerAccessor (line 16) | interface WorkerAccessor { class DiagnosticsAdapter (line 22) | class DiagnosticsAdapter { method constructor (line 27) | constructor( method dispose (line 107) | public dispose(): void { method _doValidate (line 114) | private async _doValidate( function toCompletionItemKind (line 198) | function toCompletionItemKind( function toCompletion (line 204) | function toCompletion( class CompletionAdapter (line 225) | class CompletionAdapter implements languages.CompletionItemProvider { method constructor (line 226) | constructor(private _worker: WorkerAccessor) { method triggerCharacters (line 230) | public get triggerCharacters(): string[] { method provideCompletionItems (line 237) | async provideCompletionItems( class DocumentFormattingAdapter (line 261) | class DocumentFormattingAdapter method constructor (line 264) | constructor(private _worker: WorkerAccessor) { method provideDocumentFormattingEdits (line 268) | async provideDocumentFormattingEdits( class HoverAdapter (line 288) | class HoverAdapter implements languages.HoverProvider { method constructor (line 289) | constructor(private _worker: WorkerAccessor) {} method provideHover (line 291) | async provideHover( method dispose (line 312) | dispose() {} FILE: packages/monaco-graphql/src/typings/index.ts type SchemaConfig (line 26) | type SchemaConfig = { type SchemaLoader (line 83) | type SchemaLoader = ( type GraphQLLanguageConfig (line 92) | type GraphQLLanguageConfig = { type FormattingOptions (line 131) | type FormattingOptions = { prettierConfig?: PrettierConfig }; type ModeConfiguration (line 133) | interface ModeConfiguration { type DiagnosticSettings (line 185) | type DiagnosticSettings = { type CompletionSettings (line 208) | type CompletionSettings = AutocompleteSuggestionOptions & { type MonacoGraphQLInitializeConfig (line 218) | interface MonacoGraphQLInitializeConfig type ICreateData (line 244) | interface ICreateData { FILE: packages/monaco-graphql/src/utils.ts function toMonacoRange (line 30) | function toMonacoRange(range: GraphQLRange): monaco.IRange { function toGraphQLPosition (line 39) | function toGraphQLPosition(position: monaco.Position): GraphQLPosition { type GraphQLWorkerCompletionItem (line 43) | type GraphQLWorkerCompletionItem = Omit< function toCompletion (line 52) | function toCompletion( function toMonacoSeverity (line 84) | function toMonacoSeverity( function toMarkerData (line 97) | function toMarkerData( FILE: packages/monaco-graphql/src/workerManager.ts constant STOP_WHEN_IDLE_FOR (line 13) | const STOP_WHEN_IDLE_FOR = 2 * 60 * 1000; class WorkerManager (line 15) | class WorkerManager { method constructor (line 23) | constructor(defaults: MonacoGraphQLAPI) { method _stopWorker (line 35) | private _stopWorker(): void { method dispose (line 43) | dispose(): void { method _checkIfIdle (line 49) | private _checkIfIdle(): void { method _getClient (line 59) | private async _getClient(): Promise { method getLanguageServiceWorker (line 100) | async getLanguageServiceWorker(...resources: Uri[]): Promise = T | T[]; type Endpoint (line 6) | interface Endpoint { type Endpoints (line 17) | type Endpoints = Record; FILE: packages/vscode-graphql-execution/src/helpers/network.ts class NetworkHelper (line 28) | class NetworkHelper { method constructor (line 32) | constructor(outputChannel: OutputChannel, sourceHelper: SourceHelper) { method buildClient (line 37) | private buildClient({ method executeOperation (line 107) | async executeOperation({ type ExecuteOperationOptions (line 178) | interface ExecuteOperationOptions { function formatData (line 186) | function formatData({ data, errors }: any) { FILE: packages/vscode-graphql-execution/src/helpers/source.ts type FragmentInfo (line 17) | type FragmentInfo = { class SourceHelper (line 23) | class SourceHelper { method constructor (line 27) | constructor(outputChannel: OutputChannel) { method getTypeForVariableDefinitionNode (line 32) | getTypeForVariableDefinitionNode( method validate (line 57) | validate(value: string, type: GraphQLScalarType) { method typeCast (line 96) | typeCast(value: string, type: GraphQLScalarType) { method getFragmentDefinitions (line 127) | async getFragmentDefinitions( method extractAllTemplateLiterals (line 160) | extractAllTemplateLiterals( type GraphQLScalarType (line 227) | type GraphQLScalarType = 'String' | 'Float' | 'Int' | 'Boolean' | string; type GraphQLScalarTSType (line 228) | type GraphQLScalarTSType = string | number | boolean; type ExtractedTemplateLiteral (line 230) | interface ExtractedTemplateLiteral { method FragmentDefinition (line 270) | FragmentDefinition(node) { method FragmentSpread (line 273) | FragmentSpread(node) { method FragmentSpread (line 291) | FragmentSpread(node) { FILE: packages/vscode-graphql-execution/src/providers/exec-codelens.ts class GraphQLCodeLensProvider (line 15) | class GraphQLCodeLensProvider implements CodeLensProvider { method constructor (line 19) | constructor(outputChannel: OutputChannel) { method provideCodeLenses (line 24) | public provideCodeLenses( FILE: packages/vscode-graphql-execution/src/providers/exec-content.ts type UserVariables (line 25) | type UserVariables = { [key: string]: GraphQLScalarTSType }; class GraphQLContentProvider (line 29) | class GraphQLContentProvider implements TextDocumentContentProvider { method getCurrentHtml (line 46) | getCurrentHtml(): string { method updatePanel (line 50) | updatePanel() { method getVariablesFromUser (line 54) | async getVariablesFromUser( method getEndpointName (line 78) | async getEndpointName(endpointNames: string[]) { method constructor (line 95) | constructor( method validUrlFromSchema (line 119) | validUrlFromSchema(pathOrUrl: string) { method reportError (line 123) | reportError(message: string) { method setContentAndUpdate (line 128) | setContentAndUpdate(html: string) { method loadEndpoint (line 134) | async loadEndpoint(): Promise { method loadProvider (line 181) | async loadProvider() { method loadConfig (line 247) | async loadConfig() { method onDidChange (line 269) | get onDidChange(): Event { method update (line 273) | public update(uri: Uri) { method provideTextDocumentContent (line 277) | provideTextDocumentContent(_: Uri): ProviderResult { FILE: packages/vscode-graphql-syntax/tests/__utilities__/serializer.ts function formatTokens (line 3) | function formatTokens(tokens: Token[]): string { FILE: packages/vscode-graphql-syntax/tests/__utilities__/utilities.ts type Token (line 7) | type Token = { function tokenizeFile (line 12) | async function tokenizeFile( function getGrammar (line 42) | async function getGrammar(scopeName: string) { function vscodeOnigurumaLib (line 91) | async function vscodeOnigurumaLib() { function loadConfiguration (line 105) | function loadConfiguration() { FILE: packages/vscode-graphql/src/apis/statusBar.ts type Status (line 12) | enum Status { function initStatusBar (line 72) | function initStatusBar( function updateStatusBar (line 115) | function updateStatusBar( FILE: packages/vscode-graphql/src/extension.ts function activate (line 22) | async function activate(context: ExtensionContext) { function deactivate (line 151) | function deactivate() { function getConfig (line 160) | function getConfig() { FILE: packages/vscode-graphql/src/serverIpc/index.ts function start (line 9) | async function start() { FILE: packages/vscode-graphql/src/serverStdio/index.ts function start (line 9) | async function start() { FILE: scripts/canary-release.js function getNewVersion (line 14) | function getNewVersion(version, type) { function getRelevantChangesets (line 50) | function getRelevantChangesets(baseBranch) { function updateVersions (line 68) | async function updateVersions() { FILE: scripts/set-resolution.js function setResolution (line 4) | async function setResolution() {