File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
packages/sdk/src/sdk/api/challenges Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @audius/sdk " : patch
3+ ---
4+
5+ Add pinned comment challenge to valid challenge enums
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ export enum ChallengeId {
2828 PLAY_COUNT_1000_MILESTONE_2025 = 'p2' ,
2929 PLAY_COUNT_10000_MILESTONE_2025 = 'p3' ,
3030 TASTEMAKER = 't' ,
31- COSIGN = 'cs'
31+ COSIGN = 'cs' ,
32+ PINNED_COMMENT = 'cp'
3233}
3334
3435const DefaultSpecifier = z . object ( {
@@ -45,7 +46,8 @@ const DefaultSpecifier = z.object({
4546 ChallengeId . PLAY_COUNT_250_MILESTONE_2025 ,
4647 ChallengeId . PLAY_COUNT_1000_MILESTONE_2025 ,
4748 ChallengeId . PLAY_COUNT_10000_MILESTONE_2025 ,
48- ChallengeId . TASTEMAKER
49+ ChallengeId . TASTEMAKER ,
50+ ChallengeId . PINNED_COMMENT
4951 ] ) ,
5052 /** The user ID of the user completing the challenge. */
5153 userId : HashId
You can’t perform that action at this time.
0 commit comments