// tslint:disable // graphql typescript definitions export namespace GQL { interface IGraphQLResponseRoot { data?: IQuery | IMutation; errors?: Array; } interface IGraphQLResponseError { /** Required for all errors */ message: string; locations?: Array; /** 7.2.2 says 'GraphQL servers may provide additional entries to error' */ [propName: string]: any; } interface IGraphQLResponseErrorLocation { line: number; column: number; } interface IQuery { __typename: 'Query'; me: IUser | null; events: Array | null; } interface IEventsOnQueryArguments { filter?: IEventsQueryFilter | null; } interface IUser { __typename: 'User'; name: string; username: string; email: string; id: string; } interface IEventsQueryFilter { limit?: number | null; } interface ICalendarEvent { __typename: 'CalendarEvent'; id: string; owner: IUser; info: Array; time: IEventTime; status: any; contact: Array; location: ILocation; } interface IEventInformation { __typename: 'EventInformation'; language: string; title: string; description: string | null; } interface IEventTime { __typename: 'EventTime'; timeZone: any | null; start: any | null; end: any | null; recurrence: string | null; exceptions: string | null; } interface IEventContactPerson { __typename: 'EventContactPerson'; name: string; languages: Array | null; contact: IContact | null; } interface IContact { __typename: 'Contact'; email: string | null; phone: string | null; } interface ILocation { __typename: 'Location'; address: string | null; name: string | null; coordinate: IGeoCoordinate | null; } interface IGeoCoordinate { __typename: 'GeoCoordinate'; lat: number | null; lng: number | null; } interface IMutation { __typename: 'Mutation'; signup: boolean; signin: IUserSession; requestInvite: boolean; createEvent: ICalendarEvent | null; } interface ISignupOnMutationArguments { input?: ISignupInput | null; } interface ISigninOnMutationArguments { input?: ISigninInput | null; } interface IRequestInviteOnMutationArguments { input?: IRequestInviteInput | null; } interface ICreateEventOnMutationArguments { input?: ICreateEventInput | null; foo?: string | null; } interface ISignupInput { email: string; username: string; name: string; } interface ISigninInput { hash: string; } interface IUserSession { __typename: 'UserSession'; hash: string; user: IUser; ctime: any; isValid: boolean; } interface IRequestInviteInput { email: string; } interface ICreateEventInput { owner: string; time?: IEventTimeInput | null; info?: Array | null; location?: IEventLocationInput | null; meta?: IEventMetaInput | null; status: string; contact: Array; } interface IEventTimeInput { timeZone?: any | null; status?: any | null; start?: any | null; end?: any | null; } interface IEventInformationInput { language: string; title: string; description?: string | null; } interface IEventLocationInput { address?: string | null; name?: string | null; coordinate?: IGeoCoordinateInput | null; } interface IGeoCoordinateInput { lat?: number | null; lng?: number | null; } interface IEventMetaInput { tags?: Array | null; } interface IEventContactPersonInput { name: string; languages?: Array | null; contact?: IEventContactInput | null; } interface IEventContactInput { email?: string | null; phone?: string | null; } } // tslint:enable