infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/Emails.ts

26 lines
805 B
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
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 */
export type EmailsIdEmail = number & { __brand: 'public.emails' };
2025-08-04 17:45:44 +02:00
/** Represents the table public.emails */
export default interface EmailsTable {
id_email: ColumnType<EmailsIdEmail, EmailsIdEmail | undefined, EmailsIdEmail>;
2025-08-04 17:45:44 +02:00
user_id: ColumnType<UsersId, UsersId, UsersId>;
2025-08-04 17:45:44 +02:00
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
2025-08-04 17:45:44 +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>;