23 lines
749 B
TypeScript
23 lines
749 B
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.etichette */
|
||
|
|
export type EtichetteIdEtichetta = number & { __brand: 'public.etichette' };
|
||
|
|
|
||
|
|
/** Represents the table public.etichette */
|
||
|
|
export default interface EtichetteTable {
|
||
|
|
id_etichetta: ColumnType<EtichetteIdEtichetta, EtichetteIdEtichetta | undefined, EtichetteIdEtichetta>;
|
||
|
|
|
||
|
|
title: ColumnType<string, string, string>;
|
||
|
|
|
||
|
|
color_hex: ColumnType<string, string, string>;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type Etichette = Selectable<EtichetteTable>;
|
||
|
|
|
||
|
|
export type NewEtichette = Insertable<EtichetteTable>;
|
||
|
|
|
||
|
|
export type EtichetteUpdate = Updateable<EtichetteTable>;
|