Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ODB Schema #596

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 0 additions & 107 deletions lucuma-schemas/src/clue/resources/lucuma/schemas/ObservationDB.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2466,16 +2466,6 @@ input ObservationPropertiesInput {
"""
subtitle: NonEmptyString

"""
The observation status will default to New if not specified when an observation is created and may be edited but not deleted
"""
status: ObsStatus

"""
The observation active status will default to Active if not specified when an observation is created and may be edited but not deleted
"""
activeStatus: ObsActiveStatus

"""
The science band to assign to this observation. Set to `null` to remove the
science band.
Expand Down Expand Up @@ -2532,9 +2522,6 @@ input ObservationPropertiesInput {

"""Set the notes for thhe observer"""
observerNotes: NonEmptyString

"""Sets the "for review" bit."""
forReview: Boolean
}

"""Observation times properties"""
Expand Down Expand Up @@ -6560,12 +6547,6 @@ type Observation {
"""User-supplied observation-identifying detail information"""
subtitle: NonEmptyString

"""Observation status"""
status: ObsStatus!

"""Observation operational status"""
activeStatus: ObsActiveStatus!

"""
Observations are associated with a science band once time has been allocated
to a program.
Expand Down Expand Up @@ -6622,9 +6603,6 @@ type Observation {
"""
itc: Itc!

"""A list of observation validation problems"""
validations: [ObservationValidation!]!

"""Enclosing group, if any."""
groupId: GroupId

Expand All @@ -6644,12 +6622,6 @@ type Observation {

"""Program configuration requests applicable to this observation."""
configurationRequests: [ConfigurationRequest!]!

"""
This flag is set to true prior to Phase II, and must be reset to false by the PI prior to observation. The
intent is to prompt PIs to review their accepted observations.
"""
forReview: Boolean!
workflow: ObservationWorkflow!
}

Expand Down Expand Up @@ -9558,17 +9530,8 @@ input WhereObservation {
"""Matches the subtitle of the observation."""
subtitle: WhereOptionString

"""Matches the observation status."""
status: WhereOrderObsStatus

"""Matches the observation active status."""
activeStatus: WhereOrderObsActiveStatus

"""Matches the observation science band."""
scienceBand: WhereOptionOrderScienceBand

"""Matches the "for review" bit."""
forReview: WhereBoolean
}

"""Configuration request filter options. All specified items must match."""
Expand Down Expand Up @@ -10175,76 +10138,6 @@ input WhereOrderLong {
LTE: Long
}

"""
Filters on equality or order comparisons of the property. All supplied
criteria must match, but usually only one is selected. E.g., 'GT = 2'
for an integer property will match when the value is 3 or more.
"""
input WhereOrderObsActiveStatus {
"""Matches if the property is exactly the supplied value."""
EQ: ObsActiveStatus

"""Matches if the property is not the supplied value."""
NEQ: ObsActiveStatus

"""Matches if the property value is any of the supplied options."""
IN: [ObsActiveStatus!]

"""Matches if the property value is none of the supplied values."""
NIN: [ObsActiveStatus!]

"""Matches if the property is ordered after (>) the supplied value."""
GT: ObsActiveStatus

"""Matches if the property is ordered before (<) the supplied value."""
LT: ObsActiveStatus

"""
Matches if the property is ordered after or equal (>=) the supplied value.
"""
GTE: ObsActiveStatus

"""
Matches if the property is ordered before or equal (<=) the supplied value.
"""
LTE: ObsActiveStatus
}

"""
Filters on equality or order comparisons of the property. All supplied
criteria must match, but usually only one is selected. E.g., 'GT = 2'
for an integer property will match when the value is 3 or more.
"""
input WhereOrderObsStatus {
"""Matches if the property is exactly the supplied value."""
EQ: ObsStatus

"""Matches if the property is not the supplied value."""
NEQ: ObsStatus

"""Matches if the property value is any of the supplied options."""
IN: [ObsStatus!]

"""Matches if the property value is none of the supplied values."""
NIN: [ObsStatus!]

"""Matches if the property is ordered after (>) the supplied value."""
GT: ObsStatus

"""Matches if the property is ordered before (<) the supplied value."""
LT: ObsStatus

"""
Matches if the property is ordered after or equal (>=) the supplied value.
"""
GTE: ObsStatus

"""
Matches if the property is ordered before or equal (<=) the supplied value.
"""
LTE: ObsStatus
}

"""
Filters on equality or order comparisons of the property. All supplied
criteria must match, but usually only one is selected. E.g., 'GT = 2'
Expand Down
Loading