Merge pull request 'Return id for cache;' (#107) from kat/use-logged-in-user into master
Reviewed-on: #107
This commit is contained in:
commit
1710ae451c
@ -3235,8 +3235,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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3249,8 +3258,17 @@ 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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3262,6 +3280,7 @@ export type GetUserFollowingFollowersQuery = {
|
|||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getLoggedInUser?: {
|
getLoggedInUser?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
|
id: number;
|
||||||
following?: Array<{
|
following?: Array<{
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@ -5418,11 +5437,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5474,11 +5496,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5529,6 +5554,7 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const GetUserFollowingFollowersDocument = gql`
|
export const GetUserFollowingFollowersDocument = gql`
|
||||||
query getUserFollowingFollowers {
|
query getUserFollowingFollowers {
|
||||||
getLoggedInUser {
|
getLoggedInUser {
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
|
@ -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 {
|
query getUserFollowingFollowers {
|
||||||
getLoggedInUser {
|
getLoggedInUser {
|
||||||
|
id
|
||||||
following {
|
following {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
|
Loading…
Reference in New Issue
Block a user