From 36ed501cd95e866ea01211af1f3f84ac45f8c1c6 Mon Sep 17 00:00:00 2001 From: dean Date: Fri, 21 Nov 2025 12:00:17 -0800 Subject: [PATCH] Add GraphQL queries and mutations for challenge feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 125c93a..0c33eac 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2577,6 +2577,7 @@ export enum NotificationTypeEnum { CommentReply = "COMMENT_REPLY", Follow = "FOLLOW", Reaction = "REACTION", + ChallengeInvite = "CHALLENGE_INVITE", } export type OtherErrorNeedsNote = { @@ -4251,6 +4252,7 @@ export type GetVideoFeedQuery = { hasNextPage: boolean; endCursor?: string | null; }; + hasFollowing?: boolean | null; }; }; @@ -4541,6 +4543,8 @@ export type NotificationFragment = { id: number; notificationType: NotificationTypeEnum; videoId?: number | null; + challengeId?: number | null; + challenge?: { __typename?: "Challenge"; name: string } | null; reactionType?: string | null; isRead: boolean; createdAt: any; @@ -5462,12 +5466,14 @@ export type GetUserFollowingFollowersQuery = { id: number; username: string; profileImageUri?: string | null; + isFollowedByCurrentUser?: boolean | null; }> | null; followers?: Array<{ __typename?: "UserGQL"; id: number; username: string; profileImageUri?: string | null; + isFollowedByCurrentUser?: boolean | null; }> | null; } | null; }; @@ -8219,6 +8225,7 @@ export const GetVideoFeedDocument = gql` hasNextPage endCursor } + hasFollowing } } ${VideoCardFieldsFragmentDoc} @@ -11116,11 +11123,13 @@ export const GetUserFollowingFollowersDocument = gql` id username profileImageUri + isFollowedByCurrentUser } followers { id username profileImageUri + isFollowedByCurrentUser } } }