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