Compare commits
10 Commits
dean/add-c
...
loewy/add-
| Author | SHA1 | Date | |
|---|---|---|---|
| beeba9207c | |||
| f14e117416 | |||
| 3d86c13291 | |||
| e63f8600aa | |||
| 7e822446da | |||
| 75ecc5894b | |||
| 73c8dd5f57 | |||
|
|
e4223a1a17 | ||
|
|
83b7f0d0f6 | ||
|
|
a882f98d91 |
169
src/index.tsx
169
src/index.tsx
@@ -3178,6 +3178,7 @@ export type UserGql = {
|
|||||||
following?: Maybe<Array<UserGql>>;
|
following?: Maybe<Array<UserGql>>;
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
|
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
|
isFollowedByCurrentUser?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||||
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
|
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
|
||||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
@@ -3227,16 +3228,25 @@ export type VideoFeedInputGql =
|
|||||||
| {
|
| {
|
||||||
allUsers: Scalars["Boolean"]["input"];
|
allUsers: Scalars["Boolean"]["input"];
|
||||||
followedByUserId?: never;
|
followedByUserId?: never;
|
||||||
|
home?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
allUsers?: never;
|
allUsers?: never;
|
||||||
followedByUserId: Scalars["Int"]["input"];
|
followedByUserId: Scalars["Int"]["input"];
|
||||||
|
home?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
allUsers?: never;
|
allUsers?: never;
|
||||||
followedByUserId?: never;
|
followedByUserId?: never;
|
||||||
|
home: Scalars["Boolean"]["input"];
|
||||||
|
userId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
allUsers?: never;
|
||||||
|
followedByUserId?: never;
|
||||||
|
home?: never;
|
||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3385,6 +3395,7 @@ export type GetAggregatedShotMetricsQuery = {
|
|||||||
__typename?: "TargetMetricsGQL";
|
__typename?: "TargetMetricsGQL";
|
||||||
count: number;
|
count: number;
|
||||||
makePercentage?: number | null;
|
makePercentage?: number | null;
|
||||||
|
averageDifficulty?: number | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
@@ -3538,12 +3549,7 @@ export type GetFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
comments: Array<{
|
comments: Array<{
|
||||||
@@ -3555,12 +3561,7 @@ export type GetFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
replies: Array<{
|
replies: Array<{
|
||||||
__typename?: "CommentGQL";
|
__typename?: "CommentGQL";
|
||||||
@@ -3571,12 +3572,7 @@ export type GetFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
@@ -3594,12 +3590,7 @@ export type UserSocialsFieldsFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type VideoCardFieldsFragment = {
|
export type VideoCardFieldsFragment = {
|
||||||
@@ -3656,12 +3647,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
comments: Array<{
|
comments: Array<{
|
||||||
@@ -3673,12 +3659,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
replies: Array<{
|
replies: Array<{
|
||||||
__typename?: "CommentGQL";
|
__typename?: "CommentGQL";
|
||||||
@@ -3689,12 +3670,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
@@ -3713,6 +3689,7 @@ export type GetVideoFeedQuery = {
|
|||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getFeedVideos: {
|
getFeedVideos: {
|
||||||
__typename?: "VideoHistoryGQL";
|
__typename?: "VideoHistoryGQL";
|
||||||
|
hasFollowing: boolean;
|
||||||
videos: Array<{
|
videos: Array<{
|
||||||
__typename?: "VideoGQL";
|
__typename?: "VideoGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -3770,12 +3747,7 @@ export type GetVideoFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
comments: Array<{
|
comments: Array<{
|
||||||
@@ -3787,12 +3759,7 @@ export type GetVideoFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
replies: Array<{
|
replies: Array<{
|
||||||
__typename?: "CommentGQL";
|
__typename?: "CommentGQL";
|
||||||
@@ -3803,12 +3770,7 @@ export type GetVideoFeedQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
@@ -4491,6 +4453,7 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -4573,6 +4536,7 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -4644,6 +4608,7 @@ export type GetShotsByIdsQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -4708,6 +4673,7 @@ export type ShotWithAllFeaturesFragment = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -4789,6 +4755,7 @@ export type EditShotMutation = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -4975,21 +4942,7 @@ export type FollowUserMutationVariables = Exact<{
|
|||||||
|
|
||||||
export type FollowUserMutation = {
|
export type FollowUserMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
followUser: {
|
followUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||||
__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<{
|
export type UnfollowUserMutationVariables = Exact<{
|
||||||
@@ -4998,21 +4951,7 @@ export type UnfollowUserMutationVariables = Exact<{
|
|||||||
|
|
||||||
export type UnfollowUserMutation = {
|
export type UnfollowUserMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
unfollowUser: {
|
unfollowUser: { __typename?: "UserGQL"; id: number; username: string };
|
||||||
__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<{
|
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
||||||
@@ -5029,12 +4968,14 @@ export type GetUserFollowingFollowersQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
followers?: Array<{
|
followers?: Array<{
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
@@ -5262,12 +5203,7 @@ export type GetVideoSocialDetailsByIdQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
comments: Array<{
|
comments: Array<{
|
||||||
@@ -5279,12 +5215,7 @@ export type GetVideoSocialDetailsByIdQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
replies: Array<{
|
replies: Array<{
|
||||||
__typename?: "CommentGQL";
|
__typename?: "CommentGQL";
|
||||||
@@ -5295,12 +5226,7 @@ export type GetVideoSocialDetailsByIdQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
followers?: Array<{
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
__typename?: "UserGQL";
|
|
||||||
id: number;
|
|
||||||
username: string;
|
|
||||||
profileImageUri?: string | null;
|
|
||||||
}> | null;
|
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
}>;
|
}>;
|
||||||
@@ -5888,11 +5814,7 @@ export const UserSocialsFieldsFragmentDoc = gql`
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
followers {
|
isFollowedByCurrentUser
|
||||||
id
|
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export const VideoCardFieldsFragmentDoc = gql`
|
export const VideoCardFieldsFragmentDoc = gql`
|
||||||
@@ -6067,6 +5989,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6225,6 +6148,7 @@ export const GetAggregatedShotMetricsDocument = gql`
|
|||||||
targetMetrics {
|
targetMetrics {
|
||||||
count
|
count
|
||||||
makePercentage
|
makePercentage
|
||||||
|
averageDifficulty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6797,6 +6721,7 @@ export const GetVideoFeedDocument = gql`
|
|||||||
hasNextPage
|
hasNextPage
|
||||||
endCursor
|
endCursor
|
||||||
}
|
}
|
||||||
|
hasFollowing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
${VideoCardFieldsFragmentDoc}
|
${VideoCardFieldsFragmentDoc}
|
||||||
@@ -9571,17 +9496,9 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|||||||
export const FollowUserDocument = gql`
|
export const FollowUserDocument = gql`
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type FollowUserMutationFn = Apollo.MutationFunction<
|
export type FollowUserMutationFn = Apollo.MutationFunction<
|
||||||
@@ -9630,17 +9547,9 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const UnfollowUserDocument = gql`
|
export const UnfollowUserDocument = gql`
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type UnfollowUserMutationFn = Apollo.MutationFunction<
|
export type UnfollowUserMutationFn = Apollo.MutationFunction<
|
||||||
@@ -9694,11 +9603,13 @@ export const GetUserFollowingFollowersDocument = gql`
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ query GetAggregatedShotMetrics($aggregateInput: AggregateInputGQL!) {
|
|||||||
targetMetrics {
|
targetMetrics {
|
||||||
count
|
count
|
||||||
makePercentage
|
makePercentage
|
||||||
|
averageDifficulty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,11 +19,7 @@ fragment UserSocialsFields on UserGQL {
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
followers {
|
isFollowedByCurrentUser
|
||||||
id
|
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment VideoCardFields on VideoGQL {
|
fragment VideoCardFields on VideoGQL {
|
||||||
@@ -116,5 +112,6 @@ query GetVideoFeed(
|
|||||||
hasNextPage
|
hasNextPage
|
||||||
endCursor
|
endCursor
|
||||||
}
|
}
|
||||||
|
hasFollowing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,32 +88,16 @@ query GetUserTags {
|
|||||||
|
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
|
||||||
following {
|
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
}
|
}
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
query getUserFollowingFollowers {
|
query getUserFollowingFollowers {
|
||||||
@@ -123,11 +107,13 @@ query getUserFollowingFollowers {
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,11 +88,7 @@ fragment UserSocialsFields on UserGQL {
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
followers {
|
isFollowedByCurrentUser
|
||||||
id
|
|
||||||
username
|
|
||||||
profileImageUri
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetVideoSocialDetailsById($videoId: Int!) {
|
query GetVideoSocialDetailsById($videoId: Int!) {
|
||||||
|
|||||||
@@ -375,6 +375,7 @@ type UserGQL {
|
|||||||
agreesToMarketing: Boolean
|
agreesToMarketing: Boolean
|
||||||
following: [UserGQL!]
|
following: [UserGQL!]
|
||||||
followers: [UserGQL!]
|
followers: [UserGQL!]
|
||||||
|
isFollowedByCurrentUser: Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShotGQL {
|
type ShotGQL {
|
||||||
@@ -654,6 +655,7 @@ input VideoFeedInputGQL @oneOf {
|
|||||||
followedByUserId: Int
|
followedByUserId: Int
|
||||||
userId: Int
|
userId: Int
|
||||||
allUsers: Boolean
|
allUsers: Boolean
|
||||||
|
home: Boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
type MakePercentageIntervalGQL {
|
type MakePercentageIntervalGQL {
|
||||||
|
|||||||
Reference in New Issue
Block a user