Add gql mods for implementing one-of

This commit is contained in:
2024-05-22 15:13:18 -06:00
parent 08183ed952
commit 04a30e67d3
2 changed files with 17 additions and 44 deletions

View File

@@ -44,8 +44,8 @@ input AggregateInputGQL {
}
input AggregationInput {
bucketSet: BucketSetInputGQL = null
enum: EnumAggregation = null
bucketSet: BucketSetInputGQL
enum: EnumAggregation
}
input BucketSetInputGQL {
@@ -63,27 +63,19 @@ input EnumAggregation {
}
input FilterInput {
andFilters: AndFilter = null
orFilters: OrFilter = null
cueObjectDistance: RangeFilter = null
targetPocketDistance: RangeFilter = null
cueObjectAngle: RangeFilter = null
cueBallSpeed: RangeFilter = null
difficulty: RangeFilter = null
intendedPocketType: [PocketEnum!] = null
shotDirection: [ShotDirectionEnum!] = null
videoId: [Int!] = null
userId: [Int!] = null
make: [Boolean!] = null
tags: [VideoTagInput!] = null
}
input AndFilter {
filters: [FilterInput!]!
}
input OrFilter {
filters: [FilterInput!]!
andFilters: [FilterInput!]
orFilters: [FilterInput!]
cueObjectDistance: RangeFilter
targetPocketDistance: RangeFilter
cueObjectAngle: RangeFilter
cueBallSpeed: RangeFilter
difficulty: RangeFilter
intendedPocketType: [PocketEnum!]
shotDirection: [ShotDirectionEnum!]
videoId: [Int!]
userId: [Int!]
make: [Boolean!]
tags: [VideoTagInput!]
}
input RangeFilter {
@@ -144,7 +136,6 @@ type ShotGQL {
cueObjectFeatures: CueObjectFeaturesGQL
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL
user: UserGQL
}
@@ -178,10 +169,6 @@ enum WallTypeEnum {
SHORT
}
type SerializedShotPathsGQL {
b64EncodedBuffer: String
}
type UserGQL {
id: Int!
firebaseUid: String!