From eec12c61a31a1ab3a9c26f304cdd3de4ef8cc190 Mon Sep 17 00:00:00 2001 From: dean Date: Thu, 20 Nov 2025 12:53:46 -0800 Subject: [PATCH] schema: add challenge notification types --- src/index.tsx | 2 ++ src/schema.gql | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 5181c11..8b9b32d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2562,6 +2562,7 @@ export type NotificationFilters = { export type NotificationGql = { __typename?: "NotificationGQL"; actor: UserGql; + challengeId?: Maybe; comment?: Maybe; createdAt: Scalars["DateTime"]["output"]; id: Scalars["Int"]["output"]; @@ -2573,6 +2574,7 @@ export type NotificationGql = { }; export enum NotificationTypeEnum { + ChallengeInvite = "CHALLENGE_INVITE", Comment = "COMMENT", CommentReply = "COMMENT_REPLY", Follow = "FOLLOW", diff --git a/src/schema.gql b/src/schema.gql index b5f6030..6eae3c4 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -788,6 +788,7 @@ type NotificationGQL { notificationType: NotificationTypeEnum! actor: UserGQL! videoId: Int + challengeId: Int comment: CommentGQL reactionType: String isRead: Boolean! @@ -800,6 +801,7 @@ enum NotificationTypeEnum { COMMENT_REPLY REACTION FOLLOW + CHALLENGE_INVITE } input NotificationFilters {