import { gql } from 'apollo-boost'

export default gql`
  query getScript($input: ScriptQueryInput!) {
    script(input: $input) {
      version
      description
      category
      execute {
        content
      }
      readme {
        content
      }
      superuser
      resolvedDependencies {
        name
        namespace
        version
      }
      platform {
        os
        dist
        codename
      }
    }
  }
`
