/
schema.graphql
77 lines (65 loc) · 1.2 KB
/
schema.graphql
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
scalar JSON
scalar DateTime
interface Node {
id: ID!
}
interface Edge {
cursor: String!
}
interface Connection {
totalCount: Int!
pageInfo: PageInfo!
}
type PageInfo {
hasNextPage: Boolean!
# hasPreviousPage: Boolean!
# startCursor: String
# endCursor: String
}
type RegisteredTestsConnection implements Connection {
totalCount: Int!
edges: [RegisteredTestsEdge!]!
pageInfo: PageInfo!
}
type RegisteredTestsEdge implements Edge {
cursor: String!
node: RegisteredTest
}
type Interval {
milliseconds: Int!
human: String!
}
type Error {
name: String!
message: String!
stack: String!
}
type Label {
name: String!
value: String!
}
type Explanation {
name: String!
explanation: JSON
}
type RegisteredTest implements Node {
configuration: JSON
consecutiveFailureCount: Int
explain: [Explanation!]!
explainIsAvailable: Boolean!
id: ID!
interval: Interval!
labels: [Label!]!
lastError: Error
lastTestedAt: DateTime
name: String!
priority: Int
testIsFailing: Boolean
}
type Query {
getRegisteredTestById (
registeredTestId: ID!
): RegisteredTest!
registeredTests: RegisteredTestsConnection!
failingRegisteredTests: RegisteredTestsConnection!
}