// tslint:disable // graphql typescript definitions export interface IGraphQLResponseRoot { data?: IQuery | IMutation; errors?: Array; } export interface IGraphQLResponseError { message: string; // Required for all errors locations?: Array; [propName: string]: any; // 7.2.2 says 'GraphQL servers may provide additional entries to error' } export interface IGraphQLResponseErrorLocation { line: number; column: number; } export interface IQuery { __typename?: "Query"; findUser: IUserType | null; initQuery: IUserType | null; } export interface IUserType { __typename?: "UserType"; id: number | null; email: string | null; } export interface IMutation { __typename?: "Mutation"; deleteUser: IUserType | null; } // tslint:enable