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

Limit observations to ACCEPTED, or ENGINEERING or CALIBRATION programs #1617

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ object ObsQueriesGQL {
// Revise this when the API supports it OR we start getting obersvations from the scheduler.
val document = s"""
query {
observations() {
observations(
WHERE: {
program: {
OR: [
{ proposalStatus: { EQ: ACCEPTED } }
{ type: { IN: [ENGINEERING, CALIBRATION] } }
]
}
}
) {
matches $ObservationSummarySubquery
}
}
Expand Down
2 changes: 1 addition & 1 deletion project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object Settings {
val lucumaODBSchema = "0.18.3"

// Clue
val clue = "0.43.0"
val clue = "0.43.1"

// ScalaJS libraries
val crystal = "0.47.3"
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.11.1")

// Generate code for GraphQL queries
addSbtPlugin("edu.gemini" % "sbt-clue" % "0.43.0")
addSbtPlugin("edu.gemini" % "sbt-clue" % "0.43.1")
Loading