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

23 lines
749 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.
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
2025-08-04 17:45:44 +02:00
/** Identifier type for public.etichette */
export type EtichetteIdEtichetta = number & { __brand: 'public.etichette' };
2025-08-04 17:45:44 +02:00
/** Represents the table public.etichette */
export default interface EtichetteTable {
id_etichetta: ColumnType<EtichetteIdEtichetta, EtichetteIdEtichetta | undefined, EtichetteIdEtichetta>;
2025-08-04 17:45:44 +02:00
title: ColumnType<string, string, string>;
2025-08-04 17:45:44 +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>;