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
921 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 = number & { __brand: 'public.facts' };
/** Represents the table public.facts */
export default interface FactsTable {
id: ColumnType<FactsId, never, never>;
userId: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
sourceMessageId: ColumnType<MessagesId | null, MessagesId | null, MessagesId | null>;
content: ColumnType<string | null, string | null, string | null>;
createdAt: ColumnType<string | null, string | null, string | null>;
}
export type Facts = Selectable<FactsTable>;
export type NewFacts = Insertable<FactsTable>;
export type FactsUpdate = Updateable<FactsTable>;