// Copyright 2024 New Vector Ltd. // Copyright 2023, 2024 The Matrix.org Foundation C.I.C. // // SPDX-License-Identifier: AGPL-3.0-only // Please see LICENSE in the repository root for full details. import type { MUser } from "./MUser"; import type { UUID } from "./index"; /* +---------------+--------------------------+-----------+ | Column | Type | Modifiers | |---------------+--------------------------+-----------| | user_email_id | uuid | not null | | user_id | uuid | not null | | email | text | not null | | created_at | timestamp with time zone | not null | | confirmed_at | timestamp with time zone | | +---------------+--------------------------+-----------+ */ export interface MUserEmail { user_email_id: UUID; user_id: UUID; email: string; created_at: Date; confirmed_at?: Date; }