Options
All
  • Public
  • Public/Protected
  • All
Menu

graphql-codegen-plugin-typescript-swr

Index

Functions

Const plugin

  • plugin(schema: GraphQLSchema, documents: Types.DocumentFile[], config: RawSWRPluginConfig): { content: string; prepend: string[] }
  • Parameters

    Returns { content: string; prepend: string[] }

    • content: string
    • prepend: string[]

Const validate

  • validate(_schema: GraphQLSchema, _documents: Types.DocumentFile[], _config: RawSWRPluginConfig, outputFile: string): Promise<void>
  • Parameters

    • _schema: GraphQLSchema
    • _documents: Types.DocumentFile[]
    • _config: RawSWRPluginConfig
    • outputFile: string

    Returns Promise<void>

Generated using TypeDoc