Add GraphQL queries and mutations for challenge feature
Some checks failed
Tests / Tests (pull_request) Failing after 10s
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:
@@ -2577,6 +2577,7 @@ export enum NotificationTypeEnum {
|
|||||||
CommentReply = "COMMENT_REPLY",
|
CommentReply = "COMMENT_REPLY",
|
||||||
Follow = "FOLLOW",
|
Follow = "FOLLOW",
|
||||||
Reaction = "REACTION",
|
Reaction = "REACTION",
|
||||||
|
ChallengeInvite = "CHALLENGE_INVITE",
|
||||||
}
|
}
|
||||||
|
|
||||||
export type OtherErrorNeedsNote = {
|
export type OtherErrorNeedsNote = {
|
||||||
@@ -4251,6 +4252,7 @@ export type GetVideoFeedQuery = {
|
|||||||
hasNextPage: boolean;
|
hasNextPage: boolean;
|
||||||
endCursor?: string | null;
|
endCursor?: string | null;
|
||||||
};
|
};
|
||||||
|
hasFollowing?: boolean | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -4541,6 +4543,8 @@ export type NotificationFragment = {
|
|||||||
id: number;
|
id: number;
|
||||||
notificationType: NotificationTypeEnum;
|
notificationType: NotificationTypeEnum;
|
||||||
videoId?: number | null;
|
videoId?: number | null;
|
||||||
|
challengeId?: number | null;
|
||||||
|
challenge?: { __typename?: "Challenge"; name: string } | null;
|
||||||
reactionType?: string | null;
|
reactionType?: string | null;
|
||||||
isRead: boolean;
|
isRead: boolean;
|
||||||
createdAt: any;
|
createdAt: any;
|
||||||
@@ -5462,12 +5466,14 @@ export type GetUserFollowingFollowersQuery = {
|
|||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
followers?: Array<{
|
followers?: Array<{
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
isFollowedByCurrentUser?: boolean | null;
|
||||||
}> | null;
|
}> | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
@@ -8219,6 +8225,7 @@ export const GetVideoFeedDocument = gql`
|
|||||||
hasNextPage
|
hasNextPage
|
||||||
endCursor
|
endCursor
|
||||||
}
|
}
|
||||||
|
hasFollowing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
${VideoCardFieldsFragmentDoc}
|
${VideoCardFieldsFragmentDoc}
|
||||||
@@ -11116,11 +11123,13 @@ export const GetUserFollowingFollowersDocument = gql`
|
|||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
followers {
|
followers {
|
||||||
id
|
id
|
||||||
username
|
username
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
isFollowedByCurrentUser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user