infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/Banners.ts
Marco Pedone 8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- 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.
2025-10-21 18:42:03 +02:00

42 lines
1.3 KiB
TypeScript

// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.banners */
export type BannersIdbanner = string & { __brand: 'public.banners' };
/** Represents the table public.banners */
export default interface BannersTable {
idbanner: ColumnType<BannersIdbanner, BannersIdbanner, BannersIdbanner>;
titolo: ColumnType<string | null, string | null, string | null>;
testo: ColumnType<string | null, string | null, string | null>;
is_unskippable: ColumnType<boolean, boolean, boolean>;
has_cta: ColumnType<boolean, boolean, boolean>;
cta_href: ColumnType<string | null, string | null, string | null>;
cta_icon: ColumnType<string | null, string | null, string | null>;
cta_text: ColumnType<string | null, string | null, string | null>;
color: ColumnType<string | null, string | null, string | null>;
is_active: ColumnType<boolean, boolean, boolean>;
show_public: ColumnType<boolean, boolean, boolean>;
show_private: ColumnType<boolean, boolean, boolean>;
hide_duration: ColumnType<number | null, number | null, number | null>;
}
export type Banners = Selectable<BannersTable>;
export type NewBanners = Insertable<BannersTable>;
export type BannersUpdate = Updateable<BannersTable>;