MCPcopy Create free account

hub / github.com/ardatan/graphql-tools / functions

Functions1,469 in github.com/ardatan/graphql-tools

FunctioncollectFallback
({ queue, pointer, options, pointerOptions, addSource, }: CollectOptions<T>)
packages/load/src/load-typedefs/collect-sources.ts:246
FunctioncollectFallbackSync
({ queue, pointer, options, pointerOptions, addSource, }: CollectOptions<T>)
packages/load/src/load-typedefs/collect-sources.ts:269
FunctioncolorTest
(_root: any, args: { color: string })
packages/schema/tests/schemaGenerator.test.ts:1203
Functioncommit
(_x)
packages/relay-compiler/lib/runner/BufferedFilesystem.js:89
FunctioncompileAll
()
packages/relay-compiler/lib/codegen/CodegenRunner.js:112
FunctioncompileArtifacts
(_ref)
packages/relay-compiler/lib/runner/compileArtifacts.js:21
Functioncomplete
()
packages/utils/src/observableToAsyncIterable.ts:68
Methodconstructor
(type: GraphQLScalarType, maxLength: number)
packages/utils/tests/mapSchema.test.ts:641
Methodconstructor
(executor: Executor)
packages/executors/apollo-link/src/index.ts:52
Methodconstructor
( public readonly identity: string, public readonly name: string | null, public readonly version:
packages/import/src/link/link-url.ts:21
Methodconstructor
( public name: string, public as: string | null, )
packages/import/src/link/link-import.ts:4
Methodconstructor
( private readonly _url: FederatedLinkUrl, private readonly _as: string | null, private readonly _
packages/import/src/link/link.ts:65
Methodconstructor
(opts: { label: string | undefined; path: Path | undefined; parentContext: AsyncPayloadRecord | un
packages/executor/src/execution/execute.ts:2305
Methodconstructor
(opts: { label: string | undefined; path: Path | undefined; iterator?: AsyncIterator<unknown>;
packages/executor/src/execution/execute.ts:2353
Methodconstructor
(name: string, woofs: boolean)
packages/executor/src/execution/__tests__/abstract-test.ts:41
Methodconstructor
(name: string, meows: boolean)
packages/executor/src/execution/__tests__/abstract-test.ts:51
Methodconstructor
(num: number)
packages/executor/src/execution/__tests__/resolve-test.ts:61
Methodconstructor
(value: string)
packages/executor/src/execution/__tests__/executor-test.ts:1070
Methodconstructor
(value: string)
packages/executor/src/execution/__tests__/executor-test.ts:1078
Methodconstructor
(name: string, barks: boolean)
packages/executor/src/execution/__tests__/union-interface-test.ts:20
Methodconstructor
(name: string, meows: boolean)
packages/executor/src/execution/__tests__/union-interface-test.ts:34
Methodconstructor
( name: string, pets?: ReadonlyArray<Dog | Cat>, friends?: ReadonlyArray<Dog | Cat | Person>, )
packages/executor/src/execution/__tests__/union-interface-test.ts:46
Methodconstructor
(originalNumber: number)
packages/executor/src/execution/__tests__/mutations-test.ts:9
Methodconstructor
(originalNumber: number)
packages/executor/src/execution/__tests__/mutations-test.ts:17
Methodconstructor
(config?: CodeFileLoaderConfig)
packages/loaders/code-file/src/index.ts:85
Methodconstructor
(@Optional() cd: ChangeDetectorRef)
packages/loaders/code-file/tests/test-files/with-decorator-doc.ts:19
Methodconstructor
* @param length Either the exact length of items to return or an inclusive * range of possible lengths. * @param mockFunction The function to ca
packages/mock/src/MockList.ts:31
Methodconstructor
({ schema, mocks, mockGenerationBehavior = 'random', typePolicies, }: { schema: GraphQLS
packages/mock/src/MockStore.ts:67
Methodconstructor
(pointerList: string[])
packages/load/src/load-typedefs.ts:150
Methodconstructor
()
packages/testing/simplePubSub.ts:11
FunctionconvertASTDocuments
(schema, documents, transform)
packages/relay-compiler/lib/core/ASTConvert.js:25
FunctionconvertASTDocumentsWithBase
(schema, baseDocuments, documents, transform)
packages/relay-compiler/lib/core/ASTConvert.js:40
FunctioncorrectCWD
()
packages/testing/utils.ts:56
FunctioncreateBook
(_parent, args)
packages/utils/tests/mapSchema.test.ts:754
FunctioncreateEmptyState
()
packages/relay-compiler/lib/runner/Artifacts.js:30
FunctioncreatePrintRequireModuleDependency
()
packages/relay-compiler/lib/codegen/createPrintRequireModuleDependency.js:13
FunctioncreateStub
(node: TypeNode, type: any)
packages/utils/src/stub.ts:49
FunctioncreateVariableNameGenerator
( variableDefinitionMap: Record<string, VariableDefinitionNode>, )
packages/utils/src/updateArgument.ts:53
FunctioncustomExtractExports
(fileExport: any)
packages/load-files/tests/file-scanner.spec.ts:237
FunctioncustomFetch
(_, opts)
packages/loaders/url/tests/url-loader.spec.ts:76
FunctiondeclareExportOpaqueType
* declare export type NAME = VALUE
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:72
FunctiondedupeJSONStringify
* This function works similar to JSON.stringify except that for the case there * are multiple common subtrees, it generates a string for a IIFE that
packages/relay-compiler/lib/util/dedupeJSONStringify.js:18
FunctiondeeperNestedFriendList
()
packages/executor/src/execution/__tests__/stream-test.ts:1186
FunctiondefaultAsyncIteratorReturn
(value?: any)
packages/utils/src/withCancel.ts:3
FunctiondefaultGetFileFilter
(baseDir)
packages/relay-compiler/lib/core/RelaySourceModuleParser.js:103
MethoddefaultImport
()
packages/import/src/link/link.ts:110
FunctiondefaultIsGeneratedFile
(filePath)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:347
FunctiondefaultIsGqlTemplateLiteral
(node: any, options: { gqlMagicComment?: string })
packages/graphql-tag-pluck/src/visitor.ts:163
FunctiondefaultPersistFunction
(text)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:411
FunctiondefaultPluckStringFromFile
( code: string, { start, end }: { start: number; end: number }, options: { skipIndent?: boolean } = {},
packages/graphql-tag-pluck/src/visitor.ts:145
FunctiondefaultRequireMethod
(path: string)
packages/load-files/src/index.ts:253
FunctiondefaultStringComparator
(a: string | undefined, b: string | undefined)
packages/merge/src/typedefs-mergers/utils.ts:50
FunctiondefaultSyncFetch
( input: RequestInfo, init?: RequestInit, )
packages/loaders/url/src/defaultSyncFetch.ts:4
FunctiondefaultTypeResolver
( value, contextValue, info, abstractType, )
packages/executor/src/execution/execute.ts:1513
FunctiondeferStreamTransform
* This transform finds usages of @defer and @stream, validates them, and * converts the using node to specialized IR nodes (Defer/Stream).
packages/relay-compiler/lib/transforms/DeferStreamTransform.js:34
FunctiondeserializeState
(json)
packages/relay-compiler/lib/runner/Artifacts.js:72
FunctiondisallowIdAsAlias
* This is not an actual transform (but more a validation) * Relay does not allow aliasing fields to `id`.
packages/relay-compiler/lib/transforms/DisallowIdAsAlias.js:35
FunctiondisallowTypenameOnRoot
(context)
packages/relay-compiler/lib/transforms/DisallowTypenameOnRoot.js:48
FunctiondoNotPruneTypeWithBar
(type: GraphQLNamedType)
packages/utils/tests/prune.test.ts:377
MethodemptyQueue
()
packages/testing/simplePubSub.ts:28
Functionenable
()
packages/relay-compiler/lib/core/GraphQLCompilerProfiler.js:44
FunctionensureAsyncIterable
( someExecutionResult: SingularExecutionResult | IncrementalExecutionResults, )
packages/executor/src/execution/execute.ts:1697
Functionerror
(err: Error)
packages/utils/src/observableToAsyncIterable.ts:65
FunctionexecutorToExecuteFn
(executionArgs: ExecutionArgs)
packages/executors/envelop/src/index.ts:31
Functionexit
(path: any)
packages/graphql-tag-pluck/src/visitor.ts:373
FunctionexpectEqualPromisesOrValues
( items: ReadonlyArray<MaybePromise<T>>, )
packages/executor/src/__testUtils__/expectEqualPromisesOrValues.ts:12
FunctionexpectPromise
(maybePromise: unknown)
packages/executor/src/__testUtils__/expectPromise.ts:3
FunctionexpectToThrowJSON
(fn: () => unknown)
packages/executor/src/__testUtils__/expectJSON.ts:58
FunctionexportType
* export type NAME = TYPE
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:50
FunctionexportTypes
* export type {A, B, C}
packages/relay-compiler/lib/language/javascript/RelayFlowBabelFactories.js:57
FunctionextendASTSchema
* Extends a GraphQLSchema with a list of schema extensions in AST form.
packages/relay-compiler/lib/core/ASTConvert.js:143
FunctionextractFromJS
(baseDir, file)
packages/relay-compiler/lib/runner/extractAST.js:21
FunctionfieldResolver
(_source, _args, _context, info)
packages/executor/src/execution/__tests__/executor-test.ts:1197
FunctionfilterContextForNode
* Returns a CompilerContext containing only the documents referenced * by and including the provided node.
packages/relay-compiler/lib/core/filterContextForNode.js:22
FunctionfilterDirectivesTransform
* A transform that removes any directives that are only interpreted by the Relay compiler.
packages/relay-compiler/lib/transforms/FilterCompilerDirectivesTransform.js:19
FunctionfilterDirectivesTransform
* A transform that removes any directives that were not present in the * server schema.
packages/relay-compiler/lib/transforms/FilterDirectivesTransform.js:19
Functionfind
(tagFinder, text, absPath)
packages/relay-compiler/lib/core/RelayFindGraphQLTags.js:37
Functionfirst
()
packages/executor/src/execution/__tests__/abort-signal.test.ts:148
FunctionfixSchemaAst
( schema: GraphQLSchema, options: BuildSchemaOptions & SchemaPrintOptions, )
packages/utils/src/fixSchemaAst.ts:12
FunctionforChanges
(nodes, changedNames)
packages/relay-compiler/lib/runner/GraphQLASTNodeGroup.js:105
FunctionforFullBuild
(nodes, baseNodes)
packages/relay-compiler/lib/runner/GraphQLASTNodeGroup.js:97
FunctionformatFilepath
(filepath)
packages/relay-compiler/lib/runner/BufferedFilesystem.js:271
FunctionformatGeneratedCommonjsModule
(options)
packages/relay-compiler/lib/language/javascript/formatGeneratedModule.js:36
FunctionformatGeneratedESModule
(options)
packages/relay-compiler/lib/language/javascript/formatGeneratedModule.js:40
FunctionfragmentMetadata
(_ref2)
packages/relay-compiler/lib/transforms/RelayDirectiveTransform.js:72
FunctionfragmentSpreadMetadata
(_ref3)
packages/relay-compiler/lib/transforms/RelayDirectiveTransform.js:99
FunctionfriendList
()
packages/executor/src/execution/__tests__/stream-test.ts:505
MethodfromTypedefs
(node: ValueNode)
packages/import/src/link/link-import.ts:13
FunctiongenerateIDFieldTransform
* A transform that adds an `id` field on any type that has an id field but * where there is no unaliased `id` selection.
packages/relay-compiler/lib/transforms/GenerateIDFieldTransform.js:36
FunctiongenerateMessages
()
packages/executor/src/execution/__tests__/subscribe.test.ts:1119
FunctiongenerateMetadata
(props: NextPageProps<'...mdxPath'>)
website/src/app/docs/[[...mdxPath]]/page.tsx:8
FunctiongenerateMetadata
(props: NextPageProps<'...slug'>)
website/src/app/changelogs/[...slug]/page.tsx:49
FunctiongenerateStaticParams
()
website/src/app/changelogs/[...slug]/page.tsx:29
FunctiongenerateTypeNameTransform
* A transform that adds `__typename` field on any `LinkedField` of a union or * interface type where there is no unaliased `__typename` selection.
packages/relay-compiler/lib/transforms/GenerateTypeNameTransform.js:35
Functionget
(asyncIterator, prop, receiver)
packages/utils/src/withCancel.ts:27
Methodget
( _typeName: string | Ref<KeyT> | GetArgs<KeyT>, _key?: KeyT | { [fieldName: string]: any } | string |
packages/mock/src/MockStore.ts:94
FunctiongetAsyncIterableWithCancel
( asyncIterable: TAsyncIterable, onCancel: (value?: TReturn) => void | Promise<void>, )
packages/utils/src/withCancel.ts:43
FunctiongetChangedNodeNames
(projectStates, projects)
packages/relay-compiler/lib/runner/getChangedNodeNames.js:22
FunctiongetCodegenRunner
(config)
packages/relay-compiler/lib/bin/RelayCompilerMain.js:307
FunctiongetDefinitionNodeHash
(node)
packages/relay-compiler/lib/util/getDefinitionNodeHash.js:18
← previousnext →1,101–1,200 of 1,469, ranked by callers