diff --git a/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql b/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql index 3ee5c79..6e7feb0 100644 --- a/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql +++ b/lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql @@ -6134,6 +6134,14 @@ type Group { cannot be calculated. """ timeEstimateRange: CategorizedTimeRange + + """ + Prepared time by band ignoring `minimumRequired`, for observations that can be + calculated. In order for an observation to have an estimate, it must be + fully defined such that a sequence can be generated for it. All defined + observations in every band present in the group are included. + """ + timeEstimateBanded: [BandedTime!]! existence: Existence! system: Boolean! } @@ -7030,6 +7038,14 @@ type Program { """ timeEstimateRange: CategorizedTimeRange + """ + Prepared time by band ignoring `minimumRequired` in groups, for observations + that can be calculated. In order for an observation to have an estimate, it + must be fully defined such that a sequence can be generated for it. All + defined observations in every band present in the program are included. + """ + timeEstimateBanded: [BandedTime!]! + """ Program-wide time charge, summing all corrected observation time charges. """ @@ -7399,6 +7415,13 @@ type Query { includeDeleted: Boolean! = false ): ObservationSelectResult! + """ + Selects observations via a normal predicate *and* an additional filter for allowed + workflow states. This query is intended for operations and is available only for + service users. + """ + observationsByWorkflowState(WHERE: WhereObservation, states: [ObservationWorkflowState!]): [Observation!]! + """ Selects the first `LIMIT` matching configuration requests based on the provided `WHERE` parameter, if any. """