MCPcopy Create free account

hub / github.com/Econify/graphql-rest-router / functions

Functions100 in github.com/Econify/graphql-rest-router

↓ 12 callersMethodwithOption
(option: string, value: unknown)
src/Route.ts:346
↓ 10 callersMethodat
(path: string)
src/Route.ts:398
↓ 10 callersMethodmount
(operationOrMountableItem: string | IMountableItem, options?: any)
src/Router.ts:106
↓ 10 callersMethodsetLogLevel
(logLevel: LogLevel)
src/Route.ts:425
↓ 7 callersFunctionoptionsDeprecationWarning
(methodName: string)
src/Route.ts:28
↓ 6 callersMethoderror
(message: string)
src/Logger.ts:47
↓ 6 callersMethodsetLoggerObject
(loggerObject: ILogger)
src/Logger.ts:24
↓ 5 callersFunctionbuildParametersArray
( { variableDefinitions, variableLocation, refLocation } : IBuildParametersArguments )
src/OpenApi.ts:146
↓ 5 callersMethodset
(key: string, value: string, cacheTimeInMs = 0)
src/RedisCache.ts:20
↓ 5 callersMethodwarn
(message: string)
src/Logger.ts:41
↓ 4 callersMethoddebug
(message: string)
src/Logger.ts:29
↓ 4 callersMethodget
(key: string)
src/RedisCache.ts:16
↓ 4 callersMethodshouldLog
(level: LogLevel)
src/Logger.ts:15
↓ 4 callersMethodwithOptions
(options: IRouteOptions)
src/Route.ts:390
↓ 3 callersMethodas
(httpMethod: string)
src/Route.ts:404
↓ 3 callersFunctionbuildDefinition
(node: any)
src/OpenApi.ts:94
↓ 3 callersMethodinfo
(message: string)
src/Logger.ts:35
↓ 3 callersFunctiontraverseAndBuildOptimizedQuery
( schema: DocumentNode, operationName: string )
src/traverseAndBuildOptimizedQuery.ts:13
↓ 2 callersMethodasExpressRouter
()
src/Router.ts:168
↓ 2 callersFunctionbuildSchemaParameter
( variableDefinition: IOperationVariable, refLocation: string )
src/OpenApi.ts:127
↓ 2 callersFunctiondescribeRouteVariables
(router: Router)
src/describeRouteVariables.ts:63
↓ 2 callersMethodgetRouter
()
src/OpenApi.ts:210
↓ 2 callersFunctionopenApiPath
(path: string)
src/OpenApi.ts:123
↓ 2 callersFunctionresolveBodySchemaName
(route: Route)
src/OpenApi.ts:34
↓ 2 callersMethodtypecastVariables
(variables: { [key: string]: string })
src/Route.ts:273
↓ 1 callersMethodaddCacheKeyHeaders
(headers: string[] | string)
src/Route.ts:296
↓ 1 callersMethodaddPassThroughHeaders
(headers: string[] | string)
src/Route.ts:287
↓ 1 callersMethodasExpressRoute
()
src/Route.ts:306
↓ 1 callersMethodassembleVariables
(params: Record<string, unknown>)
src/Route.ts:255
↓ 1 callersFunctionattemptJSONParse
(variable: string)
src/Route.ts:83
↓ 1 callersFunctionbuildBodyDefinition
(variables: IOperationVariable[], refLocation: string)
src/OpenApi.ts:81
↓ 1 callersFunctionbuildEnumDefinition
(node: any)
src/OpenApi.ts:106
↓ 1 callersFunctionbuildIntrospectionQuery
(variables: string[])
src/describeRouteVariables.ts:41
↓ 1 callersFunctionbuildObjectDefinition
(node: any)
src/OpenApi.ts:64
↓ 1 callersFunctionbuildScalarDefinition
(node: any)
src/OpenApi.ts:50
↓ 1 callersMethodcheckCache
(fingerprint: string)
src/Route.ts:518
↓ 1 callersFunctioncleanPath
(path: string)
src/Route.ts:50
↓ 1 callersMethodconfigureRoute
(configuration: IConstructorRouteOptions)
src/Route.ts:156
↓ 1 callersFunctioncreateServer
()
example-consuming-client/src/index.ts:6
↓ 1 callersMethodfilterHeadersForPassThrough
(headers: IncomingHttpHeaders)
src/Route.ts:183
↓ 1 callersFunctionfindFragments
(selections: readonly SelectionNode[])
src/traverseAndBuildOptimizedQuery.ts:26
↓ 1 callersMethodgenerateDocumentation
()
src/OpenApi.ts:181
↓ 1 callersFunctiongetAllUsedVariables
(routes: Route[])
src/describeRouteVariables.ts:51
↓ 1 callersFunctiongetDefaultValue
(node: VariableDefinitionNode)
src/Route.ts:58
↓ 1 callersFunctiongetFragmentSchema
(fragmentName: string)
src/traverseAndBuildOptimizedQuery.ts:19
↓ 1 callersFunctiongetLogger
()
test/Router.test.js:88
↓ 1 callersFunctiongetMountedOperationDetails
()
test/Router.test.js:50
↓ 1 callersFunctiongetOperationName
()
test/Router.test.js:82
↓ 1 callersMethodgetOperationVariables
(operation: OperationDefinitionNode)
src/Route.ts:198
↓ 1 callersMethodgetRequestFingerprint
( path: string, variables: Record<string, unknown>, headers: Record<string, unknown>, )
src/Route.ts:499
↓ 1 callersFunctionisVariableArray
(node: VariableDefinitionNode | NonNullTypeNode)
src/Route.ts:34
↓ 1 callersMethodlisten
(port: number, callback?: () => void)
src/Router.ts:160
↓ 1 callersMethodmakeRequest
( variables: Record<string, unknown>, headers: IncomingHttpHeaders = {} )
src/Route.ts:529
↓ 1 callersMethodmissingVariables
(variables: Record<string, unknown>)
src/Route.ts:261
↓ 1 callersMethodmonitorStoreForExpiredValues
()
src/InMemoryCache.ts:26
↓ 1 callersMethodonMount
(router: Router)
src/ApiBlueprint.ts:15
↓ 1 callersMethodqueryForOperation
(operationName: string)
src/Router.ts:82
↓ 1 callersMethodsetDefaultTransforms
()
src/Route.ts:141
↓ 1 callersMethodsetOperationName
(operationName?: string)
src/Route.ts:218
↓ 1 callersFunctiontranslateScalarType
(scalarType: string)
src/OpenApi.ts:38
↓ 1 callersFunctiontranslateVariableType
(node: VariableDefinitionNode | ListTypeNode | NonNullTypeNode)
src/Route.ts:42
↓ 1 callersFunctiontypecastVariable
( variable: string, variableDefinition: IOperationVariable )
src/Route.ts:91
MethodaddCacheKeyHeader
(header: string)
src/Route.ts:411
MethodasExpressRoute
()
src/ApiBlueprint.ts:37
MethodasExpressRoute
()
src/OpenApi.ts:190
MethodasKoaRoute
()
src/Route.ts:336
MethodasKoaRoute
()
src/ApiBlueprint.ts:41
MethodasKoaRoute
()
src/OpenApi.ts:202
MethodasKoaRouter
()
src/Router.ts:183
MethodasMetal
()
src/Route.ts:340
MethodasMetal
()
src/ApiBlueprint.ts:45
MethodasMetal
()
src/OpenApi.ts:206
Methodat
(path: string)
src/ApiBlueprint.ts:21
Methodat
(path: string)
src/OpenApi.ts:175
MethodbodyVariables
()
src/Route.ts:468
FunctionbuildQueryForVariable
(variableName: string)
src/describeRouteVariables.ts:33
Methodconstructor
(configuration: IConstructorRouteOptions)
src/Route.ts:137
Methodconstructor
(storeExpirationCheckInMs?: number)
src/InMemoryCache.ts:8
Methodconstructor
()
src/ApiBlueprint.ts:11
Methodconstructor
(protected options: IOpenApiOptions)
src/OpenApi.ts:166
Methodconstructor
(public endpoint: string, schema?: string, assignedConfiguration?: IGlobalConfiguration)
src/Router.ts:41
Methodconstructor
(options?: ClientOpts)
src/RedisCache.ts:10
MethoddisableCache
()
src/Route.ts:453
MethodgenerateDocumentation
()
src/OpenApi.ts:228
MethodgenerateDocumentation
()
src/OpenApi.ts:343
Methodget
(key: string)
src/InMemoryCache.ts:16
MethodnonPathVariables
()
src/Route.ts:490
MethodonMount
(router: Router)
src/OpenApi.ts:169
MethodpathVariables
()
src/Route.ts:476
MethodqueryVariables
()
src/Route.ts:460
MethodrequiredVariables
()
src/Route.ts:229
Methodset
(key: string, value: string, cacheTimeInMs = 0)
src/InMemoryCache.ts:20
MethodsetCacheTimeInMs
(cacheTimeInMs: number)
src/Route.ts:446
MethodsetLogLevel
(level: LogLevel)
src/Logger.ts:19
MethodtransformRequest
(fn: AxiosTransformer)
src/Route.ts:432
MethodtransformResponse
(fn: AxiosTransformer)
src/Route.ts:439
MethodwarnForUsageOfStaticVariables
(params: Record<string, unknown>)
src/Route.ts:239
MethodwhitelistHeaderForPassThrough
(header: string)
src/Route.ts:418
MethodwithOptions
(options: Record<string, unknown>)
src/ApiBlueprint.ts:27
MethodwithOptions
(options: IGlobalConfiguration)
src/OpenApi.ts:186