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