diff --git a/schema/workflows.graphql b/schema/workflows.graphql index 166ee23..2ee7168 100644 --- a/schema/workflows.graphql +++ b/schema/workflows.graphql @@ -53,6 +53,11 @@ type Mutation { submitWorkflowTemplate(name: String!, visit: VisitInput!, parameters: JSON!): Workflow! } +""" +Represents Relay Node types +""" +union NodeValue = Workflow + """ Information about pagination in a connection """ @@ -79,6 +84,7 @@ type PageInfo @shareable { The root query of the service """ type Query { + node(id: ID!): NodeValue """ Get a single [`Workflow`] by proposal, visit, and name """ @@ -241,6 +247,10 @@ input VisitInput { } type Workflow { + """ + The unique ID derived from the visit and name + """ + id: ID! """ The name given to the workflow, unique within a given visit """