Compare commits

...

3 Commits

Author SHA1 Message Date
148f5362f0 Followers and following
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-10-29 15:47:00 -06:00
4d01e9814d Merge pull request 'Remove unused field' (#98) from loewy/remove-ids-from-get-shot-video-gql into master
Reviewed-on: #98
2024-10-29 13:45:52 -06:00
b9e3e1f310 remove uneeded ids
All checks were successful
Tests / Tests (pull_request) Successful in 6s
2024-10-29 12:44:56 -07:00
3 changed files with 36 additions and 5 deletions

View File

@ -2811,7 +2811,6 @@ export type GetShotsWithVideoGqlQuery = {
__typename?: "Query";
getShotsWithMetadata: {
__typename?: "GetShotsResult";
ids: Array<number>;
shots: Array<{
__typename?: "ShotGQL";
id: number;
@ -3174,7 +3173,12 @@ export type FollowUserMutationVariables = Exact<{
export type FollowUserMutation = {
__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<{
@ -3183,7 +3187,12 @@ export type UnfollowUserMutationVariables = Exact<{
export type UnfollowUserMutation = {
__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<{
@ -4468,7 +4477,6 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
export const GetShotsWithVideoGqlDocument = gql`
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
ids
shots {
id
videoId
@ -5321,6 +5329,12 @@ export const FollowUserDocument = gql`
mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) {
username
following {
id
}
followers {
id
}
}
}
`;
@ -5371,6 +5385,12 @@ export const UnfollowUserDocument = gql`
mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) {
username
following {
id
}
followers {
id
}
}
}
`;

View File

@ -42,7 +42,6 @@ mutation UpdateShotAnnotations(
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
ids
shots {
id
videoId

View File

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