View schema changes
```diff
@@ -872,9 +872,8 @@
primaryLocationId: ID
"""Defaults to High, only available on internship projects"""
sensitivity: Sensitivity
- step: ProjectStep
tags: [String!] = []
type: ProjectType!
}
@@ -4812,30 +4811,8 @@
"""@order 26"""
Terminated
}
-"""
-A transition for the project workflow.
-
-This is not a normalized entity.
-A transition represented by its `key` can have different field values
-based on the workflow's state.
-"""
-type ProjectStepTransition {
- disabled: Boolean!
- disabledReason: String
-
- """
- An local identifier for this transition.
- It cannot be used to globally identify a transition.
- It is passed to the transition mutation.
- """
- key: ID!
- label: String!
- to: ProjectStep!
- type: TransitionType!
-}
-
enum ProjectType {
"""@order 2"""
Internship
@@ -4870,12 +4847,34 @@
notes: SecuredRichTextNullable!
to: ProjectStep!
"""The transition taken, null if workflow was bypassed"""
- transition: ProjectStepTransition
+ transition: ProjectWorkflowTransition
who: SecuredActor!
}
+"""
+A transition for the project workflow.
+
+This is not a normalized entity.
+A transition represented by its `key` can have different field values
+based on the workflow's state.
+"""
+type ProjectWorkflowTransition {
+ disabled: Boolean!
+ disabledReason: String
+
+ """
+ An local identifier for this transition.
+ It cannot be used to globally identify a transition.
+ It is passed to the transition mutation.
+ """
+ key: ID!
+ label: String!
+ to: ProjectStep!
+ type: TransitionType!
+}
+
type Prompt {
"""Whether the requesting user can delete this resource"""
canDelete: Boolean!
createdAt: DateTime!
@@ -6399,9 +6398,9 @@
canEdit: Boolean!
canRead: Boolean!
"""The transitions currently available to execute for this project"""
- transitions: [ProjectStepTransition!]!
+ transitions: [ProjectWorkflowTransition!]!
value: ProjectStep
}
"""
@@ -7487,9 +7486,8 @@
primaryLocationId: ID
"""Update only available to internship projects"""
sensitivity: Sensitivity
- step: ProjectStep
tags: [String!]
}
input UpdateProjectChangeRequest {
```
🚨 Breaking Changes
ProjectStepTransition was removed.
CreateProject.step was removed.
ProjectWorkflowEvent.transition changed type from ProjectStepTransition to ProjectWorkflowTransition.
SecuredProjectStep.transitions changed type from [ProjectStepTransition!]! to [ProjectWorkflowTransition!]!.
UI is migrated to new paths & doesn't reference these type names.