You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@silgi/graphql

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silgi/graphql

This directory contains all TypeScript type definitions for the GraphQL module, organized into logical groups:

0.7.14
latest
npmnpm
Version published
Weekly downloads
59
180.95%
Maintainers
2
Weekly downloads
 
Created
Source

GraphQL Types Organization

This directory contains all TypeScript type definitions for the GraphQL module, organized into logical groups:

Type Files

graphql.ts

Core GraphQL data structure types:

  • GraphQLJSON - JSON representation of GraphQL schema structure

codegen.ts

GraphQL code generation related types:

  • CodegenServerConfig - Server-side TypeScript codegen configuration
  • CodegenClientConfig - Client-side TypeScript codegen configuration
  • GraphQLCodegenPlugin - Custom codegen plugin function type

runtime.ts

Runtime-specific types (reserved for future use)

hooks.ts

Module hook and configuration types:

  • ModuleOptions - GraphQL module configuration options
  • ModuleRuntimeOptions - Runtime configuration options
  • SetupModuleOption - Setup phase options
  • ModuleRuntimeMethods - Runtime method definitions
  • MetaData - GraphQL endpoint metadata
  • ModuleHooks - Available module hooks
  • GraphQLDataLoaderNames - DataLoader name interface

loader.ts

Schema and document loading types:

  • GraphQLLoadSchemaOptions - Schema loading options
  • GraphQLLoadDocumentsOptions - Document loading options
  • GraphQLTypeDefPointer - Type definition pointer
  • GraphQLSource - GraphQL source document

server.ts

Server-specific types:

  • EnvelopedExecutionArgs - Enveloped GraphQL execution arguments
  • GraphQLYogaInstance - Yoga server instance type

directives.ts

GraphQL directive types:

  • PermissionDirective - Permission directive configuration
  • DirectiveTransformer - Schema directive transformer function

schema.ts

Schema extraction and analysis types:

  • ExtractPathOptions - Options for path extraction
  • SchemaExtractionResult - Schema extraction result

Usage

All types are re-exported from the main index.ts file:

import type {
  CodegenServerConfig,
  GraphQLJSON,
  ModuleOptions,
  // ... etc
} from '@silgi/graphql/types'

FAQs

Package last updated on 09 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts