Compare commits
3 Commits
kat/get-us
...
kat/use-lo
Author | SHA1 | Date | |
---|---|---|---|
de9e7dea6a | |||
05e3182e8b | |||
f6e4a1bc0b |
@@ -3182,8 +3182,17 @@ export type FollowUserMutation = {
|
|||||||
followUser: {
|
followUser: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
username: string;
|
username: string;
|
||||||
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
id: number;
|
||||||
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
following?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
}> | null;
|
||||||
|
followers?: Array<{
|
||||||
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
|
username: string;
|
||||||
|
}> | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3196,19 +3205,29 @@ export type UnfollowUserMutation = {
|
|||||||
unfollowUser: {
|
unfollowUser: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
username: string;
|
username: string;
|
||||||
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
id: number;
|
||||||
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
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<{
|
||||||
userId: Scalars["Int"]["input"];
|
[key: string]: never;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetUserFollowingFollowersQuery = {
|
export type GetUserFollowingFollowersQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getUser?: {
|
getLoggedInUser?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
following?: Array<{
|
following?: Array<{
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -5365,11 +5384,14 @@ export const FollowUserDocument = gql`
|
|||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
username
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5421,11 +5443,14 @@ export const UnfollowUserDocument = gql`
|
|||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
username
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5474,8 +5499,9 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
UnfollowUserMutationVariables
|
UnfollowUserMutationVariables
|
||||||
>;
|
>;
|
||||||
export const GetUserFollowingFollowersDocument = gql`
|
export const GetUserFollowingFollowersDocument = gql`
|
||||||
query getUserFollowingFollowers($userId: Int!) {
|
query getUserFollowingFollowers {
|
||||||
getUser(userId: $userId) {
|
getLoggedInUser {
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
@@ -5500,12 +5526,11 @@ export const GetUserFollowingFollowersDocument = gql`
|
|||||||
* @example
|
* @example
|
||||||
* const { data, loading, error } = useGetUserFollowingFollowersQuery({
|
* const { data, loading, error } = useGetUserFollowingFollowersQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* userId: // value for 'userId'
|
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
export function useGetUserFollowingFollowersQuery(
|
export function useGetUserFollowingFollowersQuery(
|
||||||
baseOptions: Apollo.QueryHookOptions<
|
baseOptions?: Apollo.QueryHookOptions<
|
||||||
GetUserFollowingFollowersQuery,
|
GetUserFollowingFollowersQuery,
|
||||||
GetUserFollowingFollowersQueryVariables
|
GetUserFollowingFollowersQueryVariables
|
||||||
>,
|
>,
|
||||||
|
@@ -91,11 +91,14 @@ query GetUserTags {
|
|||||||
mutation followUser($followedUserId: Int!) {
|
mutation followUser($followedUserId: Int!) {
|
||||||
followUser(followedUserId: $followedUserId) {
|
followUser(followedUserId: $followedUserId) {
|
||||||
username
|
username
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -103,17 +106,21 @@ mutation followUser($followedUserId: Int!) {
|
|||||||
mutation unfollowUser($followedUserId: Int!) {
|
mutation unfollowUser($followedUserId: Int!) {
|
||||||
unfollowUser(followedUserId: $followedUserId) {
|
unfollowUser(followedUserId: $followedUserId) {
|
||||||
username
|
username
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
|
username
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query getUserFollowingFollowers($userId: Int!) {
|
query getUserFollowingFollowers {
|
||||||
getUser(userId: $userId) {
|
getLoggedInUser {
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
|
Reference in New Issue
Block a user