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