import { gql } from 'apollo-boost'

export default gql`
  query getPackage($input: PackageQueryInput!) {
    package(input: $input) {
      name
      namespace
      description
      category
      readme {
        content
      }
      stats {
        latestRelease
      }
      scriptMetadata {
        version
      }
      activitiesTimeline {
        datetime
        successful
        failed
      }
    }
  }
`
