visible/visible

View on GitHub
packages/@visi/web-schema/src/report.graphql

Summary

Maintainability
Test Coverage
# import Node from "./node.graphql"
# import Rule from "./rule.graphql"
# import Source from "./source.graphql"
# import URL from "./scalars.graphql"
# import Location from "./location.graphql"

enum Outcome {
  FAIL
  PASSED
  INAPPLICABLE
}

enum Impact {
  MINOR
  SERIOUS
  CRITICAL
}

enum Difficulty {
  EASY
  MEDIUM
  DIFFICULT
}

type Report implements Node {
  id: ID!
  rule: Rule!
  outcome: Outcome!
  impact: Impact
  difficulty: Difficulty
  target: String
  message: String
  diffHunk: String
  screenshot: URL
  location: Location
  # source: Source!
}