- 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.
25 lines
798 B
TypeScript
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>;
|