2025-08-04 17:45:44 +02:00
|
|
|
// @generated
|
|
|
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
import type { UsersId } from './Users';
|
|
|
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Identifier type for public.emails */
|
2025-10-21 18:42:03 +02:00
|
|
|
export type EmailsIdEmail = number & { __brand: 'public.emails' };
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Represents the table public.emails */
|
|
|
|
|
export default interface EmailsTable {
|
2025-10-21 18:42:03 +02:00
|
|
|
id_email: ColumnType<EmailsIdEmail, EmailsIdEmail | undefined, EmailsIdEmail>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
user_id: ColumnType<UsersId, UsersId, UsersId>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-10-21 18:42:03 +02:00
|
|
|
data: ColumnType<unknown, unknown, unknown>;
|
2025-08-04 17:45:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type Emails = Selectable<EmailsTable>;
|
|
|
|
|
|
|
|
|
|
export type NewEmails = Insertable<EmailsTable>;
|
|
|
|
|
|
|
|
|
|
export type EmailsUpdate = Updateable<EmailsTable>;
|