interface PageInfo { startCursor?: string; endCursor?: string; } export interface Edge { cursor: string; node: any; } export interface GraphqlRelayResponse { pageInfo?: PageInfo; totalCount: number; edges: Edge[]; } export interface GraphqlPagination { first?: number; last?: number; after?: string; before?: string; orderBy?: string; } export interface GraphqlResponse { data: { [key: string]: GraphqlRelayResponse; }; } export interface GraphqlNodeResponse { data: { [key: string]: T; }; } export {};