From 2b37c2dd141af24ebb8b1d85a8adbbcdb38823c8 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Sat, 30 Apr 2022 14:58:53 -0400 Subject: [PATCH] Split up manalinks into successes and failures --- common/manalink.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/manalink.ts b/common/manalink.ts index 3c4c9e60..c48bebe0 100644 --- a/common/manalink.ts +++ b/common/manalink.ts @@ -16,8 +16,10 @@ export type Manalink = { // If not set, the link can be used infinitely maxUses?: number - // All past usages of this link - claims: Claim[] + // Successful redemptions of the link + successes: Claim[] + // Failed redemptions of the link + failures: Claim[] } type Claim = {