Use getOrderedShots when requesting getShotsWithVideoGql #100

Merged
loewy merged 2 commits from loewy/use-ordered-shots-to-get-thumbnail into master 2024-10-29 19:44:15 -06:00
2 changed files with 36 additions and 2 deletions
Showing only changes of commit 464c013095 - Show all commits

View File

@ -3174,7 +3174,12 @@ export type FollowUserMutationVariables = Exact<{
export type FollowUserMutation = { export type FollowUserMutation = {
__typename?: "Mutation"; __typename?: "Mutation";
followUser: { __typename?: "UserGQL"; username: string }; followUser: {
__typename?: "UserGQL";
username: string;
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
};
}; };
export type UnfollowUserMutationVariables = Exact<{ export type UnfollowUserMutationVariables = Exact<{
@ -3183,7 +3188,12 @@ export type UnfollowUserMutationVariables = Exact<{
export type UnfollowUserMutation = { export type UnfollowUserMutation = {
__typename?: "Mutation"; __typename?: "Mutation";
unfollowUser: { __typename?: "UserGQL"; username: string }; unfollowUser: {
__typename?: "UserGQL";
username: string;
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
};
}; };
export type GetStreamMonitoringDetailsQueryVariables = Exact<{ export type GetStreamMonitoringDetailsQueryVariables = Exact<{
@ -5329,6 +5339,12 @@ export const FollowUserDocument = gql`
mutation followUser($followedUserId: Int!) { mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) { followUser(followedUserId: $followedUserId) {
username username
following {
id
}
followers {
id
}
} }
} }
`; `;
@ -5379,6 +5395,12 @@ export const UnfollowUserDocument = gql`
mutation unfollowUser($followedUserId: Int!) { mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) { unfollowUser(followedUserId: $followedUserId) {
username username
following {
id
}
followers {
id
}
} }
} }
`; `;

View File

@ -91,11 +91,23 @@ query GetUserTags {
mutation followUser($followedUserId: Int!) { mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) { followUser(followedUserId: $followedUserId) {
username username
following {
id
}
followers {
id
}
} }
} }
mutation unfollowUser($followedUserId: Int!) { mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) { unfollowUser(followedUserId: $followedUserId) {
username username
following {
id
}
followers {
id
}
} }
} }