// tslint:disable // graphql typescript definitions export interface IGraphQLResponseRoot { data?: IQuery | ISubscription; 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; } /** description: Query type for all get requests which will not change persistent data */ export interface IQuery { __typename?: "Query"; findUser: IUserType | null; } export interface IUserType { __typename?: "UserType"; id: number | null; } /** description: Subscription type for all rabbitmq subscriptions via pub sub */ export interface ISubscription { __typename?: "Subscription"; findUser2: IUserType | null; } // tslint:enable