Compare commits
9 Commits
dean/feed-
...
55bbf723ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55bbf723ba | ||
|
|
88650706e0 | ||
|
|
8a393e9a42 | ||
|
|
a00b50d985 | ||
|
|
36ed501cd9 | ||
|
|
d17c1a2ecc | ||
|
|
cc9bc98b32 | ||
|
|
eec12c61a3 | ||
|
|
b7b482694e |
@@ -4017,7 +4017,6 @@ export type GetFeedQuery = {
|
||||
private: boolean;
|
||||
elapsedTime?: number | null;
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
owner?: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
@@ -4119,7 +4118,6 @@ export type VideoCardFieldsFragment = {
|
||||
private: boolean;
|
||||
elapsedTime?: number | null;
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
owner?: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
@@ -4217,7 +4215,6 @@ export type GetVideoFeedQuery = {
|
||||
private: boolean;
|
||||
elapsedTime?: number | null;
|
||||
tableSize: number;
|
||||
pocketSize?: number | null;
|
||||
owner?: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
@@ -4968,7 +4965,6 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5051,7 +5047,6 @@ export type GetShotsWithMetadataQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5123,7 +5118,6 @@ export type GetShotsByIdsQuery = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5188,7 +5182,6 @@ export type ShotWithAllFeaturesFragment = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5270,7 +5263,6 @@ export type EditShotMutation = {
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
videoId: number;
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
} | null;
|
||||
@@ -5457,7 +5449,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<{
|
||||
@@ -5466,7 +5472,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<{
|
||||
@@ -5483,14 +5503,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;
|
||||
};
|
||||
@@ -6385,7 +6403,6 @@ export const VideoCardFieldsFragmentDoc = gql`
|
||||
streamSegmentType
|
||||
}
|
||||
tableSize
|
||||
pocketSize
|
||||
tags {
|
||||
tagClasses {
|
||||
name
|
||||
@@ -6534,7 +6551,6 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||
streamSegmentType
|
||||
}
|
||||
playlist {
|
||||
videoId
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
@@ -11264,8 +11280,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
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -11315,8 +11339,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
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -11371,13 +11403,11 @@ export const GetUserFollowingFollowersDocument = gql`
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
isFollowedByCurrentUser
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@ fragment VideoCardFields on VideoGQL {
|
||||
streamSegmentType
|
||||
}
|
||||
tableSize
|
||||
pocketSize
|
||||
tags {
|
||||
tagClasses {
|
||||
name
|
||||
|
||||
@@ -192,7 +192,6 @@ fragment ShotWithAllFeatures on ShotGQL {
|
||||
streamSegmentType
|
||||
}
|
||||
playlist {
|
||||
videoId
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1910
src/schema.gql
1910
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user