UNPKG

487 BTypeScriptView Raw
1import { SelectionSet } from "apollo-codegen-core/lib/compiler";
2import { GraphQLType } from "graphql";
3export declare type FragmentDependency = {
4 name: string;
5 importType: boolean;
6 importString: boolean;
7};
8declare type Dependencies = {
9 global: string[];
10 fragments: FragmentDependency[];
11};
12declare const Dependencies: (selectionSet: SelectionSet, variables?: {
13 name: string;
14 type: GraphQLType;
15}[] | undefined) => Dependencies;
16export default Dependencies;