~comcloudway/builds.sr.ht

268fa61fff7ba86213ac56f7aafa54b76ce78de5 — Simon Ser 2 years ago aa4a180
api/graph: add missing non-null types

Entries of the lists cannot be null.
1 files changed, 6 insertions(+), 6 deletions(-)

M api/graph/schema.graphqls
M api/graph/schema.graphqls => api/graph/schema.graphqls +6 -6
@@ 98,7 98,7 @@ type Job {
  status: JobStatus!
  manifest: String!
  note: String
  tags: [String]!
  tags: [String!]!

  "Name of the build image"
  image: String!


@@ 111,14 111,14 @@ type Job {

  owner: Entity! @access(scope: PROFILE, kind: RO)
  group: JobGroup
  tasks: [Task]!
  artifacts: [Artifact]!
  tasks: [Task!]!
  artifacts: [Artifact!]!

  "The job's top-level log file, not associated with any tasks"
  log: Log @access(scope: LOGS, kind: RO)

  "List of secrets available to this job, or null if they were disabled"
  secrets: [Secret] @access(scope: SECRETS, kind: RO)
  secrets: [Secret!] @access(scope: SECRETS, kind: RO)
}

type Log {


@@ 159,8 159,8 @@ type JobGroup {
  created: Time!
  note: String
  owner: Entity! @access(scope: PROFILE, kind: RO)
  jobs: [Job]!
  triggers: [Trigger]!
  jobs: [Job!]!
  triggers: [Trigger!]!
}

enum TaskStatus {