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.
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
// @generated
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
import type { FactsId } from './Facts';
|
|
import type { ConversationsId } from './Conversations';
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
|
|
/** Identifier type for public.fact_triggers */
|
|
export type FactTriggersId = number & { __brand: 'public.fact_triggers' };
|
|
|
|
/** Represents the table public.fact_triggers */
|
|
export default interface FactTriggersTable {
|
|
id: ColumnType<FactTriggersId, never, never>;
|
|
|
|
sourceFactId: ColumnType<FactsId | null, FactsId | null, FactsId | null>;
|
|
|
|
content: ColumnType<string | null, string | null, string | null>;
|
|
|
|
priorityMultiplier: ColumnType<number | null, number | null, number | null>;
|
|
|
|
priorityMultiplierReason: ColumnType<string | null, string | null, string | null>;
|
|
|
|
scopeConversationId: ColumnType<ConversationsId | null, ConversationsId | null, ConversationsId | null>;
|
|
|
|
createdAt: ColumnType<string | null, string | null, string | null>;
|
|
}
|
|
|
|
export type FactTriggers = Selectable<FactTriggersTable>;
|
|
|
|
export type NewFactTriggers = Insertable<FactTriggersTable>;
|
|
|
|
export type FactTriggersUpdate = Updateable<FactTriggersTable>;
|