diff --git a/src/index.tsx b/src/index.tsx index 0e373f0..7fcffe1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2277,6 +2277,8 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed export type Mutation = { __typename?: "Mutation"; addAnnotationToShot: AddShotAnnotationReturn; + blockContent: Scalars["Boolean"]["output"]; + blockUser: Scalars["Boolean"]["output"]; cancelSubscription: UserSubscriptionStatusGql; commentOnVideo: Scalars["Boolean"]["output"]; createBucketSet: BucketSetGql; @@ -2298,6 +2300,7 @@ export type Mutation = { getProfileImageUploadLink: GetProfileUploadLinkReturn; getUploadLink: GetUploadLinkReturn; reactToVideo: Scalars["Boolean"]["output"]; + reportContent: Scalars["Boolean"]["output"]; retireTags: Scalars["Boolean"]["output"]; setLoggerLevel: Scalars["Boolean"]["output"]; setSegmentDuration: Scalars["Boolean"]["output"]; @@ -2311,6 +2314,14 @@ export type MutationAddAnnotationToShotArgs = { shotId: Scalars["Int"]["input"]; }; +export type MutationBlockContentArgs = { + videoId: Scalars["Int"]["input"]; +}; + +export type MutationBlockUserArgs = { + userId: Scalars["Int"]["input"]; +}; + export type MutationCommentOnVideoArgs = { message: Scalars["String"]["input"]; parentCommentId?: InputMaybe; @@ -2394,6 +2405,12 @@ export type MutationReactToVideoArgs = { videoId: Scalars["Int"]["input"]; }; +export type MutationReportContentArgs = { + customReason?: InputMaybe; + reason: ReportReasonEnum; + videoId: Scalars["Int"]["input"]; +}; + export type MutationRetireTagsArgs = { tagIds: Array; }; @@ -2691,6 +2708,15 @@ export type ReactionGql = { videoId: Scalars["Int"]["output"]; }; +export enum ReportReasonEnum { + Copyright = "COPYRIGHT", + Hate = "HATE", + Nudity = "NUDITY", + Other = "OTHER", + Spam = "SPAM", + Violence = "VIOLENCE", +} + export type RequestedMedalsGql = { __typename?: "RequestedMedalsGQL"; dailyMakes50?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index ed7cf8d..b267381 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -907,6 +907,13 @@ type Mutation { ): Boolean! editComment(videoId: Int!, commentId: Int!, newMessage: String!): Boolean! deleteComment(videoId: Int!, commentId: Int!): Boolean! + blockContent(videoId: Int!): Boolean! + blockUser(userId: Int!): Boolean! + reportContent( + videoId: Int! + reason: ReportReasonEnum! + customReason: String = null + ): Boolean! addAnnotationToShot( shotId: Int! annotationName: String! @@ -954,6 +961,15 @@ input CreateBucketSetInput { buckets: [BucketInputGQL!]! } +enum ReportReasonEnum { + SPAM + NUDITY + VIOLENCE + HATE + COPYRIGHT + OTHER +} + type AddShotAnnotationReturn { value: SuccessfulAddAddShotAnnotationErrors! }