feat(invites): expose lastRedeemedAt on InviteLinkSummary
This commit is contained in:
@@ -489,6 +489,7 @@ type InviteLinkSummary = {
|
||||
createdBy: string;
|
||||
createdByUsername: string | null; // 'Deleted User' when creator's isDeleted = 1
|
||||
createdAt: number;
|
||||
lastRedeemedAt: number | null; // epoch ms of most recent redemption; null when usedCount = 0
|
||||
url: string; // server-built `https://<host>/register?invite=<token>` — clients MUST NOT assemble
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user