schema: add challenge notification types

This commit is contained in:
dean
2025-11-20 12:53:46 -08:00
parent b7b482694e
commit eec12c61a3
2 changed files with 4 additions and 0 deletions

View File

@@ -2562,6 +2562,7 @@ export type NotificationFilters = {
export type NotificationGql = { export type NotificationGql = {
__typename?: "NotificationGQL"; __typename?: "NotificationGQL";
actor: UserGql; actor: UserGql;
challengeId?: Maybe<Scalars["Int"]["output"]>;
comment?: Maybe<CommentGql>; comment?: Maybe<CommentGql>;
createdAt: Scalars["DateTime"]["output"]; createdAt: Scalars["DateTime"]["output"];
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
@@ -2573,6 +2574,7 @@ export type NotificationGql = {
}; };
export enum NotificationTypeEnum { export enum NotificationTypeEnum {
ChallengeInvite = "CHALLENGE_INVITE",
Comment = "COMMENT", Comment = "COMMENT",
CommentReply = "COMMENT_REPLY", CommentReply = "COMMENT_REPLY",
Follow = "FOLLOW", Follow = "FOLLOW",

View File

@@ -788,6 +788,7 @@ type NotificationGQL {
notificationType: NotificationTypeEnum! notificationType: NotificationTypeEnum!
actor: UserGQL! actor: UserGQL!
videoId: Int videoId: Int
challengeId: Int
comment: CommentGQL comment: CommentGQL
reactionType: String reactionType: String
isRead: Boolean! isRead: Boolean!
@@ -800,6 +801,7 @@ enum NotificationTypeEnum {
COMMENT_REPLY COMMENT_REPLY
REACTION REACTION
FOLLOW FOLLOW
CHALLENGE_INVITE
} }
input NotificationFilters { input NotificationFilters {