Compare commits

..

1 Commits

3 changed files with 114 additions and 2022 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,13 +5,5 @@ query getDeployedConfig {
environment
firebase
minimumAllowedAppVersion
bannerMessages {
color
dismissible
id
kind
message
priority
}
}
}

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
@ -70,11 +72,6 @@ type Query {
limit: Int = null
after: String = null
): [String!]!
getUsersMatching(
matchString: String = null
limit: Int = null
after: String = null
): [UserGQL!]!
getUserRelationshipsMatching(
userId: Int!
matchString: String = null
@ -129,7 +126,7 @@ input AggregateInputGQL {
filterInput: FilterInput
}
input AggregationInput @oneOf {
input AggregationInput {
bucketSet: BucketSetInputGQL
enum: EnumAggregation
datetimeRange: DatetimeRangeAggregationInput
@ -161,7 +158,7 @@ Date with time (isoformat)
"""
scalar DateTime
input TimeInterval @oneOf {
input TimeInterval {
timedelta: TimeDeltaGQL
aligned: AlignedIntervalEnum
}
@ -180,7 +177,7 @@ enum AlignedIntervalEnum {
DAY
}
input FilterInput @oneOf {
input FilterInput {
andFilters: [FilterInput!]
orFilters: [FilterInput!]
notFilter: FilterInput
@ -296,22 +293,6 @@ type DeployedConfigGQL {
devMode: Boolean!
environment: String!
minimumAllowedAppVersion: String!
bannerMessages: [BannerGQL!]!
}
type BannerGQL {
id: Int!
message: String!
color: String!
kind: BannerKindEnum!
dismissible: Boolean!
priority: Int!
}
enum BannerKindEnum {
INFO
WARNING
ERROR
}
type VideoHistoryGQL {
@ -634,7 +615,7 @@ input VideoFilterInput {
excludeVideosWithNoShots: Boolean = null
}
input VideoFeedInputGQL @oneOf {
input VideoFeedInputGQL {
followedByUserId: Int
userId: Int
allUsers: Boolean
@ -699,7 +680,7 @@ type MedalGQL {
nickname: String
}
input MedalScope @oneOf {
input MedalScope {
videoId: Int
interval: TimeInterval
@deprecated(reason: "NO LONGER SUPPORTED, USE DATETIME_RANGE")
@ -728,7 +709,7 @@ input GetRunsOrdering {
orderings: [RunsOrderingComponent!]!
}
input RunsOrderingComponent @oneOf {
input RunsOrderingComponent {
runLength: IntOrdering
videoId: IntOrdering
videoCreation: DatetimeOrdering
@ -787,7 +768,7 @@ input GetShotsOrdering {
orderings: [ShotsOrderingComponent!]!
}
input ShotsOrderingComponent @oneOf {
input ShotsOrderingComponent {
videoCreation: DatetimeOrdering
marginOfError: FloatOrdering
difficulty: FloatOrdering
@ -806,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!]!