Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 | 24x | // The single tombstone convention for account deletion. The user row's email,
// every photo's uploaded_by, and every accepted-invitation email the deleted
// user touched are all scrubbed to THIS value, so no surviving row links back
// to the real person. `deleted+<id>@deleted.invalid` satisfies the user.email
// unique index (per-id) and uses the reserved `.invalid` TLD (RFC 6761).
export function accountTombstone(userId: string): string {
return `deleted+${userId}@deleted.invalid`;
}
|