Compare commits
1 Commits
master
...
dean/add-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce8d2aaec8 |
171
src/index.tsx
171
src/index.tsx
@@ -3178,7 +3178,6 @@ export type UserGql = {
|
||||
following?: Maybe<Array<UserGql>>;
|
||||
id: Scalars["Int"]["output"];
|
||||
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
|
||||
isFollowedByCurrentUser?: Maybe<Scalars["Boolean"]["output"]>;
|
||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
|
||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
@@ -3228,25 +3227,16 @@ export type VideoFeedInputGql =
|
||||
| {
|
||||
allUsers: Scalars["Boolean"]["input"];
|
||||
followedByUserId?: never;
|
||||
home?: never;
|
||||
userId?: never;
|
||||
}
|
||||
| {
|
||||
allUsers?: never;
|
||||
followedByUserId: Scalars["Int"]["input"];
|
||||
home?: never;
|
||||
userId?: never;
|
||||
}
|
||||
| {
|
||||
allUsers?: never;
|
||||
followedByUserId?: never;
|
||||
home: Scalars["Boolean"]["input"];
|
||||
userId?: never;
|
||||
}
|
||||
| {
|
||||
allUsers?: never;
|
||||
followedByUserId?: never;
|
||||
home?: never;
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
@@ -3275,6 +3265,7 @@ export type VideoGql = {
|
||||
name?: Maybe<Scalars["String"]["output"]>;
|
||||
owner?: Maybe<UserGql>;
|
||||
playlist?: Maybe<HlsPlaylistGql>;
|
||||
pocketSize?: Maybe<Scalars["Float"]["output"]>;
|
||||
private: Scalars["Boolean"]["output"];
|
||||
reactions: Array<ReactionGql>;
|
||||
screenshotUri?: Maybe<Scalars["String"]["output"]>;
|
||||
@@ -3303,6 +3294,7 @@ export type VideoMetadataInput = {
|
||||
/** @deprecated `game_type` is deprecated. Use `tags` instead. */
|
||||
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
||||
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
private?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
resolution?: InputMaybe<VideoResolution>;
|
||||
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
@@ -3546,7 +3538,12 @@ export type GetFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
comments: Array<{
|
||||
@@ -3558,7 +3555,12 @@ export type GetFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
replies: Array<{
|
||||
__typename?: "CommentGQL";
|
||||
@@ -3569,7 +3571,12 @@ export type GetFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -3587,7 +3594,12 @@ export type UserSocialsFieldsFragment = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
|
||||
export type VideoCardFieldsFragment = {
|
||||
@@ -3644,7 +3656,12 @@ export type VideoCardFieldsFragment = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
comments: Array<{
|
||||
@@ -3656,7 +3673,12 @@ export type VideoCardFieldsFragment = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
replies: Array<{
|
||||
__typename?: "CommentGQL";
|
||||
@@ -3667,7 +3689,12 @@ export type VideoCardFieldsFragment = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -3686,7 +3713,6 @@ export type GetVideoFeedQuery = {
|
||||
__typename?: "Query";
|
||||
getFeedVideos: {
|
||||
__typename?: "VideoHistoryGQL";
|
||||
hasFollowing: boolean;
|
||||
videos: Array<{
|
||||
__typename?: "VideoGQL";
|
||||
id: number;
|
||||
@@ -3744,7 +3770,12 @@ export type GetVideoFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
comments: Array<{
|
||||
@@ -3756,7 +3787,12 @@ export type GetVideoFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
replies: Array<{
|
||||
__typename?: "CommentGQL";
|
||||
@@ -3767,7 +3803,12 @@ export type GetVideoFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -4934,7 +4975,21 @@ export type FollowUserMutationVariables = Exact<{
|
||||
|
||||
export type FollowUserMutation = {
|
||||
__typename?: "Mutation";
|
||||
followUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
export type UnfollowUserMutationVariables = Exact<{
|
||||
@@ -4943,7 +4998,21 @@ export type UnfollowUserMutationVariables = Exact<{
|
||||
|
||||
export type UnfollowUserMutation = {
|
||||
__typename?: "Mutation";
|
||||
unfollowUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
||||
@@ -4960,14 +5029,12 @@ 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;
|
||||
};
|
||||
@@ -5103,6 +5170,7 @@ export type GetVideoUpdatePageDetailsQuery = {
|
||||
makePercentage: number;
|
||||
elapsedTime?: number | null;
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
private: boolean;
|
||||
tags: Array<{
|
||||
__typename?: "VideoTag";
|
||||
@@ -5143,6 +5211,7 @@ export type GetVideoDetailsQuery = {
|
||||
createdAt?: any | null;
|
||||
updatedAt?: any | null;
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
private: boolean;
|
||||
owner?: {
|
||||
__typename?: "UserGQL";
|
||||
@@ -5193,7 +5262,12 @@ export type GetVideoSocialDetailsByIdQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
comments: Array<{
|
||||
@@ -5205,7 +5279,12 @@ export type GetVideoSocialDetailsByIdQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
replies: Array<{
|
||||
__typename?: "CommentGQL";
|
||||
@@ -5216,7 +5295,12 @@ export type GetVideoSocialDetailsByIdQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
isFollowedByCurrentUser?: boolean | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -5804,7 +5888,11 @@ export const UserSocialsFieldsFragmentDoc = gql`
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const VideoCardFieldsFragmentDoc = gql`
|
||||
@@ -6709,7 +6797,6 @@ export const GetVideoFeedDocument = gql`
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
hasFollowing
|
||||
}
|
||||
}
|
||||
${VideoCardFieldsFragmentDoc}
|
||||
@@ -9484,8 +9571,16 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
||||
export const FollowUserDocument = gql`
|
||||
mutation followUser($followedUserId: Int!) {
|
||||
followUser(followedUserId: $followedUserId) {
|
||||
id
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -9535,8 +9630,16 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
||||
export const UnfollowUserDocument = gql`
|
||||
mutation unfollowUser($followedUserId: Int!) {
|
||||
unfollowUser(followedUserId: $followedUserId) {
|
||||
id
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -9591,13 +9694,11 @@ export const GetUserFollowingFollowersDocument = gql`
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9961,6 +10062,7 @@ export const GetVideoUpdatePageDetailsDocument = gql`
|
||||
makePercentage
|
||||
elapsedTime
|
||||
tableSize
|
||||
pocketSize
|
||||
private
|
||||
tags {
|
||||
tagClasses {
|
||||
@@ -10102,6 +10204,7 @@ export const GetVideoDetailsDocument = gql`
|
||||
createdAt
|
||||
updatedAt
|
||||
tableSize
|
||||
pocketSize
|
||||
private
|
||||
owner {
|
||||
id
|
||||
|
||||
@@ -19,7 +19,11 @@ fragment UserSocialsFields on UserGQL {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
}
|
||||
}
|
||||
|
||||
fragment VideoCardFields on VideoGQL {
|
||||
@@ -112,6 +116,5 @@ query GetVideoFeed(
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
hasFollowing
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,15 +88,31 @@ query GetUserTags {
|
||||
|
||||
mutation followUser($followedUserId: Int!) {
|
||||
followUser(followedUserId: $followedUserId) {
|
||||
id
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mutation unfollowUser($followedUserId: Int!) {
|
||||
unfollowUser(followedUserId: $followedUserId) {
|
||||
id
|
||||
username
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,13 +123,11 @@ query getUserFollowingFollowers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) {
|
||||
makePercentage
|
||||
elapsedTime
|
||||
tableSize
|
||||
pocketSize
|
||||
private
|
||||
tags {
|
||||
tagClasses {
|
||||
@@ -66,6 +67,7 @@ query GetVideoDetails($videoId: Int!) {
|
||||
createdAt
|
||||
updatedAt
|
||||
tableSize
|
||||
pocketSize
|
||||
private
|
||||
owner {
|
||||
id
|
||||
@@ -86,7 +88,11 @@ fragment UserSocialsFields on UserGQL {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
}
|
||||
}
|
||||
|
||||
query GetVideoSocialDetailsById($videoId: Int!) {
|
||||
|
||||
@@ -348,6 +348,7 @@ type VideoGQL {
|
||||
elapsedTime: Float
|
||||
framesPerSecond: Float!
|
||||
tableSize: Float!
|
||||
pocketSize: Float
|
||||
private: Boolean!
|
||||
stream: UploadStreamGQL
|
||||
playlist: HLSPlaylistGQL
|
||||
@@ -374,7 +375,6 @@ type UserGQL {
|
||||
agreesToMarketing: Boolean
|
||||
following: [UserGQL!]
|
||||
followers: [UserGQL!]
|
||||
isFollowedByCurrentUser: Boolean
|
||||
}
|
||||
|
||||
type ShotGQL {
|
||||
@@ -654,7 +654,6 @@ input VideoFeedInputGQL @oneOf {
|
||||
followedByUserId: Int
|
||||
userId: Int
|
||||
allUsers: Boolean
|
||||
home: Boolean
|
||||
}
|
||||
|
||||
type MakePercentageIntervalGQL {
|
||||
@@ -1124,6 +1123,7 @@ input VideoMetadataInput {
|
||||
"""
|
||||
tags: [VideoTagInput!] = null
|
||||
tableSize: Float = null
|
||||
pocketSize: Float = null
|
||||
lastIntendedSegmentBound: Int = null
|
||||
streamSegmentType: StreamSegmentTypeEnum = null
|
||||
private: Boolean = null
|
||||
|
||||
Reference in New Issue
Block a user