{"version":3,"sources":["/home/renatorib/p/publissue/packages/api/dist/__chunks/TYMWUCN2.cjs","../../src/__generated__/codegen/gql.ts"],"names":["documents","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","graphql","source","_a"],"mappings":"AAAA,sHAAmM,ICe7LA,CAAAA,CAAY,CACd,oNAAA,CAA4NC,eAAAA,CAC5N,uKAAA,CAA+KC,eAAAA,CAC/K,iMAAA,CAAyMC,eAAAA,CACzM,yHAAA,CAAiIC,eAAAA,CACjI,6OAAA,CAAqPC,eAAAA,CACrP,giBAAA,CAAwiBC,eAAAA,CACxiB,4tBAAA,CAAouBC,eAAAA,CACpuB,8rBAAA,CAAssBC,eAAAA,CACtsB,snBAAA,CAA8nBC,eAAAA,CAC9nB,mGAAA,CAA2GC,eAAAA,CAC3G,kXAAA,CAA0XC,eAAAA,CAC1X,mIAAA,CAA2IC,eAAAA,CAC3I,qPAAA,CAA6PC,eAAAA,CAC7P,oIAAA,CAA4IC,eAAAA,CAC5I,2JAAA,CAAmKC,eAAAA,CACnK,oVAAA,CAA4VC,eAAAA,CAC5V,6UAAA,CAAqVC,eAAAA,CACrV,kIAAA,CAA0IC,eAAAA,CAC1I,idAAA,CAAydC,eAAAA,CACzd,mIAAA,CAA2IC,eAAAA,CAC3I,gHAAA,CAAwHC,eAC5H,CAAA,CAwFO,SAASC,CAAAA,CAAQC,CAAAA,CAAgB,CA7HxC,IAAAC,CAAAA,CA8HE,MAAA,CAAQA,CAAAA,CAAAxB,CAAAA,CAAkBuB,CAAM,CAAA,CAAA,EAAxB,IAAA,CAAAC,CAAAA,CAA6B,CAAC,CACxC,CAAA,cAAA","file":"/home/renatorib/p/publissue/packages/api/dist/__chunks/TYMWUCN2.cjs","sourcesContent":[null,"/* eslint-disable */\nimport * as types from './graphql';\n\n\n\n/**\n * Map of all GraphQL operations in the project.\n *\n * This map has several performance disadvantages:\n * 1. It is not tree-shakeable, so it will include all operations in the project.\n * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.\n * 3. It does not support dead code elimination, so it will add unused operations.\n *\n * Therefore it is highly recommended to use the babel or swc plugin for production.\n */\nconst documents = {\n    \"\\n    mutation AddComment($input: AddCommentInput!) {\\n      addComment(input: $input) {\\n        commentEdge {\\n          node {\\n            ...Comment_IssueComment\\n          }\\n        }\\n      }\\n    }\\n  \": types.AddCommentDocument,\n    \"\\n    mutation CreateLabel($input: CreateLabelInput!) {\\n      createLabel(input: $input) {\\n        label {\\n          ...Label_Label\\n        }\\n      }\\n    }\\n  \": types.CreateLabelDocument,\n    \"\\n    mutation CreatePost($input: CreateIssueInput!, $omitBody: Boolean = false) {\\n      createIssue(input: $input) {\\n        issue {\\n          ...Post_Issue\\n        }\\n      }\\n    }\\n  \": types.CreatePostDocument,\n    \"\\n    mutation DeleteLabel($id: ID!) {\\n      deleteLabel(input: { id: $id }) {\\n        __typename\\n      }\\n    }\\n  \": types.DeleteLabelDocument,\n    \"\\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  \": types.FindPostDocument,\n    \"\\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  \": types.FindPostsDocument,\n    \"\\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  \": types.GetCommentsByPostNumberDocument,\n    \"\\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  \": types.GetCommentsByPostIdDocument,\n    \"\\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  \": types.GetLabelsDocument,\n    \"\\n    query GetMe {\\n      viewer {\\n        id\\n        login\\n        email\\n      }\\n    }\\n  \": types.GetMeDocument,\n    \"\\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  \": types.GetPinnedPostsDocument,\n    \"\\n    query GetPostById($id: ID!, $omitBody: Boolean = false) {\\n      node(id: $id) {\\n        ...Post_Issue\\n      }\\n    }\\n  \": types.GetPostByIdDocument,\n    \"\\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  \": types.GetPostByNumberDocument,\n    \"\\n    query GetRateLimit {\\n      rateLimit {\\n        limit\\n        used\\n        resetAt\\n        remaining\\n      }\\n    }\\n  \": types.GetRateLimitDocument,\n    \"\\n    query GetRepository($owner: String!, $name: String!) {\\n      repository(owner: $owner, name: $name) {\\n        id\\n        url\\n      }\\n    }\\n  \": types.GetRepositoryDocument,\n    \"\\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  \": types.Author_ActorFragmentDoc,\n    \"\\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  \": types.Comment_IssueCommentFragmentDoc,\n    \"\\n    fragment Label_Label on Label {\\n      id\\n      name\\n      color\\n      issues {\\n        totalCount\\n      }\\n    }\\n  \": types.Label_LabelFragmentDoc,\n    \"\\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  \": types.Post_IssueFragmentDoc,\n    \"\\n    fragment Reaction_ReactionGroup on ReactionGroup {\\n      content\\n      reactors {\\n        totalCount\\n      }\\n    }\\n  \": types.Reaction_ReactionGroupFragmentDoc,\n    \"\\n    fragment User_User on User {\\n      avatarUrl\\n      name\\n      login\\n      twitterUsername\\n    }\\n  \": types.User_UserFragmentDoc,\n};\n\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').AddCommentDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    mutation CreateLabel($input: CreateLabelInput!) {\\n      createLabel(input: $input) {\\n        label {\\n          ...Label_Label\\n        }\\n      }\\n    }\\n  \"): typeof import('./graphql').CreateLabelDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').CreatePostDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    mutation DeleteLabel($id: ID!) {\\n      deleteLabel(input: { id: $id }) {\\n        __typename\\n      }\\n    }\\n  \"): typeof import('./graphql').DeleteLabelDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').FindPostDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').FindPostsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').GetCommentsByPostNumberDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').GetCommentsByPostIdDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').GetLabelsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    query GetMe {\\n      viewer {\\n        id\\n        login\\n        email\\n      }\\n    }\\n  \"): typeof import('./graphql').GetMeDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').GetPinnedPostsDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    query GetPostById($id: ID!, $omitBody: Boolean = false) {\\n      node(id: $id) {\\n        ...Post_Issue\\n      }\\n    }\\n  \"): typeof import('./graphql').GetPostByIdDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').GetPostByNumberDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    query GetRateLimit {\\n      rateLimit {\\n        limit\\n        used\\n        resetAt\\n        remaining\\n      }\\n    }\\n  \"): typeof import('./graphql').GetRateLimitDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    query GetRepository($owner: String!, $name: String!) {\\n      repository(owner: $owner, name: $name) {\\n        id\\n        url\\n      }\\n    }\\n  \"): typeof import('./graphql').GetRepositoryDocument;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').Author_ActorFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').Comment_IssueCommentFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    fragment Label_Label on Label {\\n      id\\n      name\\n      color\\n      issues {\\n        totalCount\\n      }\\n    }\\n  \"): typeof import('./graphql').Label_LabelFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport 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 import('./graphql').Post_IssueFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    fragment Reaction_ReactionGroup on ReactionGroup {\\n      content\\n      reactors {\\n        totalCount\\n      }\\n    }\\n  \"): typeof import('./graphql').Reaction_ReactionGroupFragmentDoc;\n/**\n * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.\n */\nexport function graphql(source: \"\\n    fragment User_User on User {\\n      avatarUrl\\n      name\\n      login\\n      twitterUsername\\n    }\\n  \"): typeof import('./graphql').User_UserFragmentDoc;\n\n\nexport function graphql(source: string) {\n  return (documents as any)[source] ?? {};\n}\n"]}