Skip to content

Commit

Permalink
Update ODB Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lucuma-steward[bot] committed Jan 22, 2025
1 parent 5b8e622 commit d90825a
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,22 @@ type CategorizedTimeRange {
maximum: CategorizedTime!
}

"""Input used to change the role of a program user."""
input ChangeProgramUserRoleInput {
"""Program user to update."""
programUserId: ProgramUserId!

"""New role they should assume."""
newRole: ProgramUserRole!
}

"""
Result of the program user role update, which is the updated program user itself.
"""
type ChangeProgramUserRoleResult {
programUser: ProgramUser!
}

"""
Describes an observation clone operation, making any edits in the `SET`
parameter. The observation status in the cloned observation defaults to NEW.
Expand Down Expand Up @@ -2237,6 +2253,9 @@ type Mutation {
be introduced.
"""
addTimeChargeCorrection(input: AddTimeChargeCorrectionInput!): AddTimeChargeCorrectionResult!

"""Update the role of a program user."""
changeProgramUserRole(input: ChangeProgramUserRoleInput!): ChangeProgramUserRoleResult!
cloneObservation(
"""Parameters for cloning an existing observation"""
input: CloneObservationInput!
Expand Down

0 comments on commit d90825a

Please sign in to comment.