|
|
|
@@ -2154,6 +2154,7 @@ export enum ProcessingStatusEnum {
|
|
|
|
|
|
|
|
|
|
export type Query = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
doesUsernameExist: Scalars["Boolean"]["output"];
|
|
|
|
|
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
|
|
|
|
getBucketSet?: Maybe<BucketSetGql>;
|
|
|
|
|
getDeployedConfig: DeployedConfigGql;
|
|
|
|
@@ -2176,6 +2177,10 @@ export type Query = {
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryDoesUsernameExistArgs = {
|
|
|
|
|
candidateUsername: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetAggregatedShotMetricsArgs = {
|
|
|
|
|
aggregateInput: AggregateInputGql;
|
|
|
|
|
};
|
|
|
|
@@ -2804,12 +2809,13 @@ export type UpdateShotAnnotationsMutation = {
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithVideoGqlQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getShotsWithMetadata: {
|
|
|
|
|
getOrderedShots: {
|
|
|
|
|
__typename?: "GetShotsResult";
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "ShotGQL";
|
|
|
|
@@ -3176,8 +3182,17 @@ export type FollowUserMutation = {
|
|
|
|
|
followUser: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
username: string;
|
|
|
|
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
id: number;
|
|
|
|
|
following?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
followers?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -3190,11 +3205,42 @@ export type UnfollowUserMutation = {
|
|
|
|
|
unfollowUser: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
username: string;
|
|
|
|
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
id: number;
|
|
|
|
|
following?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
followers?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
}> | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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"]>;
|
|
|
|
@@ -4475,8 +4521,16 @@ export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
UpdateShotAnnotationsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetShotsWithVideoGqlDocument = gql`
|
|
|
|
|
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
|
|
|
|
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
|
|
|
|
query GetShotsWithVideoGql(
|
|
|
|
|
$filterInput: FilterInput!
|
|
|
|
|
$shotsOrdering: GetShotsOrdering
|
|
|
|
|
$limit: Int
|
|
|
|
|
) {
|
|
|
|
|
getOrderedShots(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
shotsOrdering: $shotsOrdering
|
|
|
|
|
limit: $limit
|
|
|
|
|
) {
|
|
|
|
|
shots {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
@@ -4502,6 +4556,7 @@ export const GetShotsWithVideoGqlDocument = gql`
|
|
|
|
|
* const { data, loading, error } = useGetShotsWithVideoGqlQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* shotsOrdering: // value for 'shotsOrdering'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
@@ -5329,11 +5384,14 @@ export const FollowUserDocument = gql`
|
|
|
|
|
mutation followUser($followedUserId: Int!) {
|
|
|
|
|
followUser(followedUserId: $followedUserId) {
|
|
|
|
|
username
|
|
|
|
|
id
|
|
|
|
|
following {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
followers {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -5385,11 +5443,14 @@ export const UnfollowUserDocument = gql`
|
|
|
|
|
mutation unfollowUser($followedUserId: Int!) {
|
|
|
|
|
unfollowUser(followedUserId: $followedUserId) {
|
|
|
|
|
username
|
|
|
|
|
id
|
|
|
|
|
following {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
followers {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -5437,6 +5498,86 @@ 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) {
|
|
|
|
|