@@ -53,6 +53,11 @@ type Mutation {
5353 submitWorkflowTemplate (name : String ! , visit : VisitInput ! , parameters : JSON ! ): Workflow !
5454}
5555
56+ """
57+ Represents Relay Node types
58+ """
59+ union NodeValue = Workflow
60+
5661"""
5762Information about pagination in a connection
5863"""
@@ -79,6 +84,7 @@ type PageInfo @shareable {
7984The root query of the service
8085"""
8186type Query {
87+ node (id : ID ! ): NodeValue
8288 """
8389 Get a single [`Workflow`] by proposal, visit, and name
8490 """
@@ -199,6 +205,24 @@ enum TaskStatus {
199205
200206scalar Template
201207
208+ """
209+ Information about where the template is stored
210+ """
211+ type TemplateSource {
212+ """
213+ The URL of the GitHub repository
214+ """
215+ repositoryUrl : String !
216+ """
217+ The path to the template within the repository
218+ """
219+ path : String !
220+ """
221+ The current tracked branch of the repository
222+ """
223+ targetRevision : String !
224+ }
225+
202226"""
203227URL is a String implementing the [URL Standard](http://url.spec.whatwg.org/)
204228"""
@@ -241,6 +265,10 @@ input VisitInput {
241265}
242266
243267type Workflow {
268+ """
269+ The unique ID derived from the visit and name
270+ """
271+ id : ID !
244272 """
245273 The name given to the workflow, unique within a given visit
246274 """
@@ -458,6 +486,10 @@ type WorkflowTemplate {
458486 A JSON Forms UI Schema describing how to render the arguments of the Workflow Template
459487 """
460488 uiSchema : JSON
489+ """
490+ Information about where the template is obtained from
491+ """
492+ templateSource : TemplateSource
461493}
462494
463495type WorkflowTemplateConnection @shareable {
0 commit comments