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

26 lines
798 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 { UsersId } from './Users';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
2025-08-04 17:45:44 +02:00
/** Identifier type for public.chats */
export type ChatsChatid = string & { __brand: 'public.chats' };
2025-08-04 17:45:44 +02:00
/** Represents the table public.chats */
export default interface ChatsTable {
chatid: ColumnType<ChatsChatid, ChatsChatid | undefined, ChatsChatid>;
2025-08-04 17:45:44 +02:00
created_at: ColumnType<Date, Date | string, Date | string>;
2025-08-04 17:45:44 +02:00
user_ref: ColumnType<UsersId, UsersId, UsersId>;
2025-08-04 17:45:44 +02:00
tags: ColumnType<string[] | null, string[] | null, string[] | null>;
2025-08-04 17:45:44 +02:00
}
export type Chats = Selectable<ChatsTable>;
export type NewChats = Insertable<ChatsTable>;
export type ChatsUpdate = Updateable<ChatsTable>;