Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions schema/workflows.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand All @@ -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
"""
Expand Down Expand Up @@ -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
"""
Expand Down