Merge pull request 'Just schema changes, no operations' (#202) from loewy/blocking-and-reporting into master

Reviewed-on: #202
This commit is contained in:
2025-09-30 15:58:51 -06:00
2 changed files with 42 additions and 0 deletions

View File

@@ -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<Scalars["Int"]["input"]>;
@@ -2394,6 +2405,12 @@ export type MutationReactToVideoArgs = {
videoId: Scalars["Int"]["input"];
};
export type MutationReportContentArgs = {
customReason?: InputMaybe<Scalars["String"]["input"]>;
reason: ReportReasonEnum;
videoId: Scalars["Int"]["input"];
};
export type MutationRetireTagsArgs = {
tagIds: Array<Scalars["Int"]["input"]>;
};
@@ -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<MedalGql>;

View File

@@ -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!
}