Add GraphQL queries and mutations for challenge feature
Some checks failed
Tests / Tests (pull_request) Failing after 10s

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
dean
2025-11-21 12:00:17 -08:00
parent d17c1a2ecc
commit 36ed501cd9

View File

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