import { gql } from 'tinacms' ; export type Maybe < T > = T | null ; export type Exact < T extends { [ key ] : unknown ; } > = { [ K in keyof T ] : T [ K ] ; } ; export type MakeOptional < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] ? : Maybe < T [ SubKey ] > ; } ; export type MakeMaybe < T , K extends keyof T > = Omit < T , K > & { [ SubKey in K ] : Maybe < T [ SubKey ] > ; } ; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID : string ; String : string ; Boolean : boolean ; Int : number ; Float : number ; /** References another document, used as a foreign key */ Reference : any ; JSON : any ; } ; export type SystemInfo = { __typename ? : 'SystemInfo' ; filename : Scalars [ 'String' ] ; basename : Scalars [ 'String' ] ; breadcrumbs : Array < Scalars [ 'String' ] > ; path : Scalars [ 'String' ] ; relativePath : Scalars [ 'String' ] ; extension : Scalars [ 'String' ] ; template : Scalars [ 'String' ] ; collection : Collection ; } ; export type SystemInfoBreadcrumbsArgs = { excludeExtension ? : Maybe < Scalars [ 'Boolean' ] > ; } ; export type PageInfo = { __typename ? : 'PageInfo' ; hasPreviousPage : Scalars [ 'Boolean' ] ; hasNextPage : Scalars [ 'Boolean' ] ; startCursor : Scalars [ 'String' ] ; endCursor : Scalars [ 'String' ] ; } ; export type Node = { id : Scalars [ 'ID' ] ; } ; export type Document = { sys ? : Maybe < SystemInfo > ; id : Scalars [ 'ID' ] ; form : Scalars [ 'JSON' ] ; values : Scalars [ 'JSON' ] ; } ; /** A relay-compliant pagination connection */ export type Connection = { totalCount : Scalars [ 'Int' ] ; } ; export type Query = { __typename ? : 'Query' ; getCollection : Collection ; getCollections : Array < Collection > ; node : Node ; getDocument : DocumentNode ; getDocumentList : DocumentConnection ; getDocumentFields : Scalars [ 'JSON' ] ; getPostsDocument : PostsDocument ; getPostsList : PostsConnection ; getGlobalDocument : GlobalDocument ; getGlobalList : GlobalConnection ; getAuthorsDocument : AuthorsDocument ; getAuthorsList : AuthorsConnection ; getPagesDocument : PagesDocument ; getPagesList : PagesConnection ; } ; export type QueryGetCollectionArgs = { collection ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryNodeArgs = { id ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetDocumentArgs = { collection ? : Maybe < Scalars [ 'String' ] > ; relativePath ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetDocumentListArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type QueryGetPostsDocumentArgs = { relativePath ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetPostsListArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type QueryGetGlobalDocumentArgs = { relativePath ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetGlobalListArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type QueryGetAuthorsDocumentArgs = { relativePath ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetAuthorsListArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type QueryGetPagesDocumentArgs = { relativePath ? : Maybe < Scalars [ 'String' ] > ; } ; export type QueryGetPagesListArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type DocumentConnectionEdges = { __typename ? : 'DocumentConnectionEdges' ; cursor ? : Maybe < Scalars [ 'String' ] > ; node ? : Maybe < DocumentNode > ; } ; export type DocumentConnection = Connection & { __typename ? : 'DocumentConnection' ; pageInfo ? : Maybe < PageInfo > ; totalCount : Scalars [ 'Int' ] ; edges ? : Maybe < Array < Maybe < DocumentConnectionEdges > > > ; } ; export type Collection = { __typename ? : 'Collection' ; name : Scalars [ 'String' ] ; slug : Scalars [ 'String' ] ; label : Scalars [ 'String' ] ; path : Scalars [ 'String' ] ; format ? : Maybe < Scalars [ 'String' ] > ; matches ? : Maybe < Scalars [ 'String' ] > ; templates ? : Maybe < Array < Maybe < Scalars [ 'JSON' ] > > > ; fields ? : Maybe < Array < Maybe < Scalars [ 'JSON' ] > > > ; documents : DocumentConnection ; } ; export type CollectionDocumentsArgs = { before ? : Maybe < Scalars [ 'String' ] > ; after ? : Maybe < Scalars [ 'String' ] > ; first ? : Maybe < Scalars [ 'Int' ] > ; last ? : Maybe < Scalars [ 'Int' ] > ; } ; export type DocumentNode = PostsDocument | GlobalDocument | AuthorsDocument | PagesDocument ; export type PostsAuthorDocument = AuthorsDocument ; export type Posts = { __typename ? : 'Posts' ; _body ? : Maybe < Scalars [ 'JSON' ] > ; title ? : Maybe < Scalars [ 'String' ] > ; author ? : Maybe < PostsAuthorDocument > ; date ? : Maybe < Scalars [ 'String' ] > ; heroImg ? : Maybe < Scalars [ 'String' ] > ; excerpt ? : Maybe < Scalars [ 'String' ] > ; } ; export type PostsDocument = Node & Document & { __typename ? : 'PostsDocument' ; id : Scalars [ 'ID' ] ; sys : SystemInfo ; data : Posts ; form : Scalars [ 'JSON' ] ; values : Scalars [ 'JSON' ] ; dataJSON : Scalars [ 'JSON' ] ; } ; export type PostsConnectionEdges = { __typename ? : 'PostsConnectionEdges' ; cursor ? : Maybe < Scalars [ 'String' ] > ; node ? : Maybe < PostsDocument > ; } ; export type PostsConnection = Connection & { __typename ? : 'PostsConnection' ; pageInfo ? : Maybe < PageInfo > ; totalCount : Scalars [ 'Int' ] ; edges ? : Maybe < Array < Maybe < PostsConnectionEdges > > > ; } ; export type GlobalHeaderIcon = { __typename ? : 'GlobalHeaderIcon' ; color ? : Maybe < Scalars [ 'String' ] > ; style ? : Maybe < Scalars [ 'String' ] > ; name ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalHeaderNav = { __typename ? : 'GlobalHeaderNav' ; href ? : Maybe < Scalars [ 'String' ] > ; label ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalHeader = { __typename ? : 'GlobalHeader' ; icon ? : Maybe < GlobalHeaderIcon > ; color ? : Maybe < Scalars [ 'String' ] > ; nav ? : Maybe < Array < Maybe < GlobalHeaderNav > > > ; } ; export type GlobalFooterSocial = { __typename ? : 'GlobalFooterSocial' ; facebook ? : Maybe < Scalars [ 'String' ] > ; twitter ? : Maybe < Scalars [ 'String' ] > ; instagram ? : Maybe < Scalars [ 'String' ] > ; github ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalFooter = { __typename ? : 'GlobalFooter' ; color ? : Maybe < Scalars [ 'String' ] > ; social ? : Maybe < GlobalFooterSocial > ; } ; export type GlobalTheme = { __typename ? : 'GlobalTheme' ; color ? : Maybe < Scalars [ 'String' ] > ; font ? : Maybe < Scalars [ 'String' ] > ; icon ? : Maybe < Scalars [ 'String' ] > ; darkMode ? : Maybe < Scalars [ 'String' ] > ; } ; export type Global = { __typename ? : 'Global' ; header ? : Maybe < GlobalHeader > ; footer ? : Maybe < GlobalFooter > ; theme ? : Maybe < GlobalTheme > ; } ; export type GlobalDocument = Node & Document & { __typename ? : 'GlobalDocument' ; id : Scalars [ 'ID' ] ; sys : SystemInfo ; data : Global ; form : Scalars [ 'JSON' ] ; values : Scalars [ 'JSON' ] ; dataJSON : Scalars [ 'JSON' ] ; } ; export type GlobalConnectionEdges = { __typename ? : 'GlobalConnectionEdges' ; cursor ? : Maybe < Scalars [ 'String' ] > ; node ? : Maybe < GlobalDocument > ; } ; export type GlobalConnection = Connection & { __typename ? : 'GlobalConnection' ; pageInfo ? : Maybe < PageInfo > ; totalCount : Scalars [ 'Int' ] ; edges ? : Maybe < Array < Maybe < GlobalConnectionEdges > > > ; } ; export type Authors = { __typename ? : 'Authors' ; name ? : Maybe < Scalars [ 'String' ] > ; avatar ? : Maybe < Scalars [ 'String' ] > ; } ; export type AuthorsDocument = Node & Document & { __typename ? : 'AuthorsDocument' ; id : Scalars [ 'ID' ] ; sys : SystemInfo ; data : Authors ; form : Scalars [ 'JSON' ] ; values : Scalars [ 'JSON' ] ; dataJSON : Scalars [ 'JSON' ] ; } ; export type AuthorsConnectionEdges = { __typename ? : 'AuthorsConnectionEdges' ; cursor ? : Maybe < Scalars [ 'String' ] > ; node ? : Maybe < AuthorsDocument > ; } ; export type AuthorsConnection = Connection & { __typename ? : 'AuthorsConnection' ; pageInfo ? : Maybe < PageInfo > ; totalCount : Scalars [ 'Int' ] ; edges ? : Maybe < Array < Maybe < AuthorsConnectionEdges > > > ; } ; export type PagesBlocksHeroActions = { __typename ? : 'PagesBlocksHeroActions' ; label ? : Maybe < Scalars [ 'String' ] > ; type ? : Maybe < Scalars [ 'String' ] > ; icon ? : Maybe < Scalars [ 'Boolean' ] > ; link ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksHeroImage = { __typename ? : 'PagesBlocksHeroImage' ; src ? : Maybe < Scalars [ 'String' ] > ; alt ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksHero = { __typename ? : 'PagesBlocksHero' ; tagline ? : Maybe < Scalars [ 'String' ] > ; headline ? : Maybe < Scalars [ 'String' ] > ; text ? : Maybe < Scalars [ 'String' ] > ; actions ? : Maybe < Array < Maybe < PagesBlocksHeroActions > > > ; image ? : Maybe < PagesBlocksHeroImage > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeaturesItemsIcon = { __typename ? : 'PagesBlocksFeaturesItemsIcon' ; color ? : Maybe < Scalars [ 'String' ] > ; style ? : Maybe < Scalars [ 'String' ] > ; name ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeaturesItems = { __typename ? : 'PagesBlocksFeaturesItems' ; icon ? : Maybe < PagesBlocksFeaturesItemsIcon > ; title ? : Maybe < Scalars [ 'String' ] > ; text ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeatures = { __typename ? : 'PagesBlocksFeatures' ; items ? : Maybe < Array < Maybe < PagesBlocksFeaturesItems > > > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksContent = { __typename ? : 'PagesBlocksContent' ; body ? : Maybe < Scalars [ 'String' ] > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksTestimonial = { __typename ? : 'PagesBlocksTestimonial' ; quote ? : Maybe < Scalars [ 'String' ] > ; author ? : Maybe < Scalars [ 'String' ] > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocks = PagesBlocksHero | PagesBlocksFeatures | PagesBlocksContent | PagesBlocksTestimonial ; export type Pages = { __typename ? : 'Pages' ; blocks ? : Maybe < Array < Maybe < PagesBlocks > > > ; } ; export type PagesDocument = Node & Document & { __typename ? : 'PagesDocument' ; id : Scalars [ 'ID' ] ; sys : SystemInfo ; data : Pages ; form : Scalars [ 'JSON' ] ; values : Scalars [ 'JSON' ] ; dataJSON : Scalars [ 'JSON' ] ; } ; export type PagesConnectionEdges = { __typename ? : 'PagesConnectionEdges' ; cursor ? : Maybe < Scalars [ 'String' ] > ; node ? : Maybe < PagesDocument > ; } ; export type PagesConnection = Connection & { __typename ? : 'PagesConnection' ; pageInfo ? : Maybe < PageInfo > ; totalCount : Scalars [ 'Int' ] ; edges ? : Maybe < Array < Maybe < PagesConnectionEdges > > > ; } ; export type Mutation = { __typename ? : 'Mutation' ; addPendingDocument : DocumentNode ; updateDocument : DocumentNode ; createDocument : DocumentNode ; updatePostsDocument : PostsDocument ; createPostsDocument : PostsDocument ; updateGlobalDocument : GlobalDocument ; createGlobalDocument : GlobalDocument ; updateAuthorsDocument : AuthorsDocument ; createAuthorsDocument : AuthorsDocument ; updatePagesDocument : PagesDocument ; createPagesDocument : PagesDocument ; } ; export type MutationAddPendingDocumentArgs = { collection : Scalars [ 'String' ] ; relativePath : Scalars [ 'String' ] ; template ? : Maybe < Scalars [ 'String' ] > ; } ; export type MutationUpdateDocumentArgs = { collection ? : Maybe < Scalars [ 'String' ] > ; relativePath : Scalars [ 'String' ] ; params : DocumentMutation ; } ; export type MutationCreateDocumentArgs = { collection ? : Maybe < Scalars [ 'String' ] > ; relativePath : Scalars [ 'String' ] ; params : DocumentMutation ; } ; export type MutationUpdatePostsDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : PostsMutation ; } ; export type MutationCreatePostsDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : PostsMutation ; } ; export type MutationUpdateGlobalDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : GlobalMutation ; } ; export type MutationCreateGlobalDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : GlobalMutation ; } ; export type MutationUpdateAuthorsDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : AuthorsMutation ; } ; export type MutationCreateAuthorsDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : AuthorsMutation ; } ; export type MutationUpdatePagesDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : PagesMutation ; } ; export type MutationCreatePagesDocumentArgs = { relativePath : Scalars [ 'String' ] ; params : PagesMutation ; } ; export type DocumentMutation = { posts ? : Maybe < PostsMutation > ; global ? : Maybe < GlobalMutation > ; authors ? : Maybe < AuthorsMutation > ; pages ? : Maybe < PagesMutation > ; } ; export type PostsMutation = { _body ? : Maybe < Scalars [ 'JSON' ] > ; title ? : Maybe < Scalars [ 'String' ] > ; author ? : Maybe < Scalars [ 'String' ] > ; date ? : Maybe < Scalars [ 'String' ] > ; heroImg ? : Maybe < Scalars [ 'String' ] > ; excerpt ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalHeaderIconMutation = { color ? : Maybe < Scalars [ 'String' ] > ; style ? : Maybe < Scalars [ 'String' ] > ; name ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalHeaderNavMutation = { href ? : Maybe < Scalars [ 'String' ] > ; label ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalHeaderMutation = { icon ? : Maybe < GlobalHeaderIconMutation > ; color ? : Maybe < Scalars [ 'String' ] > ; nav ? : Maybe < Array < Maybe < GlobalHeaderNavMutation > > > ; } ; export type GlobalFooterSocialMutation = { facebook ? : Maybe < Scalars [ 'String' ] > ; twitter ? : Maybe < Scalars [ 'String' ] > ; instagram ? : Maybe < Scalars [ 'String' ] > ; github ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalFooterMutation = { color ? : Maybe < Scalars [ 'String' ] > ; social ? : Maybe < GlobalFooterSocialMutation > ; } ; export type GlobalThemeMutation = { color ? : Maybe < Scalars [ 'String' ] > ; font ? : Maybe < Scalars [ 'String' ] > ; icon ? : Maybe < Scalars [ 'String' ] > ; darkMode ? : Maybe < Scalars [ 'String' ] > ; } ; export type GlobalMutation = { header ? : Maybe < GlobalHeaderMutation > ; footer ? : Maybe < GlobalFooterMutation > ; theme ? : Maybe < GlobalThemeMutation > ; } ; export type AuthorsMutation = { name ? : Maybe < Scalars [ 'String' ] > ; avatar ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksHeroActionsMutation = { label ? : Maybe < Scalars [ 'String' ] > ; type ? : Maybe < Scalars [ 'String' ] > ; icon ? : Maybe < Scalars [ 'Boolean' ] > ; link ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksHeroImageMutation = { src ? : Maybe < Scalars [ 'String' ] > ; alt ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksHeroMutation = { tagline ? : Maybe < Scalars [ 'String' ] > ; headline ? : Maybe < Scalars [ 'String' ] > ; text ? : Maybe < Scalars [ 'String' ] > ; actions ? : Maybe < Array < Maybe < PagesBlocksHeroActionsMutation > > > ; image ? : Maybe < PagesBlocksHeroImageMutation > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeaturesItemsIconMutation = { color ? : Maybe < Scalars [ 'String' ] > ; style ? : Maybe < Scalars [ 'String' ] > ; name ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeaturesItemsMutation = { icon ? : Maybe < PagesBlocksFeaturesItemsIconMutation > ; title ? : Maybe < Scalars [ 'String' ] > ; text ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksFeaturesMutation = { items ? : Maybe < Array < Maybe < PagesBlocksFeaturesItemsMutation > > > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksContentMutation = { body ? : Maybe < Scalars [ 'String' ] > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksTestimonialMutation = { quote ? : Maybe < Scalars [ 'String' ] > ; author ? : Maybe < Scalars [ 'String' ] > ; color ? : Maybe < Scalars [ 'String' ] > ; } ; export type PagesBlocksMutation = { hero ? : Maybe < PagesBlocksHeroMutation > ; features ? : Maybe < PagesBlocksFeaturesMutation > ; content ? : Maybe < PagesBlocksContentMutation > ; testimonial ? : Maybe < PagesBlocksTestimonialMutation > ; } ; export type PagesMutation = { blocks ? : Maybe < Array < Maybe < PagesBlocksMutation > > > ; } ; export type LayoutQueryFragmentFragment = { __typename ? : 'Query' ; getGlobalDocument : { __typename ? : 'GlobalDocument' ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename ? : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename ? : 'GlobalHeaderIcon' ; name ? : Maybe < string > ; color ? : Maybe < string > ; style ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename ? : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename ? : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename ? : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename ? : 'GlobalTheme' ; color ? : Maybe < string > ; icon ? : Maybe < string > ; font ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } ; } ; export type PageQueryQueryVariables = Exact < { [ key ] : never ; } > ; export type PageQueryQuery = { __typename ? : 'Query' ; getPostsList : { __typename ? : 'PostsConnection' ; edges ? : Maybe < Array < Maybe < { __typename ? : 'PostsConnectionEdges' ; node ? : Maybe < { __typename ? : 'PostsDocument' ; id : string ; values : any ; data : { __typename ? : 'Posts' ; author ? : Maybe < { __typename ? : 'AuthorsDocument' ; data : { __typename ? : 'Authors' ; name ? : Maybe < string > ; avatar ? : Maybe < string > ; } ; } > ; } ; sys : { __typename ? : 'SystemInfo' ; filename : string ; } ; } > ; } > > > ; } ; getGlobalDocument : { __typename ? : 'GlobalDocument' ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename ? : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename ? : 'GlobalHeaderIcon' ; name ? : Maybe < string > ; color ? : Maybe < string > ; style ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename ? : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename ? : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename ? : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename ? : 'GlobalTheme' ; color ? : Maybe < string > ; icon ? : Maybe < string > ; font ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } ; } ; export type ContentQueryQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type ContentQueryQuery = { __typename ? : 'Query' ; getPagesDocument : { __typename ? : 'PagesDocument' ; data : { __typename ? : 'Pages' ; blocks ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHero' ; tagline ? : Maybe < string > ; headline ? : Maybe < string > ; text ? : Maybe < string > ; color ? : Maybe < string > ; actions ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHeroActions' ; label ? : Maybe < string > ; type ? : Maybe < string > ; icon ? : Maybe < boolean > ; link ? : Maybe < string > ; } > > > ; image ? : Maybe < { __typename : 'PagesBlocksHeroImage' ; src ? : Maybe < string > ; alt ? : Maybe < string > ; } > ; } | { __typename : 'PagesBlocksFeatures' ; color ? : Maybe < string > ; items ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksFeaturesItems' ; title ? : Maybe < string > ; text ? : Maybe < string > ; icon ? : Maybe < { __typename : 'PagesBlocksFeaturesItemsIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; } > > > ; } | { __typename : 'PagesBlocksContent' ; body ? : Maybe < string > ; color ? : Maybe < string > ; } | { __typename : 'PagesBlocksTestimonial' ; quote ? : Maybe < string > ; author ? : Maybe < string > ; color ? : Maybe < string > ; } > > > ; } ; } ; getGlobalDocument : { __typename ? : 'GlobalDocument' ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename ? : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename ? : 'GlobalHeaderIcon' ; name ? : Maybe < string > ; color ? : Maybe < string > ; style ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename ? : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename ? : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename ? : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename ? : 'GlobalTheme' ; color ? : Maybe < string > ; icon ? : Maybe < string > ; font ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } ; } ; export type BlogPostQueryQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type BlogPostQueryQuery = { __typename ? : 'Query' ; getPostsDocument : { __typename ? : 'PostsDocument' ; data : { __typename ? : 'Posts' ; _body ? : Maybe < any > ; title ? : Maybe < string > ; date ? : Maybe < string > ; heroImg ? : Maybe < string > ; excerpt ? : Maybe < string > ; author ? : Maybe < { __typename ? : 'AuthorsDocument' ; id : string ; data : { __typename ? : 'Authors' ; name ? : Maybe < string > ; avatar ? : Maybe < string > ; } ; } > ; } ; } ; getGlobalDocument : { __typename ? : 'GlobalDocument' ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename ? : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename ? : 'GlobalHeaderIcon' ; name ? : Maybe < string > ; color ? : Maybe < string > ; style ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename ? : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename ? : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename ? : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename ? : 'GlobalTheme' ; color ? : Maybe < string > ; icon ? : Maybe < string > ; font ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } ; } ; export type PostsPartsFragment = { __typename ? : 'Posts' ; _body ? : Maybe < any > ; title ? : Maybe < string > ; date ? : Maybe < string > ; heroImg ? : Maybe < string > ; excerpt ? : Maybe < string > ; author ? : Maybe < { __typename ? : 'AuthorsDocument' ; id : string ; } > ; } ; export type GlobalPartsFragment = { __typename ? : 'Global' ; header ? : Maybe < { __typename : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename : 'GlobalHeaderIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename : 'GlobalTheme' ; color ? : Maybe < string > ; font ? : Maybe < string > ; icon ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; export type AuthorsPartsFragment = { __typename ? : 'Authors' ; name ? : Maybe < string > ; avatar ? : Maybe < string > ; } ; export type PagesPartsFragment = { __typename ? : 'Pages' ; blocks ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHero' ; tagline ? : Maybe < string > ; headline ? : Maybe < string > ; text ? : Maybe < string > ; color ? : Maybe < string > ; actions ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHeroActions' ; label ? : Maybe < string > ; type ? : Maybe < string > ; icon ? : Maybe < boolean > ; link ? : Maybe < string > ; } > > > ; image ? : Maybe < { __typename : 'PagesBlocksHeroImage' ; src ? : Maybe < string > ; alt ? : Maybe < string > ; } > ; } | { __typename : 'PagesBlocksFeatures' ; color ? : Maybe < string > ; items ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksFeaturesItems' ; title ? : Maybe < string > ; text ? : Maybe < string > ; icon ? : Maybe < { __typename : 'PagesBlocksFeaturesItemsIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; } > > > ; } | { __typename : 'PagesBlocksContent' ; body ? : Maybe < string > ; color ? : Maybe < string > ; } | { __typename : 'PagesBlocksTestimonial' ; quote ? : Maybe < string > ; author ? : Maybe < string > ; color ? : Maybe < string > ; } > > > ; } ; export type GetPostsDocumentQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type GetPostsDocumentQuery = { __typename ? : 'Query' ; getPostsDocument : { __typename ? : 'PostsDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Posts' ; _body ? : Maybe < any > ; title ? : Maybe < string > ; date ? : Maybe < string > ; heroImg ? : Maybe < string > ; excerpt ? : Maybe < string > ; author ? : Maybe < { __typename ? : 'AuthorsDocument' ; id : string ; } > ; } ; } ; } ; export type GetPostsListQueryVariables = Exact < { [ key ] : never ; } > ; export type GetPostsListQuery = { __typename ? : 'Query' ; getPostsList : { __typename ? : 'PostsConnection' ; totalCount : number ; edges ? : Maybe < Array < Maybe < { __typename ? : 'PostsConnectionEdges' ; node ? : Maybe < { __typename ? : 'PostsDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Posts' ; _body ? : Maybe < any > ; title ? : Maybe < string > ; date ? : Maybe < string > ; heroImg ? : Maybe < string > ; excerpt ? : Maybe < string > ; author ? : Maybe < { __typename ? : 'AuthorsDocument' ; id : string ; } > ; } ; } > ; } > > > ; } ; } ; export type GetGlobalDocumentQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type GetGlobalDocumentQuery = { __typename ? : 'Query' ; getGlobalDocument : { __typename ? : 'GlobalDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename : 'GlobalHeaderIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename : 'GlobalTheme' ; color ? : Maybe < string > ; font ? : Maybe < string > ; icon ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } ; } ; export type GetGlobalListQueryVariables = Exact < { [ key ] : never ; } > ; export type GetGlobalListQuery = { __typename ? : 'Query' ; getGlobalList : { __typename ? : 'GlobalConnection' ; totalCount : number ; edges ? : Maybe < Array < Maybe < { __typename ? : 'GlobalConnectionEdges' ; node ? : Maybe < { __typename ? : 'GlobalDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Global' ; header ? : Maybe < { __typename : 'GlobalHeader' ; color ? : Maybe < string > ; icon ? : Maybe < { __typename : 'GlobalHeaderIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; nav ? : Maybe < Array < Maybe < { __typename : 'GlobalHeaderNav' ; href ? : Maybe < string > ; label ? : Maybe < string > ; } > > > ; } > ; footer ? : Maybe < { __typename : 'GlobalFooter' ; color ? : Maybe < string > ; social ? : Maybe < { __typename : 'GlobalFooterSocial' ; facebook ? : Maybe < string > ; twitter ? : Maybe < string > ; instagram ? : Maybe < string > ; github ? : Maybe < string > ; } > ; } > ; theme ? : Maybe < { __typename : 'GlobalTheme' ; color ? : Maybe < string > ; font ? : Maybe < string > ; icon ? : Maybe < string > ; darkMode ? : Maybe < string > ; } > ; } ; } > ; } > > > ; } ; } ; export type GetAuthorsDocumentQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type GetAuthorsDocumentQuery = { __typename ? : 'Query' ; getAuthorsDocument : { __typename ? : 'AuthorsDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Authors' ; name ? : Maybe < string > ; avatar ? : Maybe < string > ; } ; } ; } ; export type GetAuthorsListQueryVariables = Exact < { [ key ] : never ; } > ; export type GetAuthorsListQuery = { __typename ? : 'Query' ; getAuthorsList : { __typename ? : 'AuthorsConnection' ; totalCount : number ; edges ? : Maybe < Array < Maybe < { __typename ? : 'AuthorsConnectionEdges' ; node ? : Maybe < { __typename ? : 'AuthorsDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Authors' ; name ? : Maybe < string > ; avatar ? : Maybe < string > ; } ; } > ; } > > > ; } ; } ; export type GetPagesDocumentQueryVariables = Exact < { relativePath : Scalars [ 'String' ] ; } > ; export type GetPagesDocumentQuery = { __typename ? : 'Query' ; getPagesDocument : { __typename ? : 'PagesDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Pages' ; blocks ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHero' ; tagline ? : Maybe < string > ; headline ? : Maybe < string > ; text ? : Maybe < string > ; color ? : Maybe < string > ; actions ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHeroActions' ; label ? : Maybe < string > ; type ? : Maybe < string > ; icon ? : Maybe < boolean > ; link ? : Maybe < string > ; } > > > ; image ? : Maybe < { __typename : 'PagesBlocksHeroImage' ; src ? : Maybe < string > ; alt ? : Maybe < string > ; } > ; } | { __typename : 'PagesBlocksFeatures' ; color ? : Maybe < string > ; items ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksFeaturesItems' ; title ? : Maybe < string > ; text ? : Maybe < string > ; icon ? : Maybe < { __typename : 'PagesBlocksFeaturesItemsIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; } > > > ; } | { __typename : 'PagesBlocksContent' ; body ? : Maybe < string > ; color ? : Maybe < string > ; } | { __typename : 'PagesBlocksTestimonial' ; quote ? : Maybe < string > ; author ? : Maybe < string > ; color ? : Maybe < string > ; } > > > ; } ; } ; } ; export type GetPagesListQueryVariables = Exact < { [ key ] : never ; } > ; export type GetPagesListQuery = { __typename ? : 'Query' ; getPagesList : { __typename ? : 'PagesConnection' ; totalCount : number ; edges ? : Maybe < Array < Maybe < { __typename ? : 'PagesConnectionEdges' ; node ? : Maybe < { __typename ? : 'PagesDocument' ; id : string ; sys : { __typename ? : 'SystemInfo' ; filename : string ; basename : string ; breadcrumbs : Array < string > ; path : string ; relativePath : string ; extension : string ; } ; data : { __typename ? : 'Pages' ; blocks ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHero' ; tagline ? : Maybe < string > ; headline ? : Maybe < string > ; text ? : Maybe < string > ; color ? : Maybe < string > ; actions ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksHeroActions' ; label ? : Maybe < string > ; type ? : Maybe < string > ; icon ? : Maybe < boolean > ; link ? : Maybe < string > ; } > > > ; image ? : Maybe < { __typename : 'PagesBlocksHeroImage' ; src ? : Maybe < string > ; alt ? : Maybe < string > ; } > ; } | { __typename : 'PagesBlocksFeatures' ; color ? : Maybe < string > ; items ? : Maybe < Array < Maybe < { __typename : 'PagesBlocksFeaturesItems' ; title ? : Maybe < string > ; text ? : Maybe < string > ; icon ? : Maybe < { __typename : 'PagesBlocksFeaturesItemsIcon' ; color ? : Maybe < string > ; style ? : Maybe < string > ; name ? : Maybe < string > ; } > ; } > > > ; } | { __typename : 'PagesBlocksContent' ; body ? : Maybe < string > ; color ? : Maybe < string > ; } | { __typename : 'PagesBlocksTestimonial' ; quote ? : Maybe < string > ; author ? : Maybe < string > ; color ? : Maybe < string > ; } > > > ; } ; } > ; } > > > ; } ; } ; export const LayoutQueryFragmentFragmentDoc = gql `
    fragment LayoutQueryFragment on Query {
  getGlobalDocument(relativePath: "index.json") {
    data {
      header {
        icon {
          name
          color
          style
        }
        color
        nav {
          href
          label
        }
      }
      footer {
        color
        social {
          facebook
          twitter
          instagram
          github
        }
      }
      theme {
        color
        icon
        font
        darkMode
      }
    }
  }
}
    ` ; export const PostsPartsFragmentDoc = gql `
    fragment PostsParts on Posts {
  _body
  title
  author {
    ... on Document {
      id
    }
  }
  date
  heroImg
  excerpt
}
    ` ; export const GlobalPartsFragmentDoc = gql `
    fragment GlobalParts on Global {
  header {
    __typename
    icon {
      __typename
      color
      style
      name
    }
    color
    nav {
      __typename
      href
      label
    }
  }
  footer {
    __typename
    color
    social {
      __typename
      facebook
      twitter
      instagram
      github
    }
  }
  theme {
    __typename
    color
    font
    icon
    darkMode
  }
}
    ` ; export const AuthorsPartsFragmentDoc = gql `
    fragment AuthorsParts on Authors {
  name
  avatar
}
    ` ; export const PagesPartsFragmentDoc = gql `
    fragment PagesParts on Pages {
  blocks {
    __typename
    ... on PagesBlocksHero {
      tagline
      headline
      text
      actions {
        __typename
        label
        type
        icon
        link
      }
      image {
        __typename
        src
        alt
      }
      color
    }
    ... on PagesBlocksFeatures {
      items {
        __typename
        icon {
          __typename
          color
          style
          name
        }
        title
        text
      }
      color
    }
    ... on PagesBlocksContent {
      body
      color
    }
    ... on PagesBlocksTestimonial {
      quote
      author
      color
    }
  }
}
    ` ; export const PageQueryDocument = gql `
    query PageQuery {
  ...LayoutQueryFragment
  getPostsList {
    edges {
      node {
        id
        values
        data {
          author {
            ... on AuthorsDocument {
              data {
                ...AuthorsParts
              }
            }
          }
        }
        sys {
          filename
        }
      }
    }
  }
}
    ${ LayoutQueryFragmentFragmentDoc }
${ AuthorsPartsFragmentDoc }` ; export const ContentQueryDocument = gql `
    query ContentQuery($relativePath: String!) {
  ...LayoutQueryFragment
  getPagesDocument(relativePath: $relativePath) {
    data {
      ...PagesParts
    }
  }
}
    ${ LayoutQueryFragmentFragmentDoc }
${ PagesPartsFragmentDoc }` ; export const BlogPostQueryDocument = gql `
    query BlogPostQuery($relativePath: String!) {
  ...LayoutQueryFragment
  getPostsDocument(relativePath: $relativePath) {
    data {
      ...PostsParts
      author {
        ... on AuthorsDocument {
          data {
            name
            avatar
          }
        }
      }
    }
  }
}
    ${ LayoutQueryFragmentFragmentDoc }
${ PostsPartsFragmentDoc }` ; export const GetPostsDocumentDocument = gql `
    query getPostsDocument($relativePath: String!) {
  getPostsDocument(relativePath: $relativePath) {
    sys {
      filename
      basename
      breadcrumbs
      path
      relativePath
      extension
    }
    id
    data {
      ...PostsParts
    }
  }
}
    ${ PostsPartsFragmentDoc }` ; export const GetPostsListDocument = gql `
    query getPostsList {
  getPostsList {
    totalCount
    edges {
      node {
        id
        sys {
          filename
          basename
          breadcrumbs
          path
          relativePath
          extension
        }
        data {
          ...PostsParts
        }
      }
    }
  }
}
    ${ PostsPartsFragmentDoc }` ; export const GetGlobalDocumentDocument = gql `
    query getGlobalDocument($relativePath: String!) {
  getGlobalDocument(relativePath: $relativePath) {
    sys {
      filename
      basename
      breadcrumbs
      path
      relativePath
      extension
    }
    id
    data {
      ...GlobalParts
    }
  }
}
    ${ GlobalPartsFragmentDoc }` ; export const GetGlobalListDocument = gql `
    query getGlobalList {
  getGlobalList {
    totalCount
    edges {
      node {
        id
        sys {
          filename
          basename
          breadcrumbs
          path
          relativePath
          extension
        }
        data {
          ...GlobalParts
        }
      }
    }
  }
}
    ${ GlobalPartsFragmentDoc }` ; export const GetAuthorsDocumentDocument = gql `
    query getAuthorsDocument($relativePath: String!) {
  getAuthorsDocument(relativePath: $relativePath) {
    sys {
      filename
      basename
      breadcrumbs
      path
      relativePath
      extension
    }
    id
    data {
      ...AuthorsParts
    }
  }
}
    ${ AuthorsPartsFragmentDoc }` ; export const GetAuthorsListDocument = gql `
    query getAuthorsList {
  getAuthorsList {
    totalCount
    edges {
      node {
        id
        sys {
          filename
          basename
          breadcrumbs
          path
          relativePath
          extension
        }
        data {
          ...AuthorsParts
        }
      }
    }
  }
}
    ${ AuthorsPartsFragmentDoc }` ; export const GetPagesDocumentDocument = gql `
    query getPagesDocument($relativePath: String!) {
  getPagesDocument(relativePath: $relativePath) {
    sys {
      filename
      basename
      breadcrumbs
      path
      relativePath
      extension
    }
    id
    data {
      ...PagesParts
    }
  }
}
    ${ PagesPartsFragmentDoc }` ; export const GetPagesListDocument = gql `
    query getPagesList {
  getPagesList {
    totalCount
    edges {
      node {
        id
        sys {
          filename
          basename
          breadcrumbs
          path
          relativePath
          extension
        }
        data {
          ...PagesParts
        }
      }
    }
  }
}
    ${ PagesPartsFragmentDoc }` ; export type Requester < C = { } > = < R , V > ( doc : DocumentNode , vars ? : V , options ? : C ) => Promise < R > ; export function getSdk < C > ( requester ) { return { PageQuery ( variables ? , options ? ) { return requester < { data : PageQueryQuery ; variables : PageQueryQueryVariables ; query : string ; } , PageQueryQueryVariables > ( PageQueryDocument , variables , options ) ; } , ContentQuery ( variables , options ? ) { return requester < { data : ContentQueryQuery ; variables : ContentQueryQueryVariables ; query : string ; } , ContentQueryQueryVariables > ( ContentQueryDocument , variables , options ) ; } , BlogPostQuery ( variables , options ? ) { return requester < { data : BlogPostQueryQuery ; variables : BlogPostQueryQueryVariables ; query : string ; } , BlogPostQueryQueryVariables > ( BlogPostQueryDocument , variables , options ) ; } , getPostsDocument ( variables , options ? ) { return requester < { data : GetPostsDocumentQuery ; variables : GetPostsDocumentQueryVariables ; query : string ; } , GetPostsDocumentQueryVariables > ( GetPostsDocumentDocument , variables , options ) ; } , getPostsList ( variables ? , options ? ) { return requester < { data : GetPostsListQuery ; variables : GetPostsListQueryVariables ; query : string ; } , GetPostsListQueryVariables > ( GetPostsListDocument , variables , options ) ; } , getGlobalDocument ( variables , options ? ) { return requester < { data : GetGlobalDocumentQuery ; variables : GetGlobalDocumentQueryVariables ; query : string ; } , GetGlobalDocumentQueryVariables > ( GetGlobalDocumentDocument , variables , options ) ; } , getGlobalList ( variables ? , options ? ) { return requester < { data : GetGlobalListQuery ; variables : GetGlobalListQueryVariables ; query : string ; } , GetGlobalListQueryVariables > ( GetGlobalListDocument , variables , options ) ; } , getAuthorsDocument ( variables , options ? ) { return requester < { data : GetAuthorsDocumentQuery ; variables : GetAuthorsDocumentQueryVariables ; query : string ; } , GetAuthorsDocumentQueryVariables > ( GetAuthorsDocumentDocument , variables , options ) ; } , getAuthorsList ( variables ? , options ? ) { return requester < { data : GetAuthorsListQuery ; variables : GetAuthorsListQueryVariables ; query : string ; } , GetAuthorsListQueryVariables > ( GetAuthorsListDocument , variables , options ) ; } , getPagesDocument ( variables , options ? ) { return requester < { data : GetPagesDocumentQuery ; variables : GetPagesDocumentQueryVariables ; query : string ; } , GetPagesDocumentQueryVariables > ( GetPagesDocumentDocument , variables , options ) ; } , getPagesList ( variables ? , options ? ) { return requester < { data : GetPagesListQuery ; variables : GetPagesListQueryVariables ; query : string ; } , GetPagesListQueryVariables > ( GetPagesListDocument , variables , options ) ; } } ; } export type Sdk = ReturnType < typeof getSdk > ; import { staticRequest } from 'tinacms' ; const requester = async ( doc , vars , _options ) => { let data = { } ; try { data = await staticRequest ( { query : doc , variables : vars , } ) ; } catch ( e ) { console . warn ( 'Warning: There was an error when fetching data' ) ; console . warn ( e ) ; } return { data , query : doc , variables : vars || { } } ; } ; experimental export const ExperimentalGetTinaClient = ( ) => getSdk ( requester ) ;