infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/Etichette.ts
Marco Pedone 8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting.
- Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting.
- Added `updated_at` field to various queries in interests and servizio controllers.
- Removed unused imageCache utility file.
2025-10-21 18:42:03 +02:00

22 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>;