Compare commits
20 Commits
55bbf723ba
...
dean/mobil
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e1a7090a | ||
|
|
85c4ec6d40 | ||
|
|
9f735b61bb | ||
|
|
fda8e4eb9d | ||
|
|
338c45d59b | ||
|
|
e879c5008f | ||
|
|
2d67e076f7 | ||
|
|
ec534769f3 | ||
|
|
f8e8c7b7d4 | ||
|
|
372fd6e26b | ||
|
|
d9ef5ed79a | ||
| f14e117416 | |||
| 3d86c13291 | |||
| e63f8600aa | |||
| 7e822446da | |||
| 75ecc5894b | |||
| 73c8dd5f57 | |||
|
|
e4223a1a17 | ||
|
|
83b7f0d0f6 | ||
|
|
a882f98d91 |
102
src/index.tsx
102
src/index.tsx
@@ -79,6 +79,12 @@ export enum AlignedIntervalEnum {
|
||||
Year = "YEAR",
|
||||
}
|
||||
|
||||
export type AuthHandoffTokenGql = {
|
||||
__typename?: "AuthHandoffTokenGQL";
|
||||
expiresInSeconds: Scalars["Int"]["output"];
|
||||
token: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export type BankFeaturesGql = {
|
||||
__typename?: "BankFeaturesGQL";
|
||||
bankAngle: Scalars["Float"]["output"];
|
||||
@@ -140,6 +146,21 @@ export type BucketSetInputGql = {
|
||||
feature: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type CancellationFeedbackMetadataInput = {
|
||||
appVersion?: InputMaybe<Scalars["String"]["input"]>;
|
||||
gitRevision?: InputMaybe<Scalars["String"]["input"]>;
|
||||
platform?: InputMaybe<Scalars["String"]["input"]>;
|
||||
};
|
||||
|
||||
export enum CancellationReasonEnum {
|
||||
DataNotAccurate = "DATA_NOT_ACCURATE",
|
||||
DontPlayEnough = "DONT_PLAY_ENOUGH",
|
||||
MissingFeatures = "MISSING_FEATURES",
|
||||
Other = "OTHER",
|
||||
TechnicalIssues = "TECHNICAL_ISSUES",
|
||||
TooExpensive = "TOO_EXPENSIVE",
|
||||
}
|
||||
|
||||
export type Challenge = {
|
||||
__typename?: "Challenge";
|
||||
createdAt: Scalars["DateTime"]["output"];
|
||||
@@ -303,6 +324,12 @@ export type EnumAggregation = {
|
||||
feature: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type ExchangeAuthHandoffResultGql = {
|
||||
__typename?: "ExchangeAuthHandoffResultGQL";
|
||||
customToken: Scalars["String"]["output"];
|
||||
userId: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type FilterInput =
|
||||
| {
|
||||
andFilters: Array<FilterInput>;
|
||||
@@ -2327,6 +2354,7 @@ export type Mutation = {
|
||||
blockUser: Scalars["Boolean"]["output"];
|
||||
cancelSubscription: UserSubscriptionStatusGql;
|
||||
commentOnVideo: Scalars["Boolean"]["output"];
|
||||
createAuthHandoffToken: AuthHandoffTokenGql;
|
||||
createBucketSet: BucketSetGql;
|
||||
createChallenge: Challenge;
|
||||
createRuleSet: RuleSet;
|
||||
@@ -2344,6 +2372,7 @@ export type Mutation = {
|
||||
editUploadStream: Scalars["Boolean"]["output"];
|
||||
editUser: UserGql;
|
||||
ensureStripeCustomerExists: UserGql;
|
||||
exchangeAuthHandoffToken: ExchangeAuthHandoffResultGql;
|
||||
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
||||
followUser: UserGql;
|
||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||
@@ -2361,6 +2390,7 @@ export type Mutation = {
|
||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||
startChallenge: ChallengeEntry;
|
||||
submitCancellationFeedback: Scalars["Boolean"]["output"];
|
||||
submitChallengeEntry: ChallengeEntry;
|
||||
undismissChallenge: Scalars["Boolean"]["output"];
|
||||
unfollowUser: UserGql;
|
||||
@@ -2463,6 +2493,10 @@ export type MutationEditUserArgs = {
|
||||
input: EditUserInputGql;
|
||||
};
|
||||
|
||||
export type MutationExchangeAuthHandoffTokenArgs = {
|
||||
token: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type MutationFindPrerecordTableLayoutArgs = {
|
||||
b64Image: Scalars["String"]["input"];
|
||||
videoId: Scalars["Int"]["input"];
|
||||
@@ -2537,6 +2571,12 @@ export type MutationStartChallengeArgs = {
|
||||
challengeId: Scalars["ID"]["input"];
|
||||
};
|
||||
|
||||
export type MutationSubmitCancellationFeedbackArgs = {
|
||||
feedback?: InputMaybe<Scalars["String"]["input"]>;
|
||||
metadata?: InputMaybe<CancellationFeedbackMetadataInput>;
|
||||
reasons?: InputMaybe<Array<CancellationReasonEnum>>;
|
||||
};
|
||||
|
||||
export type MutationSubmitChallengeEntryArgs = {
|
||||
entryId: Scalars["ID"]["input"];
|
||||
videoId: Scalars["ID"]["input"];
|
||||
@@ -4965,6 +5005,7 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5047,6 +5088,7 @@ export type GetShotsWithMetadataQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5118,6 +5160,7 @@ export type GetShotsByIdsQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5182,6 +5225,7 @@ export type ShotWithAllFeaturesFragment = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5263,6 +5307,7 @@ export type EditShotMutation = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5449,21 +5494,7 @@ export type FollowUserMutationVariables = Exact<{
|
||||
|
||||
export type FollowUserMutation = {
|
||||
__typename?: "Mutation";
|
||||
followUser: {
|
||||
__typename?: "UserGQL";
|
||||
username: string;
|
||||
id: number;
|
||||
following?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
};
|
||||
followUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||
};
|
||||
|
||||
export type UnfollowUserMutationVariables = Exact<{
|
||||
@@ -5472,21 +5503,7 @@ export type UnfollowUserMutationVariables = Exact<{
|
||||
|
||||
export type UnfollowUserMutation = {
|
||||
__typename?: "Mutation";
|
||||
unfollowUser: {
|
||||
__typename?: "UserGQL";
|
||||
username: string;
|
||||
id: number;
|
||||
following?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
};
|
||||
unfollowUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||
};
|
||||
|
||||
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
||||
@@ -5503,12 +5520,14 @@ export type GetUserFollowingFollowersQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
}> | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
}> | null;
|
||||
} | null;
|
||||
};
|
||||
@@ -6551,6 +6570,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||
streamSegmentType
|
||||
}
|
||||
playlist {
|
||||
videoId
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
@@ -11280,16 +11300,8 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
||||
export const FollowUserDocument = gql`
|
||||
mutation followUser($followedUserId: Int!) {
|
||||
followUser(followedUserId: $followedUserId) {
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
username
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -11339,16 +11351,8 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
||||
export const UnfollowUserDocument = gql`
|
||||
mutation unfollowUser($followedUserId: Int!) {
|
||||
unfollowUser(followedUserId: $followedUserId) {
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
username
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -11403,11 +11407,13 @@ export const GetUserFollowingFollowersDocument = gql`
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,3 +63,17 @@ mutation CancelSubscription {
|
||||
stripeSubscriptionId
|
||||
}
|
||||
}
|
||||
|
||||
mutation CreateAuthHandoffToken {
|
||||
createAuthHandoffToken {
|
||||
token
|
||||
expiresInSeconds
|
||||
}
|
||||
}
|
||||
|
||||
mutation ExchangeAuthHandoffToken($token: String!) {
|
||||
exchangeAuthHandoffToken(token: $token) {
|
||||
customToken
|
||||
userId
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,6 +192,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
||||
streamSegmentType
|
||||
}
|
||||
playlist {
|
||||
videoId
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,31 +88,15 @@ query GetUserTags {
|
||||
|
||||
mutation followUser($followedUserId: Int!) {
|
||||
followUser(followedUserId: $followedUserId) {
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
username
|
||||
}
|
||||
}
|
||||
|
||||
mutation unfollowUser($followedUserId: Int!) {
|
||||
unfollowUser(followedUserId: $followedUserId) {
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
username
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,11 +107,13 @@ query getUserFollowingFollowers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1950
src/schema.gql
1950
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user