File: schema.graphql

package info (click to toggle)
golang-github-graph-gophers-graphql-go 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,452 kB
  • sloc: sh: 373; javascript: 21; makefile: 5
file content (27 lines) | stat: -rw-r--r-- 532 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
type Query {
    """
    Returns the current state.
    """
    state: State!
}

type Mutation {
    """
    Changes the state and returns the new state.
    """
    state(state: State!): State!
}

"""
State holds the possible task states.
"""
enum State {
    "Backlog indicates that a task is in the backlog and needs to be triaged."
    BACKLOG
    "Todo means that a task is ready to be worked on."
    TODO
    "INPROG means that a task is currently in progress."
    INPROG
    "Done means that a task is finished."
    DONE
}