extend type Query {
  netlify: Netlify!
}

type Netlify {
  deploy(
    contents: DirectoryID!
    subdir: String
    siteName: String
    token: SecretID!
    team: String
  ): SiteURLs!
}

type SiteURLs {
  url: String!
  deployURL: String!
  logsURL: String
}

extend type Directory {
  netlifyDeploy(
    subdir: String
    siteName: String
    token: SecretID!
    team: String
  ): SiteURLs!
}
