- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting. - Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting. - Added `updated_at` field to various queries in interests and servizio controllers. - Removed unused imageCache utility file.
25 lines
805 B
TypeScript
25 lines
805 B
TypeScript
// @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';
|
|
|
|
/** Identifier type for public.emails */
|
|
export type EmailsIdEmail = number & { __brand: 'public.emails' };
|
|
|
|
/** Represents the table public.emails */
|
|
export default interface EmailsTable {
|
|
id_email: ColumnType<EmailsIdEmail, EmailsIdEmail | undefined, EmailsIdEmail>;
|
|
|
|
user_id: ColumnType<UsersId, UsersId, UsersId>;
|
|
|
|
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
|
|
|
|
data: ColumnType<unknown, unknown, unknown>;
|
|
}
|
|
|
|
export type Emails = Selectable<EmailsTable>;
|
|
|
|
export type NewEmails = Insertable<EmailsTable>;
|
|
|
|
export type EmailsUpdate = Updateable<EmailsTable>;
|