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.

41 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>;
fact_id: ColumnType<FactsId | null, FactsId | null, FactsId | null>;
trigger_phrase: ColumnType<string | null, string | null, string | null>;
priority_multiplier: ColumnType<number | null, number | null, number | null>;
priority_multiplier_reason: ColumnType<
string | null,
string | null,
string | null
>;
scope_conversation_id: ColumnType<
ConversationsId | null,
ConversationsId | null,
ConversationsId | null
>;
created_at: ColumnType<string | null, string | null, string | null>;
}
export type FactTriggers = Selectable<FactTriggersTable>;
export type NewFactTriggers = Insertable<FactTriggersTable>;
export type FactTriggersUpdate = Updateable<FactTriggersTable>;