infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/Chats.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

25 lines
798 B
TypeScript

// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { UsersId } from './Users';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.chats */
export type ChatsChatid = string & { __brand: 'public.chats' };
/** Represents the table public.chats */
export default interface ChatsTable {
chatid: ColumnType<ChatsChatid, ChatsChatid | undefined, ChatsChatid>;
created_at: ColumnType<Date, Date | string, Date | string>;
user_ref: ColumnType<UsersId, UsersId, UsersId>;
tags: ColumnType<string[] | null, string[] | null, string[] | null>;
}
export type Chats = Selectable<ChatsTable>;
export type NewChats = Insertable<ChatsTable>;
export type ChatsUpdate = Updateable<ChatsTable>;