Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-megaera

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-megaera

GraphQL TypeScript Generator

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

GraphQL Megaera

GraphQL TypeScript Generator

From GraphQLTo TypeScript
query IssuesQuery($username: String!) {
  repository(owner: "webpod", name: "graphql-megaera") {
    issues(first: 100, filterBy: { createdBy: $username }) {
      totalCount
      nodes {
        createdAt
        closedAt
        closed
        author {
          login
        }
        number
        title
        labels(first: 10) {
          totalCount
          nodes {
            name
          }
        }
        body
        comments(first: 10) {
          totalCount
          nodes {
            body
          }
        }
        repository {
          owner {
            login
          }
          name
        }
      }
      pageInfo {
        hasNextPage
        endCursor
      }
    }
  }
  rateLimit {
    limit
    cost
    remaining
    resetAt
  }
}
type IssuesQuery = (vars: { username: string }) => {
  repository: {
    issues: {
      totalCount: number
      nodes: Array<{
        createdAt: string
        closedAt: string | null
        closed: boolean
        author: {
          login: string
        } | null
        number: number
        title: string
        labels: {
          totalCount: number
          nodes: Array<{
            name: string
          }> | null
        } | null
        body: string
        comments: {
          totalCount: number
          nodes: Array<{
            body: string
          }> | null
        }
        repository: {
          owner: {
            login: string
          }
          name: string
        }
      }> | null
      pageInfo: {
        hasNextPage: boolean
        endCursor: string | null
      }
    }
  } | null
  rateLimit: {
    limit: number
    cost: number
    remaining: number
    resetAt: string
  } | null
} | null

License

MIT

Keywords

FAQs

Package last updated on 10 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc