Split up manalinks into successes and failures

This commit is contained in:
Austin Chen 2022-04-30 14:58:53 -04:00
parent 27f9dba4f5
commit 2b37c2dd14

View File

@ -16,8 +16,10 @@ export type Manalink = {
// If not set, the link can be used infinitely // If not set, the link can be used infinitely
maxUses?: number maxUses?: number
// All past usages of this link // Successful redemptions of the link
claims: Claim[] successes: Claim[]
// Failed redemptions of the link
failures: Claim[]
} }
type Claim = { type Claim = {