Compare commits

..

No commits in common. "loewy/add-stripe-resolvers" and "master" have entirely different histories.

2 changed files with 1952 additions and 114 deletions

File diff suppressed because it is too large Load Diff

View File

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