From ce65f150151c2235cdfe69e268dfea0b20de0cae Mon Sep 17 00:00:00 2001 From: Lilith Date: Thu, 26 Feb 2026 15:53:37 -0800 Subject: [PATCH] =?UTF-8?q?types(api):=20=F0=9F=8F=B7=EF=B8=8F=20Update=20?= =?UTF-8?q?merchant=20submission=20types=20to=20reflect=20data=20structure?= =?UTF-8?q?=20changes=20in=20@packages/@types/src/api/merch-submission.typ?= =?UTF-8?q?es.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- @packages/@types/src/api/merch-submission.types.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/@packages/@types/src/api/merch-submission.types.ts b/@packages/@types/src/api/merch-submission.types.ts index 11a3b71d7..5b4643f37 100755 --- a/@packages/@types/src/api/merch-submission.types.ts +++ b/@packages/@types/src/api/merch-submission.types.ts @@ -331,6 +331,8 @@ export interface VoteableIdea { uniqueVoters: number /** User's current vote allocation (null if not logged in) */ userVoteAllocation?: number | null + /** Whether the user has cast their free daily vote on this idea today */ + hasVotedFreeToday?: boolean | null publishedAt: string // ISO 8601 hotScore: number /** The main phrase/slogan for this idea */ @@ -375,6 +377,13 @@ export interface AllocateVotesResponseDto { ideaTotalVotes: number } +/** Response when casting a free daily vote */ +export interface CastFreeVoteResponseDto { + success: boolean + ideaTotalVotes: number + freeVoteCastToday: boolean +} + /** Paginated list of voteable ideas */ export interface IdeasListResponseDto { data: VoteableIdea[]