import { gql } from '@apollo/client'; export type Maybe = T | null; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; /** A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format. */ DateTime: any; }; export type Article = { __typename?: 'Article'; id: Scalars['ID']; title: Scalars['String']; content: Scalars['String']; publishedAt?: Maybe; tags: Array; html: Scalars['String']; description?: Maybe; }; export type CreateArticleInput = { title: Scalars['String']; content: Scalars['String']; publishedAt?: Maybe; tags: Array; }; export type Hello = { __typename?: 'Hello'; message: Scalars['String']; }; export type Mutation = { __typename?: 'Mutation'; createArticle: Article; updateArticle: Article; removeArticle: Scalars['Int']; }; export type MutationCreateArticleArgs = { createArticleInput: CreateArticleInput; }; export type MutationUpdateArticleArgs = { updateArticleInput: UpdateArticleInput; }; export type MutationRemoveArticleArgs = { id: Scalars['String']; }; export type Query = { __typename?: 'Query'; hello: Hello; articles: Array
; article: Article; }; export type QueryArticleArgs = { id: Scalars['String']; }; export type UpdateArticleInput = { title?: Maybe; content?: Maybe; publishedAt?: Maybe; tags?: Maybe>; id: Scalars['String']; };