Skip to content

Commit

Permalink
migrate to odb changes in sequence offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiaggio committed Oct 30, 2024
1 parent 43c10ae commit db0481a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
33 changes: 11 additions & 22 deletions explore/src/clue/scala/queries/common/ObsQueriesGQL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,10 @@ object ObsQueriesGQL:
@GraphQL
trait SequenceOffsets extends GraphQLOperation[ObservationDB]:
val document = s"""
fragment stepDataGN on GmosNorthStep {
fragment stepData on GmosNorthStep {
id
stepConfig {
... on Science {
offset $OffsetSubquery
}
}
}

fragment stepDataGS on GmosSouthStep {
id
stepConfig {
... on Science {
offset $OffsetSubquery
}
telescopeConfig {
offset $OffsetSubquery
}
}

Expand All @@ -55,24 +44,24 @@ object ObsQueriesGQL:
acquisition {
nextAtom {
steps {
...stepDataGS
...stepData
}
}
possibleFuture {
steps {
...stepDataGS
...stepData
}
}
}
science {
nextAtom {
steps {
...stepDataGS
...stepData
}
}
possibleFuture {
steps {
...stepDataGS
...stepData
}
}
}
Expand All @@ -81,24 +70,24 @@ object ObsQueriesGQL:
acquisition {
nextAtom {
steps {
...stepDataGN
...stepData
}
}
possibleFuture {
steps {
...stepDataGN
...stepData
}
}
}
science {
nextAtom {
steps {
...stepDataGN
...stepData
}
}
possibleFuture {
steps {
...stepDataGN
...stepData
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions project/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ object Versions {
val lucumaITC = "0.22.5"
val lucumaReact = "0.71.2"
val lucumaRefined = "0.1.3"
val lucumaSchemas = "0.105.1"
val lucumaOdbSchema = "0.15.0"
val lucumaSchemas = "0.106-7df10af-20241030T152617Z-SNAPSHOT"
val lucumaOdbSchema = "0.16-0dffbc1-SNAPSHOT"
val lucumaSSO = "0.6.26"
val lucumaUI = "0.120.0"
val lucumaUI = "0.121-f34f7c9-20241030T152643Z-SNAPSHOT"
val monocle = "3.3.0"
val mouse = "1.3.2"
val mUnit = "1.0.2"
Expand Down

0 comments on commit db0481a

Please sign in to comment.