import { AddCommentDocument, CreateLabelDocument, CreatePostDocument, DeleteLabelDocument, FindPostDocument, FindPostsDocument, GetCommentsByPostNumberDocument, GetCommentsByPostIdDocument, GetLabelsDocument, GetMeDocument, GetPinnedPostsDocument, GetPostByIdDocument, GetPostByNumberDocument, GetRateLimitDocument, GetRepositoryDocument, Author_ActorFragmentDoc, Comment_IssueCommentFragmentDoc, Label_LabelFragmentDoc, Post_IssueFragmentDoc, Reaction_ReactionGroupFragmentDoc, User_UserFragmentDoc } from './graphql.cjs'; import '@graphql-typed-document-node/core'; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n mutation AddComment($input: AddCommentInput!) {\n addComment(input: $input) {\n commentEdge {\n node {\n ...Comment_IssueComment\n }\n }\n }\n }\n "): typeof AddCommentDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n mutation CreateLabel($input: CreateLabelInput!) {\n createLabel(input: $input) {\n label {\n ...Label_Label\n }\n }\n }\n "): typeof CreateLabelDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n mutation CreatePost($input: CreateIssueInput!, $omitBody: Boolean = false) {\n createIssue(input: $input) {\n issue {\n ...Post_Issue\n }\n }\n }\n "): typeof CreatePostDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n mutation DeleteLabel($id: ID!) {\n deleteLabel(input: { id: $id }) {\n __typename\n }\n }\n "): typeof DeleteLabelDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query FindPost($query: String!, $omitBody: Boolean = false) {\n search(first: 1, type: ISSUE, query: $query) {\n nodes {\n ... on Issue {\n ...Post_Issue\n }\n }\n }\n }\n "): typeof FindPostDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query FindPosts(\n $query: String!\n $first: Int\n $last: Int\n $before: String\n $after: String\n $omitBody: Boolean = true\n ) {\n search(query: $query, first: $first, last: $last, before: $before, after: $after, type: ISSUE) {\n issueCount\n pageInfo {\n endCursor\n startCursor\n hasNextPage\n hasPreviousPage\n }\n edges {\n cursor\n node {\n ...Post_Issue\n }\n }\n }\n }\n "): typeof FindPostsDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query getCommentsByPostNumber(\n $owner: String!\n $name: String!\n $number: Int!\n $first: Int\n $last: Int\n $before: String\n $after: String\n ) {\n repository(owner: $owner, name: $name) {\n issue(number: $number) {\n number\n comments(first: $first, last: $last, before: $before, after: $after) {\n totalCount\n pageInfo {\n endCursor\n startCursor\n hasNextPage\n hasPreviousPage\n }\n edges {\n cursor\n node {\n ...Comment_IssueComment\n }\n }\n }\n }\n }\n }\n "): typeof GetCommentsByPostNumberDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query getCommentsByPostId(\n $owner: String!\n $name: String!\n $id: ID!\n $first: Int\n $last: Int\n $before: String\n $after: String\n ) {\n node(id: $id) {\n ... on Issue {\n id\n number\n comments(first: $first, last: $last, before: $before, after: $after) {\n totalCount\n pageInfo {\n endCursor\n startCursor\n hasNextPage\n hasPreviousPage\n }\n edges {\n cursor\n node {\n ...Comment_IssueComment\n }\n }\n }\n }\n }\n }\n "): typeof GetCommentsByPostIdDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetLabels(\n $query: String\n $name: String!\n $owner: String!\n $first: Int\n $last: Int\n $before: String\n $after: String\n ) {\n repository(name: $name, owner: $owner) {\n labels(query: $query, first: $first, last: $last, before: $before, after: $after) {\n totalCount\n pageInfo {\n endCursor\n startCursor\n hasNextPage\n hasPreviousPage\n }\n edges {\n cursor\n node {\n ...Label_Label\n }\n }\n }\n }\n }\n "): typeof GetLabelsDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetMe {\n viewer {\n id\n login\n email\n }\n }\n "): typeof GetMeDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetPinnedPosts($owner: String!, $name: String!, $omitBody: Boolean = true) {\n repository(owner: $owner, name: $name) {\n pinnedIssues(first: 3) {\n nodes {\n pinnedBy {\n ...Author_Actor\n }\n issue {\n ...Post_Issue\n }\n }\n }\n }\n }\n "): typeof GetPinnedPostsDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetPostById($id: ID!, $omitBody: Boolean = false) {\n node(id: $id) {\n ...Post_Issue\n }\n }\n "): typeof GetPostByIdDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetPostByNumber($owner: String!, $name: String!, $number: Int!, $omitBody: Boolean = false) {\n repository(owner: $owner, name: $name) {\n issue(number: $number) {\n ...Post_Issue\n }\n }\n }\n "): typeof GetPostByNumberDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetRateLimit {\n rateLimit {\n limit\n used\n resetAt\n remaining\n }\n }\n "): typeof GetRateLimitDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n query GetRepository($owner: String!, $name: String!) {\n repository(owner: $owner, name: $name) {\n id\n url\n }\n }\n "): typeof GetRepositoryDocument; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment Author_Actor on Actor {\n ...User_User\n ... on Organization {\n avatarUrl\n name\n login\n twitterUsername\n }\n ... on EnterpriseUserAccount {\n avatarUrl\n name\n login\n }\n ... on Bot {\n avatarUrl\n login\n }\n }\n "): typeof Author_ActorFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment Comment_IssueComment on IssueComment {\n id\n body\n createdAt\n lastEditedAt\n isMinimized\n minimizedReason\n author {\n ...Author_Actor\n }\n reactions {\n totalCount\n }\n reactionGroups {\n ...Reaction_ReactionGroup\n }\n }\n "): typeof Comment_IssueCommentFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment Label_Label on Label {\n id\n name\n color\n issues {\n totalCount\n }\n }\n "): typeof Label_LabelFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment Post_Issue on Issue {\n id\n number\n url\n updatedAt\n createdAt\n title\n body\n author {\n ...Author_Actor\n }\n coauthors: assignees(first: 10) {\n nodes {\n ...User_User\n }\n }\n reactions: reactionGroups {\n ...Reaction_ReactionGroup\n }\n labels(first: 100) {\n nodes {\n ...Label_Label\n }\n }\n }\n "): typeof Post_IssueFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment Reaction_ReactionGroup on ReactionGroup {\n content\n reactors {\n totalCount\n }\n }\n "): typeof Reaction_ReactionGroupFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ declare function graphql(source: "\n fragment User_User on User {\n avatarUrl\n name\n login\n twitterUsername\n }\n "): typeof User_UserFragmentDoc; export { graphql };