You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
835 B
TypeScript

// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { UsersId } from './Users';
import type { MessagesId } from './Messages';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Identifier type for public.facts */
export type FactsId = string;
/** Represents the table public.facts */
export default interface FactsTable {
id: ColumnType<FactsId, FactsId | undefined, FactsId>;
userId: ColumnType<UsersId, UsersId, UsersId>;
sourceMessageId: ColumnType<MessagesId, MessagesId, MessagesId>;
content: ColumnType<string, string, string>;
createdAt: ColumnType<string, string | undefined, string>;
}
export type Facts = Selectable<FactsTable>;
export type NewFacts = Insertable<FactsTable>;
export type FactsUpdate = Updateable<FactsTable>;