Change FilterInput to RunFilterInput
All checks were successful
Tests / Tests (pull_request) Successful in 6s

This commit is contained in:
2024-11-19 15:29:21 -08:00
parent c3c74379fb
commit cd2cdb475a
2 changed files with 26 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ type Query {
): [MakePercentageIntervalGQL!]!
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
getRuns(
filterInput: FilterInput!
filterInput: RunFilterInput!
runIds: [Int!] = null
runsOrdering: GetRunsOrdering = null
limit: Int! = 500
@@ -584,6 +584,18 @@ type VideoProcessingStatusGQL {
updatedAt: DateTime
}
input RunFilterInput {
videoId: [Int!]
userId: [Int!]
username: [String!]
andFilters: [RunFilterInput!]
orFilters: [RunFilterInput!]
notFilter: RunFilterInput
tableSize: FloatRangeFilter
createdAt: DateRangeFilter
runLength: FloatRangeFilter
}
input GetRunsOrdering {
orderings: [RunsOrderingComponent!]!
}