Compare commits
4 Commits
37c5b4bb8f
...
249807c935
Author | SHA1 | Date | |
---|---|---|---|
249807c935 | |||
eec79b2dc5 | |||
464c013095 | |||
e2f4995cad |
118
src/index.tsx
118
src/index.tsx
@ -2804,12 +2804,13 @@ export type UpdateShotAnnotationsMutation = {
|
|||||||
|
|
||||||
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetShotsWithVideoGqlQuery = {
|
export type GetShotsWithVideoGqlQuery = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getShotsWithMetadata: {
|
getOrderedShots: {
|
||||||
__typename?: "GetShotsResult";
|
__typename?: "GetShotsResult";
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "ShotGQL";
|
__typename?: "ShotGQL";
|
||||||
@ -3195,6 +3196,28 @@ 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<{
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
@ -4475,8 +4498,16 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
UpdateShotAnnotationsMutationVariables
|
UpdateShotAnnotationsMutationVariables
|
||||||
>;
|
>;
|
||||||
export const GetShotsWithVideoGqlDocument = gql`
|
export const GetShotsWithVideoGqlDocument = gql`
|
||||||
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
query GetShotsWithVideoGql(
|
||||||
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
$filterInput: FilterInput!
|
||||||
|
$shotsOrdering: GetShotsOrdering
|
||||||
|
$limit: Int
|
||||||
|
) {
|
||||||
|
getOrderedShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsOrdering: $shotsOrdering
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
@ -4502,6 +4533,7 @@ export const GetShotsWithVideoGqlDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
|
* shotsOrdering: // value for 'shotsOrdering'
|
||||||
* limit: // value for 'limit'
|
* limit: // value for 'limit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
@ -5437,6 +5469,86 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
UnfollowUserMutation,
|
UnfollowUserMutation,
|
||||||
UnfollowUserMutationVariables
|
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`
|
export const GetStreamMonitoringDetailsDocument = gql`
|
||||||
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
|
@ -40,8 +40,16 @@ mutation UpdateShotAnnotations(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
query GetShotsWithVideoGql(
|
||||||
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
$filterInput: FilterInput!
|
||||||
|
$shotsOrdering: GetShotsOrdering
|
||||||
|
$limit: Int
|
||||||
|
) {
|
||||||
|
getOrderedShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsOrdering: $shotsOrdering
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
shots {
|
shots {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
|
@ -111,3 +111,17 @@ mutation unfollowUser($followedUserId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query getUserFollowingFollowers {
|
||||||
|
getLoggedInUser {
|
||||||
|
id
|
||||||
|
following {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
followers {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user