Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GraphQLCache

Index

Properties

getFragmentDefinitions

getFragmentDefinitions: (graphQLConfig: GraphQLProjectConfig) => Promise<Map<string, FragmentInfo>>

Type declaration

    • (graphQLConfig: GraphQLProjectConfig): Promise<Map<string, FragmentInfo>>
    • Parameters

      • graphQLConfig: GraphQLProjectConfig

      Returns Promise<Map<string, FragmentInfo>>

getFragmentDependencies

getFragmentDependencies: (query: string, fragmentDefinitions: Maybe<Map<string, FragmentInfo>>) => Promise<FragmentInfo[]>

Type declaration

getFragmentDependenciesForAST

getFragmentDependenciesForAST: (parsedQuery: ASTNode, fragmentDefinitions: Map<string, FragmentInfo>) => Promise<FragmentInfo[]>

Type declaration

getGraphQLConfig

getGraphQLConfig: () => GraphQLConfig

Type declaration

    • (): GraphQLConfig
    • Returns GraphQLConfig

getObjectTypeDefinitions

getObjectTypeDefinitions: (graphQLConfig: GraphQLProjectConfig) => Promise<Map<string, ObjectTypeInfo>>

Type declaration

    • (graphQLConfig: GraphQLProjectConfig): Promise<Map<string, ObjectTypeInfo>>
    • Parameters

      • graphQLConfig: GraphQLProjectConfig

      Returns Promise<Map<string, ObjectTypeInfo>>

getObjectTypeDependencies

getObjectTypeDependencies: (query: string, fragmentDefinitions: Map<string, ObjectTypeInfo>) => Promise<ObjectTypeInfo[]>

Type declaration

getObjectTypeDependenciesForAST

getObjectTypeDependenciesForAST: (parsedQuery: ASTNode, fragmentDefinitions: Map<string, ObjectTypeInfo>) => Promise<ObjectTypeInfo[]>

Type declaration

getProjectForFile

getProjectForFile: (uri: string) => GraphQLProjectConfig | void

Type declaration

    • (uri: string): GraphQLProjectConfig | void
    • Parameters

      • uri: string

      Returns GraphQLProjectConfig | void

getSchema

getSchema: (appName?: undefined | string, queryHasExtensions?: undefined | false | true) => Promise<GraphQLSchema | null>

Type declaration

    • (appName?: undefined | string, queryHasExtensions?: undefined | false | true): Promise<GraphQLSchema | null>
    • Parameters

      • Optional appName: undefined | string
      • Optional queryHasExtensions: undefined | false | true

      Returns Promise<GraphQLSchema | null>

updateFragmentDefinition

updateFragmentDefinition: (rootDir: Uri, filePath: Uri, contents: CachedContent[]) => Promise<void>

Type declaration

updateFragmentDefinitionCache

updateFragmentDefinitionCache: (rootDir: Uri, filePath: Uri, exists: boolean) => Promise<void>

Type declaration

    • (rootDir: Uri, filePath: Uri, exists: boolean): Promise<void>
    • Parameters

      • rootDir: Uri
      • filePath: Uri
      • exists: boolean

      Returns Promise<void>

updateObjectTypeDefinition

updateObjectTypeDefinition: (rootDir: Uri, filePath: Uri, contents: CachedContent[]) => Promise<void>

Type declaration

updateObjectTypeDefinitionCache

updateObjectTypeDefinitionCache: (rootDir: Uri, filePath: Uri, exists: boolean) => Promise<void>

Type declaration

    • (rootDir: Uri, filePath: Uri, exists: boolean): Promise<void>
    • Parameters

      • rootDir: Uri
      • filePath: Uri
      • exists: boolean

      Returns Promise<void>

Generated using TypeDoc