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

26 lines
794 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.
2025-08-29 16:18:32 +02:00
import type { ColumnType, Insertable, Selectable, Updateable } from "kysely";
import type { UsersId } from "./Users";
2025-08-04 17:45:44 +02:00
/** Identifier type for public.chats */
2025-08-29 16:18:32 +02:00
export type ChatsChatid = string & { __brand: "public.chats" };
2025-08-04 17:45:44 +02:00
/** Represents the table public.chats */
export default interface ChatsTable {
2025-08-29 16:18:32 +02:00
chatid: ColumnType<ChatsChatid, ChatsChatid | undefined, ChatsChatid>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
created_at: ColumnType<Date, Date | string, Date | string>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +02:00
user_ref: ColumnType<UsersId, UsersId, UsersId>;
2025-08-04 17:45:44 +02:00
2025-08-29 16:18:32 +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>;