MCPcopy Index your code

hub / github.com/urql-graphql/urql / functions

Functions705 in github.com/urql-graphql/urql

↓ 6 callersFunctionthrowOnErrorExchange
()
exchanges/throw-on-error/src/throwOnErrorExchange.ts:9
↓ 6 callersFunctiontoValue
(source: MaybeRefOrGetter<T>)
packages/vue-urql/src/utils.ts:27
↓ 6 callersMethodwriteFragment
Writes a GraphQL fragment to the cache. * * @param fragment - a {@link DocumentNode} containing a fragment definition. * @param data - a Grap
exchanges/graphcache/src/types.ts:484
↓ 5 callersFunction_write
( store: Store, request: OperationRequest, data?: Data, error?: CombinedError | undefined )
exchanges/graphcache/src/operations/write.ts:92
↓ 5 callersFunctioncallUseQuery
( args: UseQueryArgs<T, V>, client: Ref<Client> = useClient(), stops?: WatchStopHandle[] )
packages/vue-urql/src/useQuery.ts:238
↓ 5 callersFunctioncreateMutation
( mutation: DocumentInput<Data, Variables>, key: string )
packages/solid-start-urql/src/createMutation.ts:69
↓ 5 callersMethodfields
()
exchanges/graphcache/src/ast/schema.ts:18
↓ 5 callersMethodinvalidate
Deletes a cached entity or an entity’s field. * * @param entity - a GraphQL object (“entity”) or an entity key. * @param fieldName - optional
exchanges/graphcache/src/types.ts:372
↓ 5 callersFunctionjoinKeys
(parentKey: string, key: string)
exchanges/graphcache/src/store/keys.ts:7
↓ 5 callersFunctionkeyDocument
(node: string | DocumentNode)
packages/core/src/utils/request.ts:134
↓ 5 callersFunctionlistPackages
()
scripts/actions/lib/packages.mjs:41
↓ 5 callersFunctionmakeContext
( store: Store, variables: Variables, fragments: Fragments, typename: string, entityKey: string, e
exchanges/graphcache/src/operations/shared.ts:73
↓ 5 callersFunctionmarkStateDependencies
(state: CreateQueryState<any, any>)
packages/solid-urql/src/createQuery.test.tsx:27
↓ 5 callersFunctionpopDebugNode
()
exchanges/graphcache/src/helpers/help.ts:51
↓ 5 callersFunctionprovideClient
( opts: ClientOptions | Client | Ref<Client>, key: string = DEFAULT_KEY )
packages/vue-urql/src/useClient.ts:36
↓ 5 callersFunctionpushDebugNode
(typename: void | string, node: DebugNode)
exchanges/graphcache/src/helpers/help.ts:53
↓ 5 callersFunctionselectionOfDocument
( doc: TypedDocumentNode )
exchanges/graphcache/src/operations/shared.test.ts:13
↓ 5 callersMethodsubscribe
Start the Observable-like subscription and returns a subscription handle. * * @param observer - an {@link ObserverLike} object with result, erro
packages/core/src/exchanges/subscription.ts:53
↓ 5 callersFunctiontoRequestPolicy
( operation: Operation, requestPolicy: RequestPolicy )
exchanges/graphcache/src/helpers/operation.ts:18
↓ 5 callersFunctionupdateDependencies
(entityKey: string, fieldKey?: string)
exchanges/graphcache/src/store/data.ts:442
↓ 5 callersFunctionuseClient
()
packages/solid-start-urql/src/context.ts:30
↓ 4 callersFunction_query
( store: Store, request: OperationRequest, input?: Data | null | undefined, error?: CombinedError | un
exchanges/graphcache/src/operations/query.ts:81
↓ 4 callersFunctionbuildClientSchema
({ __schema, }: IntrospectionData)
exchanges/graphcache/src/ast/schema.ts:46
↓ 4 callersFunctionbuildNameMap
( arr: ReadonlyArray<T> )
exchanges/graphcache/src/ast/schema.ts:51
↓ 4 callersMethodclear
(key: number)
packages/react-urql/src/hooks/cache.ts:9
↓ 4 callersFunctioncollectPendingOperations
( pendingOperations: Operations, dependencies: undefined | Dependencies )
exchanges/graphcache/src/cacheExchange.ts:100
↓ 4 callersFunctionensureData
(x: DataField)
exchanges/graphcache/src/operations/shared.ts:323
↓ 4 callersFunctionexecute
(opts?: Partial<OperationContext>)
packages/vue-urql/src/utils.ts:112
↓ 4 callersFunctionfilterVariables
( node: OperationDefinitionNode, input: void | object )
exchanges/graphcache/src/ast/variables.ts:32
↓ 4 callersFunctionformatTypeNames
(query: string)
packages/core/src/utils/formatDocument.test.ts:6
↓ 4 callersFunctionforward
(operations$)
packages/core/src/exchanges/compose.ts:30
↓ 4 callersFunctiongetDirectives
(node: { _directives?: Record<string, DirectiveNode | undefined>; })
exchanges/graphcache/src/ast/node.ts:18
↓ 4 callersFunctiongetFieldArguments
( node: FieldNode | DirectiveNode, vars: Variables )
exchanges/graphcache/src/ast/variables.ts:13
↓ 4 callersFunctiongetFieldError
(ctx: Context)
exchanges/graphcache/src/operations/shared.ts:68
↓ 4 callersFunctiongetFragments
(doc: FormattedNode<DocumentNode>)
exchanges/graphcache/src/ast/traversal.ts:39
↓ 4 callersFunctiongetName
(node: { name: NameNode })
exchanges/populate/src/helpers/node.ts:7
↓ 4 callersFunctiongetNode
( map: NodeMap<T>, entityKey: string, fieldKey: string )
exchanges/graphcache/src/store/data.ts:306
↓ 4 callersFunctiongetRequestPromise
(request: IDBRequest<T>)
exchanges/graphcache/src/default-storage/index.ts:7
↓ 4 callersMethodkeyOfEntity
(data: Entity)
exchanges/graphcache/src/store/store.ts:130
↓ 4 callersFunctionmarkStateDependencies
(state: CreateSubscriptionState<any, any>)
packages/solid-urql/src/createSubscription.test.ts:41
↓ 4 callersFunctionnextOperation
(operation: Operation)
packages/core/src/client.ts:561
↓ 4 callersFunctionofflineExchange
(opts: C)
exchanges/graphcache/src/offlineExchange.ts:72
↓ 4 callersFunctionoutput
({ format, isProduction })
scripts/rollup/config.mjs:71
↓ 4 callersMethodreadFragment
Returns a GraphQL fragment‘s cached result. * * @param fragment - a {@link DocumentNode} containing a fragment definition. * @param entity -
exchanges/graphcache/src/types.ts:454
↓ 4 callersMethodreadMetadata
Called to rehydrate metadata when the {@link offlineExchange} first loads. * @remarks * `readMetadata` is called when Graphcache first starts up
exchanges/graphcache/src/types.ts:985
↓ 4 callersFunctionreserveLayer
( data: InMemoryData, layerKey: number, hasNext?: boolean )
exchanges/graphcache/src/store/data.ts:558
↓ 4 callersMethodresume
Resumes {@link useQuery} if it’s currently paused. * * @remarks * Resumes or starts {@link useQuery}’s query, if it’s currently paused. *
packages/vue-urql/src/useQuery.ts:150
↓ 4 callersFunctionsubscriptionExchange
({ forwardSubscription, enableAllOperations, isSubscriptionOperation, }: SubscriptionExchangeOpt
packages/core/src/exchanges/subscription.ts:126
↓ 4 callersMethodtoString
()
packages/core/src/utils/error.ts:117
↓ 4 callersFunctionunwrapType
( type: null | undefined | GraphQLOutputType )
exchanges/populate/src/helpers/node.ts:9
↓ 4 callersFunctionupdateContext
( ctx: Context, data: Data, typename: string, entityKey: string, fieldKey: string, fieldName: stri
exchanges/graphcache/src/operations/shared.ts:114
↓ 4 callersFunctionuseSubscription
( args: UseSubscriptionArgs<T, V>, handler?: SubscriptionHandlerArg<T, R> )
packages/vue-urql/src/useSubscription.ts:221
↓ 4 callersFunctionwarnAboutResolver
(name: string, logger: Logger | undefined)
exchanges/graphcache/src/ast/schemaPredicates.ts:209
↓ 3 callersFunctionaddAuthAttemptToOperation
( operation: Operation, authAttempt: boolean )
exchanges/auth/src/authExchange.ts:140
↓ 3 callersFunctionaddAuthToOperation
(operation: Operation)
exchanges/auth/src/authExchange.ts:332
↓ 3 callersFunctionaddMetadata
( operation: Operation, meta: OperationContext['meta'] )
packages/core/src/utils/operation.ts:71
↓ 3 callersFunctioncallUseSubscription
( args: UseSubscriptionArgs<T, V>, handler?: SubscriptionHandlerArg<T, R>, client: Ref<Client> = useClie
packages/vue-urql/src/useSubscription.ts:232
↓ 3 callersFunctioncomposeExchanges
(exchanges: Exchange[])
packages/core/src/exchanges/compose.ts:24
↓ 3 callersFunctioncreateQuery
( queryDocument: DocumentInput<Data, Variables>, key: string, options?: { variables?: Variables;
packages/solid-start-urql/src/createQuery.ts:50
↓ 3 callersFunctionexecutePendingOperations
( operation: Operation, pendingOperations: Operations, isOptimistic: boolean )
exchanges/graphcache/src/cacheExchange.ts:113
↓ 3 callersFunctionextractFiles
(x: any)
packages/core/src/utils/variables.ts:92
↓ 3 callersFunctionfallbackExchange
({ dispatchDebug })
packages/core/src/exchanges/fallback.ts:16
↓ 3 callersFunctionfromStore
(store$: Readable<T>)
packages/svelte-urql/src/common.ts:38
↓ 3 callersFunctiongetDebugOutput
()
exchanges/graphcache/src/helpers/help.ts:71
↓ 3 callersFunctiongetField
( schema: SchemaIntrospector, typename: string, fieldName: string, logger: Logger | undefined )
exchanges/graphcache/src/ast/schemaPredicates.ts:74
↓ 3 callersFunctiongetFieldAlias
(node: FieldNode)
exchanges/graphcache/src/ast/node.ts:29
↓ 3 callersFunctiongetPackageArtifact
scripts/actions/lib/packages.mjs:34
↓ 3 callersFunctiongetToken
()
examples/with-refresh-auth/src/authStore.js:9
↓ 3 callersFunctionhasContext
( context: UrqlContext | undefined, type: 'client' | 'context' | 'action' )
packages/solid-start-urql/src/context.ts:17
↓ 3 callersFunctioninvalidateType
( typename: string, excludedEntities: string[] )
exchanges/graphcache/src/operations/invalidate.ts:28
↓ 3 callersFunctionisSuspense
(client: Client, context?: Partial<OperationContext>)
packages/preact-urql/src/hooks/useQuery.ts:216
↓ 3 callersFunctionisSuspense
(client: Client, context?: Partial<OperationContext>)
packages/react-urql/src/hooks/useQuery.ts:179
↓ 3 callersFunctionmake
(queryRootKey: string)
exchanges/graphcache/src/store/data.ts:242
↓ 3 callersMethodonOnline
Called to register a callback called when the device is back online. * @remarks * `onOnline` is called by the {@link offlineExchange} with a cal
exchanges/graphcache/src/types.ts:999
↓ 3 callersFunctionparseData
(persistedData: any, fallback: any)
packages/storage-rn/src/makeAsyncStorage.ts:20
↓ 3 callersMethodpause
Pauses {@link useQuery} to stop it from executing the query. * * @remarks * Pauses {@link useQuery}’s query, which stops it from receiving up
packages/vue-urql/src/useQuery.ts:160
↓ 3 callersFunctionreadLink
( entityKey: string, fieldKey: string )
exchanges/graphcache/src/store/data.ts:468
↓ 3 callersFunctionreadRecord
( entityKey: string, fieldKey: string )
exchanges/graphcache/src/store/data.ts:457
↓ 3 callersFunctionreexecuteOperation
(client: Client, operation: Operation)
packages/core/src/exchanges/cache.ts:186
↓ 3 callersFunctionresult
(operation: Operation)
exchanges/graphcache/src/cacheExchange.test.ts:3234
↓ 3 callersFunctionset
(key, value)
packages/react-urql/src/hooks/cache.ts:38
↓ 3 callersFunctionshouldSkip
({ kind }: Operation)
packages/core/src/exchanges/cache.ts:18
↓ 3 callersFunctionupdateRCForLink
(link: Link | undefined, by: number)
exchanges/graphcache/src/store/data.ts:361
↓ 3 callersFunctionupdateResult
(result: Partial<UseQueryState<Data, Variables>>)
packages/react-urql/src/hooks/useQuery.ts:346
↓ 3 callersFunctionuseAction
()
packages/solid-start-urql/src/context.ts:44
↓ 3 callersFunctionuseClient
()
packages/preact-urql/src/context.ts:69
↓ 3 callersFunctionuseClient
()
packages/solid-urql/src/context.ts:8
↓ 3 callersFunctionuseRequest
( query: DocumentInput<Data, Variables>, variables: Variables )
packages/react-urql/src/hooks/useRequest.ts:8
↓ 3 callersFunctionuseRequestState
()
packages/vue-urql/src/utils.ts:46
↓ 3 callersFunctionwriteSelection
( ctx: Context, entityKey: undefined | string, select: FormattedNode<SelectionSet>, data: Data )
exchanges/graphcache/src/operations/write.ts:206
↓ 2 callersFunctionHeader
({ content })
packages/site/src/components/header.js:73
↓ 2 callersFunctionaddMetadata
( operation: Operation, meta: OperationDebugMeta )
exchanges/graphcache/src/helpers/operation.ts:5
↓ 2 callersFunctioncallUseMutation
( query: MaybeRefOrGetter<DocumentInput<T, V>>, client: Ref<Client> = useClient() )
packages/vue-urql/src/useMutation.ts:137
↓ 2 callersFunctionchunkFileNames
scripts/rollup/config.mjs:13
↓ 2 callersFunctionclearLayer
(data: InMemoryData, layerKey: number)
exchanges/graphcache/src/store/data.ts:614
↓ 2 callersFunctioncontextExchange
({ getContext }: ContextExchangeArgs)
exchanges/context/src/context.ts:65
↓ 2 callersFunctioncreatePausable
(isPaused$: Writable<boolean>)
packages/svelte-urql/src/common.ts:101
↓ 2 callersFunctioncreateRequestWithArgs
( args: | UseQueryArgs<T, V> | UseSubscriptionArgs<T, V> | { query: MaybeRefOrGetter<DocumentInp
packages/vue-urql/src/utils.ts:30
↓ 2 callersFunctiondebugExchange
({ forward })
packages/core/src/exchanges/debug.ts:18
↓ 2 callersFunctiondeepMerge
(target: any, source: any)
packages/core/src/utils/result.ts:59
← previousnext →101–200 of 705, ranked by callers