Skip to content

Commit 15e84ed

Browse files
committed
feat: Add hackathon winner export functionality and update API export types.
1 parent ce8a00e commit 15e84ed

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

components/organization/hackathons/details/ExportButton.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ const DATASETS = [
4545
description: 'Project links & scores',
4646
},
4747
{ id: 'prize_tiers', label: 'Prize Tiers', description: 'Rewards & logic' },
48+
{
49+
id: 'winners',
50+
label: 'Winners',
51+
description: 'Wallet address, activation & USDC trustline',
52+
},
4853
] as const;
4954

5055
export function ExportButton({

lib/api/hackathons/rewards.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ export const exportHackathon = async (
213213
| 'participants'
214214
| 'submissions'
215215
| 'prize_tiers'
216+
| 'winners'
216217
| 'full' = 'full'
217218
): Promise<Blob> => {
218219
const res = await api.get(

0 commit comments

Comments
 (0)