UNPKG

@graphql-codegen/typescript-rtk-query

Version:

GraphQL Code Generator plugin for injecting graphql endpoints into a preconfigured RTK Query api

7 lines (6 loc) 373 B
import { PluginFunction, PluginValidateFn, Types } from '@graphql-codegen/plugin-helpers'; import { RTKQueryRawPluginConfig } from './config.js'; import { RTKQueryVisitor } from './visitor.js'; export declare const plugin: PluginFunction<RTKQueryRawPluginConfig, Types.ComplexPluginOutput>; export declare const validate: PluginValidateFn<any>; export { RTKQueryVisitor };