resolvers, is removing @oneOf decorator, should not merge till fixed

This commit is contained in:
Loewy 2025-06-05 16:25:09 -07:00
parent 2459cb78f8
commit 01def002f2
2 changed files with 114 additions and 1952 deletions

File diff suppressed because it is too large Load Diff

View File

@ -62,6 +62,8 @@ type Query {
countRespectsLimit: Boolean! = false
): [ShotGQL!]!
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
getStripePublishableKey: String
getSubscriptionTiers: [SubscriptionTierGQL!]!
getUser(userId: Int!): UserGQL
doesUsernameExist(candidateUsername: String!): Boolean!
getLoggedInUser: UserGQL
@ -124,7 +126,7 @@ input AggregateInputGQL {
filterInput: FilterInput
}
input AggregationInput @oneOf {
input AggregationInput {
bucketSet: BucketSetInputGQL
enum: EnumAggregation
datetimeRange: DatetimeRangeAggregationInput
@ -156,7 +158,7 @@ Date with time (isoformat)
"""
scalar DateTime
input TimeInterval @oneOf {
input TimeInterval {
timedelta: TimeDeltaGQL
aligned: AlignedIntervalEnum
}
@ -175,7 +177,7 @@ enum AlignedIntervalEnum {
DAY
}
input FilterInput @oneOf {
input FilterInput {
andFilters: [FilterInput!]
orFilters: [FilterInput!]
notFilter: FilterInput
@ -613,7 +615,7 @@ input VideoFilterInput {
excludeVideosWithNoShots: Boolean = null
}
input VideoFeedInputGQL @oneOf {
input VideoFeedInputGQL {
followedByUserId: Int
userId: Int
allUsers: Boolean
@ -678,7 +680,7 @@ type MedalGQL {
nickname: String
}
input MedalScope @oneOf {
input MedalScope {
videoId: Int
interval: TimeInterval
@deprecated(reason: "NO LONGER SUPPORTED, USE DATETIME_RANGE")
@ -707,7 +709,7 @@ input GetRunsOrdering {
orderings: [RunsOrderingComponent!]!
}
input RunsOrderingComponent @oneOf {
input RunsOrderingComponent {
runLength: IntOrdering
videoId: IntOrdering
videoCreation: DatetimeOrdering
@ -766,7 +768,7 @@ input GetShotsOrdering {
orderings: [ShotsOrderingComponent!]!
}
input ShotsOrderingComponent @oneOf {
input ShotsOrderingComponent {
videoCreation: DatetimeOrdering
marginOfError: FloatOrdering
difficulty: FloatOrdering
@ -785,11 +787,21 @@ input GetShotsPagination {
startFrameAfter: Int!
}
input CreatedAfter @oneOf {
input CreatedAfter {
videoId: Int
createdAt: DateTime
}
type SubscriptionTierGQL {
id: Int!
name: String!
price: String!
active: Boolean!
rateBased: Boolean!
ratePrice: String
stripePriceId: String
}
type UserRelationshipsResult {
inquiringUser: UserGQL!
relationships: [UserRelationship!]!