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

27 lines
755 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.
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.etichette */
2025-08-29 16:18:32 +02:00
export type EtichetteIdEtichetta = number & { __brand: "public.etichette" };
2025-08-04 17:45:44 +02:00
/** Represents the table public.etichette */
export default interface EtichetteTable {
2025-08-29 16:18:32 +02:00
id_etichetta: ColumnType<
EtichetteIdEtichetta,
EtichetteIdEtichetta | undefined,
EtichetteIdEtichetta
>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
title: ColumnType<string, string, string>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
color_hex: ColumnType<string, string, string>;
2025-08-04 17:45:44 +02:00
}
export type Etichette = Selectable<EtichetteTable>;
export type NewEtichette = Insertable<EtichetteTable>;
export type EtichetteUpdate = Updateable<EtichetteTable>;