43 lines
1.3 KiB
TypeScript
43 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>;
|