Compare commits
19 Commits
55bbf723ba
...
dean/feed-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21ae448d27 | ||
|
|
9f735b61bb | ||
|
|
fda8e4eb9d | ||
|
|
338c45d59b | ||
|
|
e879c5008f | ||
|
|
2d67e076f7 | ||
|
|
ec534769f3 | ||
|
|
f8e8c7b7d4 | ||
|
|
372fd6e26b | ||
|
|
d9ef5ed79a | ||
| f14e117416 | |||
| 3d86c13291 | |||
| e63f8600aa | |||
| 7e822446da | |||
| 75ecc5894b | |||
| 73c8dd5f57 | |||
|
|
e4223a1a17 | ||
|
|
83b7f0d0f6 | ||
|
|
a882f98d91 |
@@ -4017,6 +4017,7 @@ export type GetFeedQuery = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4118,6 +4119,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4215,6 +4217,7 @@ export type GetVideoFeedQuery = {
|
|||||||
private: boolean;
|
private: boolean;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
tableSize: number;
|
tableSize: number;
|
||||||
|
pocketSize?: number | null;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -4965,6 +4968,7 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5047,6 +5051,7 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5118,6 +5123,7 @@ export type GetShotsByIdsQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5182,6 +5188,7 @@ export type ShotWithAllFeaturesFragment = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5263,6 +5270,7 @@ export type EditShotMutation = {
|
|||||||
} | null;
|
} | null;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
videoId: number;
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
@@ -5449,21 +5457,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<{
|
||||||
@@ -5472,21 +5466,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<{
|
||||||
@@ -5503,12 +5483,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;
|
||||||
};
|
};
|
||||||
@@ -6403,6 +6385,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -6551,6 +6534,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -11280,16 +11264,8 @@ 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
|
id
|
||||||
following {
|
username
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -11339,16 +11315,8 @@ 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
|
id
|
||||||
following {
|
username
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -11403,11 +11371,13 @@ export const GetUserFollowingFollowersDocument = gql`
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
|
pocketSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
streamSegmentType
|
streamSegmentType
|
||||||
}
|
}
|
||||||
playlist {
|
playlist {
|
||||||
|
videoId
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,31 +88,15 @@ query GetUserTags {
|
|||||||
|
|
||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
id
|
||||||
following {
|
username
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
|
||||||
id
|
id
|
||||||
following {
|
username
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
followers {
|
|
||||||
id
|
|
||||||
username
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,11 +107,13 @@ query getUserFollowingFollowers {
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1934
src/schema.gql
1934
src/schema.gql
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user