repo_description: Simple GraphQL Client for JavaScript. Minimal. Extensible. Type Safe. Runs everywhere.
repo_topics: graphql graphql-client lightweight nodejs typescript
code: import type { Configuration } from './fragments/configuration/_.js'
  import type { Extensions } from './fragments/extensions/_.js'
  import type { Properties } from './fragments/properties/_.js'
  import type { RequestInterceptors } from './fragments/requestInterceptors/_.js'
  import type { Scalars } from './fragments/scalars/_.js'
  import type { Transports } from './fragments/transports/_.js'
  // import type { ContextFragment } from './ContextFragment.js'
  // import { ContextFragments } from './ContextFragment.js'
  
  export interface Context
    extends
      Configuration.ContextFragment,
      Transports.ContextFragment,
      Properties.ContextFragment,
      RequestInterceptors.ContextFragment,
      Extensions.ContextFragment,
      Scalars.ContextFragment
  {
    // Type Level Properties
    /**
     * Type level augmentations.
     *
     * @remarks Typically added by extensions. Added here upon use for optimized type-level reads later on.
     */
    // typeHookOnRequestResult: Extension.TypeHooks.OnRequestResult[]
    // typeHookOnRequestDocumentRootType: Extension.TypeHooks.OnRequestDocumentRootType[]
    typeHookRequestResultDataTypes: unknown
  }
  
  // export namespace Context {
  //   // export const createReducer = <$Input>(
  //   //   fragmentReducer: ContextFragments.Reducer<ContextFragment, $Input>,
  //   // ): (context: Context, input: $Input) => Context => {
  //   //   return (context, input) => ContextFragments.merge(context, fragmentReducer(context, input))
  //   // }
  // }
  