File tree Expand file tree Collapse file tree 3 files changed +70
-0
lines changed
internal/service/graphql/graph/schema Expand file tree Collapse file tree 3 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 1+ extend type Query {
2+ """
3+ Information about the running Alloy instance.
4+ """
5+ alloy : Alloy !
6+ }
7+
8+ """
9+ Represents build and runtime information for an Alloy instance.
10+ Contains version control and build environment details.
11+ """
12+ type Alloy {
13+ "The git branch from which this build was created"
14+ branch : String !
15+
16+ "The timestamp of when this build was created"
17+ buildDate : String !
18+
19+ "The user account that initiated this build"
20+ buildUser : String !
21+
22+ "Whether the Alloy instance is up and running"
23+ isReady : Boolean !
24+
25+ "The git commit hash from which this build was created"
26+ revision : String !
27+
28+ "The semantic version of this Alloy build"
29+ version : String !
30+ }
Original file line number Diff line number Diff line change 1+ # Base GraphQL schema
2+ # Root types that other schemas extend
3+
4+ type Query
5+ # type Mutation
6+
7+ scalar Time
Original file line number Diff line number Diff line change 1+ extend type Query {
2+ """
3+ All components running in Alloy.
4+ """
5+ components : [Component ! ]!
6+
7+ """
8+ Component by ID.
9+ """
10+ component (id : ID ! ): Component
11+ }
12+
13+ type Component {
14+ "Health status of the component."
15+ health : Health !
16+
17+ "Fully-qualified ID of the component."
18+ id : ID !
19+
20+ "Name of the component."
21+ name : String !
22+ }
23+
24+ """
25+ Health status of the component.
26+ """
27+ type Health {
28+ "Message of the health status."
29+ message : String !
30+
31+ "Last updated time of the health status."
32+ lastUpdated : Time !
33+ }
You can’t perform that action at this time.
0 commit comments