/* eslint-disable */
import * as Types from "../../gql/graphql";
import * as gm from "graphql-modules";
export namespace ExampleModule {
  interface DefinedFields {
    Query: 'world' | 'worlds';
    Mutation: 'setMessage';
    World: 'x' | 'y';
  };
  
  export type Query = Pick<Types.Query, DefinedFields['Query']>;
  export type World = Pick<Types.World, DefinedFields['World']>;
  export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
  
  export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
  export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
  export type WorldResolvers = Pick<Types.WorldResolvers, DefinedFields['World'] | '__isTypeOf'>;
  
  export interface Resolvers {
    Query?: QueryResolvers;
    Mutation?: MutationResolvers;
    World?: WorldResolvers;
  };
  
  export interface MiddlewareMap {
    '*'?: {
      '*'?: gm.Middleware[];
    };
    Query?: {
      '*'?: gm.Middleware[];
      world?: gm.Middleware[];
      worlds?: gm.Middleware[];
    };
    Mutation?: {
      '*'?: gm.Middleware[];
      setMessage?: gm.Middleware[];
    };
    World?: {
      '*'?: gm.Middleware[];
      x?: gm.Middleware[];
      y?: gm.Middleware[];
    };
  };
}