Compare commits
No commits in common. "9db95c4e6c9559e953cc4471502364ccd3cd6310" and "eec79b2dc5f459c0aa1fae4f1c9f4aa6de6eff4d" have entirely different histories.
9db95c4e6c
...
eec79b2dc5
102
src/index.tsx
102
src/index.tsx
@ -3196,28 +3196,6 @@ export type UnfollowUserMutation = {
|
||||
};
|
||||
};
|
||||
|
||||
export type GetUserFollowingFollowersQueryVariables = Exact<{
|
||||
[key: string]: never;
|
||||
}>;
|
||||
|
||||
export type GetUserFollowingFollowersQuery = {
|
||||
__typename?: "Query";
|
||||
getLoggedInUser?: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
following?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
}> | null;
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
||||
videoId: Scalars["Int"]["input"];
|
||||
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||
@ -5469,86 +5447,6 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
|
||||
UnfollowUserMutation,
|
||||
UnfollowUserMutationVariables
|
||||
>;
|
||||
export const GetUserFollowingFollowersDocument = gql`
|
||||
query getUserFollowingFollowers {
|
||||
getLoggedInUser {
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
/**
|
||||
* __useGetUserFollowingFollowersQuery__
|
||||
*
|
||||
* To run a query within a React component, call `useGetUserFollowingFollowersQuery` and pass it any options that fit your needs.
|
||||
* When your component renders, `useGetUserFollowingFollowersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||
* you can use to render your UI.
|
||||
*
|
||||
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||
*
|
||||
* @example
|
||||
* const { data, loading, error } = useGetUserFollowingFollowersQuery({
|
||||
* variables: {
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
export function useGetUserFollowingFollowersQuery(
|
||||
baseOptions?: Apollo.QueryHookOptions<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>,
|
||||
) {
|
||||
const options = { ...defaultOptions, ...baseOptions };
|
||||
return Apollo.useQuery<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>(GetUserFollowingFollowersDocument, options);
|
||||
}
|
||||
export function useGetUserFollowingFollowersLazyQuery(
|
||||
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>,
|
||||
) {
|
||||
const options = { ...defaultOptions, ...baseOptions };
|
||||
return Apollo.useLazyQuery<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>(GetUserFollowingFollowersDocument, options);
|
||||
}
|
||||
export function useGetUserFollowingFollowersSuspenseQuery(
|
||||
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>,
|
||||
) {
|
||||
const options = { ...defaultOptions, ...baseOptions };
|
||||
return Apollo.useSuspenseQuery<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>(GetUserFollowingFollowersDocument, options);
|
||||
}
|
||||
export type GetUserFollowingFollowersQueryHookResult = ReturnType<
|
||||
typeof useGetUserFollowingFollowersQuery
|
||||
>;
|
||||
export type GetUserFollowingFollowersLazyQueryHookResult = ReturnType<
|
||||
typeof useGetUserFollowingFollowersLazyQuery
|
||||
>;
|
||||
export type GetUserFollowingFollowersSuspenseQueryHookResult = ReturnType<
|
||||
typeof useGetUserFollowingFollowersSuspenseQuery
|
||||
>;
|
||||
export type GetUserFollowingFollowersQueryResult = Apollo.QueryResult<
|
||||
GetUserFollowingFollowersQuery,
|
||||
GetUserFollowingFollowersQueryVariables
|
||||
>;
|
||||
export const GetStreamMonitoringDetailsDocument = gql`
|
||||
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||
|
@ -111,17 +111,3 @@ mutation unfollowUser($followedUserId: Int!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query getUserFollowingFollowers {
|
||||
getLoggedInUser {
|
||||
id
|
||||
following {
|
||||
id
|
||||
username
|
||||
}
|
||||
followers {
|
||||
id
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user