UNPKG

@graphql-codegen/flutter-freezed

Version:

GraphQL Code Generator plugin to generate Freezed models from your GraphQL schema

11 lines (10 loc) 389 B
import { ObjectType } from '../config/plugin-config.js'; /** * stores an instance of `ObjectTypeDefinitionNode` or `InputObjectTypeDefinitionNode` using the node name as the key * and returns that node when replacing placeholders * */ export declare class NodeRepository { private _store; get(key: string): ObjectType | undefined; register(node: ObjectType): ObjectType; }