|
|
|
@@ -2812,6 +2812,7 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
owner?: {
|
|
|
|
@@ -2864,6 +2865,7 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
owner?: {
|
|
|
|
@@ -3008,12 +3010,14 @@ export type GetShotsWithJustIdsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
countRespectsLimit?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithJustIdsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getOrderedShots: {
|
|
|
|
|
__typename?: "GetShotsResult";
|
|
|
|
|
count?: number | null;
|
|
|
|
|
shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -3312,6 +3316,7 @@ export type GetLoggedInUserQuery = {
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -3439,6 +3444,25 @@ export type DoesUsernameExistQuery = {
|
|
|
|
|
doesUsernameExist: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type EditUserMutationVariables = Exact<{
|
|
|
|
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type EditUserMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
editUser: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
firebaseUid?: string | null;
|
|
|
|
|
username: string;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
|
|
|
@@ -3492,6 +3516,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|
|
|
|
} | null;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
@@ -4122,6 +4147,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
updatedAt
|
|
|
|
|
startTime
|
|
|
|
|
endTime
|
|
|
|
|
private
|
|
|
|
|
elapsedTime
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
@@ -5049,12 +5075,15 @@ export const GetShotsWithJustIdsDocument = gql`
|
|
|
|
|
$filterInput: FilterInput!
|
|
|
|
|
$shotsOrdering: GetShotsOrdering
|
|
|
|
|
$limit: Int
|
|
|
|
|
$countRespectsLimit: Boolean
|
|
|
|
|
) {
|
|
|
|
|
getOrderedShots(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
shotsOrdering: $shotsOrdering
|
|
|
|
|
limit: $limit
|
|
|
|
|
countRespectsLimit: $countRespectsLimit
|
|
|
|
|
) {
|
|
|
|
|
count
|
|
|
|
|
shots {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
@@ -5078,6 +5107,7 @@ export const GetShotsWithJustIdsDocument = gql`
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* shotsOrdering: // value for 'shotsOrdering'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* countRespectsLimit: // value for 'countRespectsLimit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
@@ -5521,6 +5551,7 @@ export const GetLoggedInUserDocument = gql`
|
|
|
|
|
activeVideoId
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
@@ -6172,6 +6203,70 @@ export type DoesUsernameExistQueryResult = Apollo.QueryResult<
|
|
|
|
|
DoesUsernameExistQuery,
|
|
|
|
|
DoesUsernameExistQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const EditUserDocument = gql`
|
|
|
|
|
mutation editUser(
|
|
|
|
|
$username: String
|
|
|
|
|
$fargoRating: Int
|
|
|
|
|
$videosPrivateByDefault: Boolean
|
|
|
|
|
) {
|
|
|
|
|
editUser(
|
|
|
|
|
input: {
|
|
|
|
|
username: $username
|
|
|
|
|
fargoRating: $fargoRating
|
|
|
|
|
videosPrivateByDefault: $videosPrivateByDefault
|
|
|
|
|
}
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
|
firebaseUid
|
|
|
|
|
username
|
|
|
|
|
fargoRating
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type EditUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
EditUserMutation,
|
|
|
|
|
EditUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useEditUserMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useEditUserMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useEditUserMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [editUserMutation, { data, loading, error }] = useEditUserMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* username: // value for 'username'
|
|
|
|
|
* fargoRating: // value for 'fargoRating'
|
|
|
|
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useEditUserMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
EditUserMutation,
|
|
|
|
|
EditUserMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<EditUserMutation, EditUserMutationVariables>(
|
|
|
|
|
EditUserDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export type EditUserMutationHookResult = ReturnType<typeof useEditUserMutation>;
|
|
|
|
|
export type EditUserMutationResult = Apollo.MutationResult<EditUserMutation>;
|
|
|
|
|
export type EditUserMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
EditUserMutation,
|
|
|
|
|
EditUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|
|
|
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
|
|
|
@@ -6193,6 +6288,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
initPlaylistUploadStatus
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
startSegmentIndex
|
|
|
|
|