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 Nov 13, 2024
1 parent 6bdbe1e commit d14a2a8
Showing 1 changed file with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7362,6 +7362,34 @@ type Query {
includeDeleted: Boolean! = false
): ObservationSelectResult!

"""
Observations grouped by commonly held observing modes. Identify the program by
specifying only one of programId, programReference, or proposalReference. If
more than one is provided, all must match. If none are set, nothing will
match.
"""
observingModeGroup(
"""Program ID"""
programId: ProgramId

"""Proposal Reference"""
proposalReference: ProposalReferenceLabel

"""Program reference"""
programReference: ProgramReferenceLabel

"""Filters the selection of observations."""
WHERE: WhereObservation

"""
Limits the result to at most this number of matches (but never more than 1000).
"""
LIMIT: NonNegInt

"""Set to true to include deleted values"""
includeDeleted: Boolean! = false
): ObservingModeGroupSelectResult!

"""
Returns the program with the given id or reference, if any. Identify the
program by specifying only one of programId, programReference, or
Expand Down Expand Up @@ -7530,9 +7558,6 @@ type ObservingMode {
}

type ObservingModeGroup {
"""IDs of observations that use the same constraints"""
observationIds: [ObservationId!]!

"""Observations associated with the common value"""
observations(
"""Set to true to include deleted values"""
Expand All @@ -7550,7 +7575,10 @@ type ObservingModeGroup {
): ObservationSelectResult!

"""Commonly held value across the observations"""
observingMode: ObservingMode
observingMode: ObservingMode!

"""Link back to program."""
program: Program!
}

"""
Expand Down

0 comments on commit d14a2a8

Please sign in to comment.