refactor(donations): Make anon prepaid

This commit is contained in:
2025-04-28 19:32:06 +02:00
parent 7697acff82
commit 02b1cb9904
4 changed files with 14 additions and 7 deletions

View File

@@ -18,6 +18,12 @@ export class CreateDistanceDonation extends CreateDonation {
@IsPositive()
donor: number;
/**
* The donation's paid amount in the smalles unit of your currency (default: euro cent).
*/
@IsInt()
paidAmount?: number;
/**
* The donation's associated runner's id.
* This is important to link the runner's distance ran to the donation.