Skip to content

feat: Update workflows subgraph to graph-proxy@v0.1.14#127

Open
dls-graph-schema-federator[bot] wants to merge 1 commit intomainfrom
workflows-graph-proxy@v0.1.14
Open

feat: Update workflows subgraph to graph-proxy@v0.1.14#127
dls-graph-schema-federator[bot] wants to merge 1 commit intomainfrom
workflows-graph-proxy@v0.1.14

Conversation

@dls-graph-schema-federator
Copy link
Contributor

@github-actions
Copy link

github-actions bot commented Jan 7, 2026

@@ -243,6 +243,12 @@ type Mutation
   submitWorkflowTemplate(name: String!, visit: VisitInput!, parameters: JSON!): Workflow! @join__field(graph: WORKFLOWS)
 }
 
+"""Represents Relay Node types"""
+union NodeValue
+  @join__type(graph: WORKFLOWS)
+  @join__unionMember(graph: WORKFLOWS, member: "Workflow")
+ = Workflow
+
 """Information about pagination in a connection"""
 type PageInfo
   @join__type(graph: SAMPLES)
@@ -322,6 +328,7 @@ type Query
 
   """Get a list of samples associated with a given instrument session"""
   samples(proposalNumber: Int!, instrumentSessionNumber: Int!, first: Int!, filter: SampleFilterInput! = {}, before: String = null, after: String = null, last: Int = null, orderBy: SampleOrder! = {}): SampleConnection! @join__field(graph: SAMPLES)
+  node(id: ID!): NodeValue @join__field(graph: WORKFLOWS)
 
   """Get a single [`Workflow`] by proposal, visit, and name"""
   workflow(visit: VisitInput!, name: String!): Workflow! @join__field(graph: WORKFLOWS)
@@ -585,6 +592,20 @@ enum TaskStatus
 scalar Template
   @join__type(graph: WORKFLOWS)
 
+"""Information about where the template is stored"""
+type TemplateSource
+  @join__type(graph: WORKFLOWS)
+{
+  """The URL of the GitHub repository"""
+  repositoryUrl: String!
+
+  """The path to the template within the repository"""
+  path: String!
+
+  """The current tracked branch of the repository"""
+  targetRevision: String!
+}
+
 """
 URL is a String implementing the [URL Standard](http://url.spec.whatwg.org/)
 """
@@ -629,6 +650,9 @@ scalar Void
 type Workflow
   @join__type(graph: WORKFLOWS)
 {
+  """The unique ID derived from the visit and name"""
+  id: ID!
+
   """The name given to the workflow, unique within a given visit"""
   name: String!
 
@@ -824,6 +848,9 @@ type WorkflowTemplate
   A JSON Forms UI Schema describing how to render the arguments of the Workflow Template
   """
   uiSchema: JSON
+
+  """Information about where the template is obtained from"""
+  templateSource: TemplateSource
 }
 
 type WorkflowTemplateConnection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants