MCPcopy Index your code

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

Functions705 in github.com/urql-graphql/urql

↓ 2 callersFunctiondeleteLayer
(data: InMemoryData, layerKey: number)
exchanges/graphcache/src/store/data.ts:624
↓ 2 callersFunctiondeserializeKeyInfo
(key: string)
exchanges/graphcache/src/store/keys.ts:30
↓ 2 callersFunctiondispatchOperation
(operation?: Operation | void)
packages/core/src/client.ts:579
↓ 2 callersFunctionemit
(index: number)
exchanges/graphcache/src/extras/relayPagination.ts:250
↓ 2 callersFunctionensureLink
(store: Store, ref: Link<Entity>)
exchanges/graphcache/src/operations/shared.ts:326
↓ 2 callersFunctionexchange
({ client })
packages/core/src/client.test.ts:366
↓ 2 callersMethodexecuteMutation
Triggers {@link useMutation} to execute its GraphQL mutation operation. * * @param variables - variables using which the mutation will be execut
packages/vue-urql/src/useMutation.ts:87
↓ 2 callersFunctionexecuteQuery
(query, opts)
packages/core/src/client.ts:801
↓ 2 callersFunctionexecuteRaw
(opts?: Partial<OperationContext>)
packages/vue-urql/src/utils.ts:105
↓ 2 callersFunctionexpectObjectType
(schema: SchemaIntrospector, typename: string)
exchanges/graphcache/src/ast/schemaPredicates.ts:106
↓ 2 callersFunctionextractNodeFields
( fieldInfos: FieldInfo[], seenFieldKeys: Set<string>, node: Dict<T> | undefined )
exchanges/graphcache/src/store/data.ts:370
↓ 2 callersFunctionextractNodeMapFields
( fieldInfos: FieldInfo[], seenFieldKeys: Set<string>, entityKey: string, map: NodeMap<T> )
exchanges/graphcache/src/store/data.ts:388
↓ 2 callersFunctionfilterQueue
(key: number)
exchanges/graphcache/src/offlineExchange.ts:116
↓ 2 callersFunctionforward
exchanges/refocus/src/refocusExchange.test.ts:71
↓ 2 callersFunctiongetFragmentTypeName
(node: FragmentDefinitionNode)
exchanges/graphcache/src/ast/node.ts:25
↓ 2 callersFunctiongetNodesByType
( query: DocumentNode, type: T )
exchanges/populate/src/populateExchange.test.ts:105
↓ 2 callersFunctiongetOperationName
(query: DocumentNode)
packages/core/src/utils/request.ts:187
↓ 2 callersFunctiongetRefCount
(entityKey: string)
exchanges/graphcache/src/store/data.ts:344
↓ 2 callersFunctiongetRefreshToken
()
examples/with-refresh-auth/src/authStore.js:13
↓ 2 callersFunctiongetSummaryLines
scripts/changesets/changelog.js:11
↓ 2 callersFunctiongetTransactionPromise
(transaction: IDBTransaction)
exchanges/graphcache/src/default-storage/index.ts:19
↓ 2 callersFunctiongetTypeCondition
(node: { typeCondition?: NamedTypeNode; })
exchanges/graphcache/src/ast/node.ts:42
↓ 2 callersFunctionhasDepsChanged
(a: T, b: T)
packages/react-urql/src/hooks/state.ts:64
↓ 2 callersFunctionhashDocument
( node: string | DefinitionNode | DocumentNode )
packages/core/src/utils/request.ts:105
↓ 2 callersFunctionhighlightText
(text, indices)
packages/site/src/components/sidebar.js:151
↓ 2 callersFunctioninitAuth
()
exchanges/auth/src/authExchange.ts:228
↓ 2 callersFunctioninvalidateEntity
( entityKey: string, field?: string, args?: FieldArgs )
exchanges/graphcache/src/operations/invalidate.ts:9
↓ 2 callersFunctionisBlockedByOptimisticUpdate
( dependencies: Dependencies )
exchanges/graphcache/src/cacheExchange.ts:92
↓ 2 callersFunctionisEqualLinkOrScalar
( a: Link | EntityField | undefined, b: Link | EntityField | undefined )
exchanges/graphcache/src/store/data.ts:730
↓ 2 callersFunctionisFieldAvailableOnType
( schema: SchemaIntrospector, typename: string, fieldName: string, logger: Logger | undefined )
exchanges/graphcache/src/ast/schemaPredicates.ts:43
↓ 2 callersFunctionisFieldNullable
( schema: SchemaIntrospector, typename: string, fieldName: string, logger: Logger | undefined )
exchanges/graphcache/src/ast/schemaPredicates.ts:20
↓ 2 callersFunctionisListNullable
( schema: SchemaIntrospector, typename: string, fieldName: string, logger: Logger | undefined )
exchanges/graphcache/src/ast/schemaPredicates.ts:30
↓ 2 callersFunctionisOperationCached
(operation: Operation)
packages/core/src/exchanges/cache.ts:57
↓ 2 callersMethodlink
Updates the relation (“link”) from an entity’s field to another entity. * * @param entity - a GraphQL object (“entity”) or an entity key. * @
exchanges/graphcache/src/types.ts:511
↓ 2 callersFunctionmakeBasePlugins
()
scripts/rollup/plugins.mjs:19
↓ 2 callersFunctionmakeNetworkExchange
()
packages/vue-urql/src/ssr-hydration.test.ts:21
↓ 2 callersFunctionmakeResultSource
(operation: Operation)
packages/core/src/client.ts:591
↓ 2 callersMethodmutate
Sends a mutation to your GraphQL API, bypassing earlier exchanges and authentication. * * @param query - a GraphQL document containing the mutat
exchanges/auth/src/authExchange.ts:43
↓ 2 callersFunctionnextResult
(value: ExecutionResult)
packages/core/src/exchanges/subscription.ts:145
↓ 2 callersFunctionnoopDataState
( data: InMemoryData, layerKey: number | null, isOptimistic?: boolean )
exchanges/graphcache/src/store/data.ts:218
↓ 2 callersFunctionnormalize
scripts/rollup/settings.mjs:10
↓ 2 callersFunctionnormalize
scripts/prepare/index.js:23
↓ 2 callersFunctiononLoginSuccess
examples/with-graphcache-updates/src/App.jsx:11
↓ 2 callersFunctiononLoginSuccess
examples/with-refresh-auth/src/App.jsx:13
↓ 2 callersFunctionpage
exchanges/graphcache/src/extras/relayPagination.test.ts:748
↓ 2 callersFunctionpage
exchanges/graphcache/src/extras/simplePagination.test.ts:401
↓ 2 callersMethodpause
Pauses a GraphQL operation to stop it from executing. * * @remarks * Pauses an {@link OperationResultStore}’s GraphQL operation, which * s
packages/svelte-urql/src/common.ts:85
↓ 2 callersFunctionposixPath
scripts/prepare/index.js:32
↓ 2 callersFunctionreadRoot
( ctx: Context, entityKey: string, select: FormattedNode<SelectionSet>, input: Data )
exchanges/graphcache/src/operations/query.ts:132
↓ 2 callersFunctionrefreshAuth
(operation: Operation)
exchanges/auth/src/authExchange.ts:302
↓ 2 callersFunctionrequestPolicyExchange
(options: Options)
exchanges/request-policy/src/requestPolicyExchange.ts:56
↓ 2 callersFunctionresolveResolverResult
( ctx: Context, typename: string, fieldName: string, key: string, select: FormattedNode<SelectionSet
exchanges/graphcache/src/operations/query.ts:602
↓ 2 callersMethodresume
Resumes a paused GraphQL operation if it’s currently paused. * * @remarks * Resumes or starts {@link OperationResultStore}’s GraphQL operatio
packages/svelte-urql/src/common.ts:95
↓ 2 callersFunctionsanitizeDocument
(node: string)
packages/core/src/utils/request.ts:39
↓ 2 callersFunctionsaveAuthData
({ token, refreshToken })
examples/with-refresh-auth/src/authStore.js:4
↓ 2 callersFunctionsetNode
( map: NodeMap<T>, entityKey: string, fieldKey: string, value: T )
exchanges/graphcache/src/store/data.ts:267
↓ 2 callersFunctionsortDependencies
scripts/actions/lib/packages.mjs:10
↓ 2 callersFunctionstreamBody
( response: Response )
packages/core/src/internal/fetchSource.ts:55
↓ 2 callersFunctionstreamToBoundedChunks
( chunks: AsyncIterableIterator<ChunkData>, boundary: string )
packages/core/src/internal/fetchSource.ts:71
↓ 2 callersFunctiontemplateSeeRef
scripts/changesets/changelog.js:24
↓ 2 callersFunctiontraverse
( node: ASTNode, enter?: (n: ASTNode) => ASTNode | void, exit?: (n: ASTNode) => ASTNode | void )
exchanges/populate/src/helpers/traverse.ts:13
↓ 2 callersFunctionupdateCacheWithResult
( result: OperationResult, pendingOperations: Operations )
exchanges/graphcache/src/cacheExchange.ts:248
↓ 2 callersFunctionupdateDependencies
(op: Operation, dependencies: Dependencies)
exchanges/graphcache/src/cacheExchange.ts:207
↓ 2 callersFunctionupdateMetadata
()
exchanges/graphcache/src/offlineExchange.ts:99
↓ 2 callersFunctionupdatePersist
(entityKey: string, fieldKey: string)
exchanges/graphcache/src/store/data.ts:450
↓ 2 callersFunctionupdateResult
( result: Partial<UseSubscriptionState<Data, Variables>> )
packages/react-urql/src/hooks/useSubscription.ts:263
↓ 2 callersFunctionuseClientState
( args: UseQueryArgs<T, V> | UseSubscriptionArgs<T, V>, client: Ref<Client>, method: keyof Pick<Client,
packages/vue-urql/src/utils.ts:66
↓ 2 callersFunctionuseMutation
(query: DocumentInput<Data, Variables>)
packages/preact-urql/src/hooks/useMutation.ts:145
↓ 2 callersFunctionuseMutation
(query: DocumentInput<Data, Variables>)
packages/react-urql/src/hooks/useMutation.ts:145
↓ 2 callersFunctionuseQuery
(args: UseQueryArgs<Variables, Data>)
packages/preact-urql/src/hooks/useQuery.ts:259
↓ 2 callersFunctionuseQuery
( args: UseQueryArgs<Variables, Data> )
packages/next-urql/src/useQuery.ts:200
↓ 2 callersFunctionuseRequest
( query: string | DocumentNode | TypedDocumentNode<Data, Variables>, variables: Variables )
packages/preact-urql/src/hooks/useRequest.ts:13
↓ 2 callersFunctionuseSource
( input: T, transform: (input$: Source<T>, initial?: R) => Source<R> )
packages/preact-urql/src/hooks/useSource.ts:35
↓ 2 callersFunctionuseSubscription
( args: UseSubscriptionArgs<Variables, Data>, handler?: SubscriptionHandler<Data, Result> )
packages/preact-urql/src/hooks/useSubscription.ts:218
↓ 2 callersFunctionuseSubscription
( args: UseSubscriptionArgs<Variables, Data>, handler?: SubscriptionHandler<Data, Result> )
packages/react-urql/src/hooks/useSubscription.ts:225
↓ 2 callersFunctionuseUrqlValue
(operationKey: number)
packages/next-urql/src/useUrqlValue.ts:12
↓ 2 callersFunctionwithPromise
( _source$: Source<T> )
packages/core/src/utils/streamUtils.ts:10
↓ 2 callersFunctionwriteField
( ctx: Context, select: FormattedNode<SelectionSet>, data: null | Data | NullArray<Data>, parentFieldK
exchanges/graphcache/src/operations/write.ts:420
↓ 2 callersFunctionwriteLink
( entityKey: string, fieldKey: string, link?: Link | undefined )
exchanges/graphcache/src/store/data.ts:532
↓ 2 callersMethodwriteMetadata
Called by the {@link offlineExchange} to persist failed mutations. * @remarks * `writeMetadata` is called when a mutation failed to persist a qu
exchanges/graphcache/src/types.ts:992
↓ 2 callersFunctionwriteRecord
( entityKey: string, fieldKey: string, value?: EntityField )
exchanges/graphcache/src/store/data.ts:513
↓ 1 callersFunction_queryFragment
( store: Store, query: FormattedNode<DocumentNode>, entity: Partial<Data> | string, variables?: Variab
exchanges/graphcache/src/operations/query.ts:220
↓ 1 callersFunction_writeFragment
( store: Store, query: FormattedNode<DocumentNode>, data: Partial<Data>, variables?: Variables, frag
exchanges/graphcache/src/operations/write.ts:132
↓ 1 callersFunctionaction
(fn: any, _key?: string)
packages/solid-start-urql/src/createMutation.test.ts:15
↓ 1 callersMethodaddAuthToOperation
Called for every operation to add authentication data to your operation. * * @param operation - An {@link Operation} that needs authentication t
exchanges/auth/src/authExchange.ts:82
↓ 1 callersFunctionareOperationsEqual
( a: { key: number } | undefined, b: { key: number } | undefined )
packages/preact-urql/src/hooks/useSource.ts:13
↓ 1 callersFunctionareOperationsEqual
( a: { key: number } | undefined, b: { key: number } | undefined )
packages/react-urql/src/hooks/state.ts:14
↓ 1 callersFunctionbuildContext
({ nonce }: { nonce?: string })
packages/next-urql/src/DataHydrationContext.ts:63
↓ 1 callersFunctionbuildType
( type: IntrospectionType )
exchanges/graphcache/src/ast/schema.ts:64
↓ 1 callersMethodclear
Clears the entire `AsyncStorage`.
packages/storage-rn/src/makeAsyncStorage.ts:35
↓ 1 callersFunctionclearStorage
()
examples/with-refresh-auth/src/authStore.js:17
↓ 1 callersFunctioncollectTypes
(obj: EntityLike | EntityLike[], types: Set<string>)
packages/core/src/utils/collectTypenames.ts:6
↓ 1 callersFunctioncompareArgs
( fieldArgs: Variables, connectionArgs: Variables )
exchanges/graphcache/src/extras/relayPagination.ts:92
↓ 1 callersFunctioncompareArgs
( fieldArgs: Variables, connectionArgs: Variables )
exchanges/graphcache/src/extras/simplePagination.ts:43
↓ 1 callersFunctioncopyFallBack
packages/site/src/screens/home/hero.js:186
↓ 1 callersFunctioncreateLayer
(data: InMemoryData, layerKey: number)
exchanges/graphcache/src/store/data.ts:601
↓ 1 callersFunctioncreateLink
(result, _args, cache, _info)
examples/with-graphcache-updates/src/client.js:8
↓ 1 callersFunctioncreateMutation
( query: DocumentInput<Data, Variables> )
packages/solid-urql/src/createMutation.ts:135
↓ 1 callersFunctioncreateSubscription
( args: CreateSubscriptionArgs<Data, Variables>, handler?: SubscriptionHandler<Data, Result> )
packages/solid-start-urql/src/createSubscription.ts:55
↓ 1 callersFunctioncreateSubscriptionSource
( operation: Operation )
packages/core/src/exchanges/subscription.ts:132
← previousnext →201–300 of 705, ranked by callers