biome format

This commit is contained in:
Avraham Sakal
2025-08-08 17:02:53 -04:00
parent 5e5549e85f
commit a8eba580d0
14 changed files with 142 additions and 101 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as PublicSchema } from './public/PublicSchema';
import type { default as PublicSchema } from "./public/PublicSchema";
type Database = PublicSchema;
+3 -3
View File
@@ -1,11 +1,11 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { UsersId } from './Users';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
import type { UsersId } from "./Users";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
/** Identifier type for public.conversations */
export type ConversationsId = number & { __brand: 'public.conversations' };
export type ConversationsId = number & { __brand: "public.conversations" };
/** Represents the table public.conversations */
export default interface ConversationsTable {
+14 -6
View File
@@ -1,12 +1,12 @@
// @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';
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' };
export type FactTriggersId = number & { __brand: "public.fact_triggers" };
/** Represents the table public.fact_triggers */
export default interface FactTriggersTable {
@@ -18,9 +18,17 @@ export default interface FactTriggersTable {
priority_multiplier: ColumnType<number | null, number | null, number | null>;
priority_multiplier_reason: ColumnType<string | null, string | null, string | null>;
priority_multiplier_reason: ColumnType<
string | null,
string | null,
string | null
>;
scope_conversation_id: ColumnType<ConversationsId | null, ConversationsId | null, ConversationsId | null>;
scope_conversation_id: ColumnType<
ConversationsId | null,
ConversationsId | null,
ConversationsId | null
>;
created_at: ColumnType<string | null, string | null, string | null>;
}
+9 -5
View File
@@ -1,12 +1,12 @@
// @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';
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' };
export type FactsId = number & { __brand: "public.facts" };
/** Represents the table public.facts */
export default interface FactsTable {
@@ -14,7 +14,11 @@ export default interface FactsTable {
user_id: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
source_message_id: ColumnType<MessagesId | null, MessagesId | null, MessagesId | null>;
source_message_id: ColumnType<
MessagesId | null,
MessagesId | null,
MessagesId | null
>;
content: ColumnType<string | null, string | null, string | null>;
+9 -5
View File
@@ -1,18 +1,22 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ConversationsId } from './Conversations';
import type { default as Role } from './Role';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
import type { ConversationsId } from "./Conversations";
import type { default as Role } from "./Role";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
/** Identifier type for public.messages */
export type MessagesId = number & { __brand: 'public.messages' };
export type MessagesId = number & { __brand: "public.messages" };
/** Represents the table public.messages */
export default interface MessagesTable {
id: ColumnType<MessagesId, never, never>;
conversation_id: ColumnType<ConversationsId | null, ConversationsId | null, ConversationsId | null>;
conversation_id: ColumnType<
ConversationsId | null,
ConversationsId | null,
ConversationsId | null
>;
index: ColumnType<number | null, number | null, number | null>;
+6 -6
View File
@@ -1,12 +1,12 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { default as UsersTable } from './Users';
import type { default as MessagesTable } from './Messages';
import type { default as ToolsTable } from './Tools';
import type { default as FactTriggersTable } from './FactTriggers';
import type { default as FactsTable } from './Facts';
import type { default as ConversationsTable } from './Conversations';
import type { default as UsersTable } from "./Users";
import type { default as MessagesTable } from "./Messages";
import type { default as ToolsTable } from "./Tools";
import type { default as FactTriggersTable } from "./FactTriggers";
import type { default as FactsTable } from "./Facts";
import type { default as ConversationsTable } from "./Conversations";
export default interface PublicSchema {
users: UsersTable;
+1 -4
View File
@@ -2,9 +2,6 @@
// This file is automatically generated by Kanel. Do not modify manually.
/** Represents the enum public.role */
type Role =
| 'user'
| 'assistant'
| 'system';
type Role = "user" | "assistant" | "system";
export default Role;
+14 -6
View File
@@ -1,12 +1,12 @@
// @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';
import type { UsersId } from "./Users";
import type { MessagesId } from "./Messages";
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
/** Identifier type for public.tools */
export type ToolsId = number & { __brand: 'public.tools' };
export type ToolsId = number & { __brand: "public.tools" };
/** Represents the table public.tools */
export default interface ToolsTable {
@@ -14,7 +14,11 @@ export default interface ToolsTable {
user_id: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
source_message_id: ColumnType<MessagesId | null, MessagesId | null, MessagesId | null>;
source_message_id: ColumnType<
MessagesId | null,
MessagesId | null,
MessagesId | null
>;
name: ColumnType<string | null, string | null, string | null>;
@@ -22,7 +26,11 @@ export default interface ToolsTable {
parameter_schema: ColumnType<unknown | null, unknown | null, unknown | null>;
implementation_language: ColumnType<string | null, string | null, string | null>;
implementation_language: ColumnType<
string | null,
string | null,
string | null
>;
implementation_code: ColumnType<string | null, string | null, string | null>;
+2 -2
View File
@@ -1,10 +1,10 @@
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
import type { ColumnType, Selectable, Insertable, Updateable } from "kysely";
/** Identifier type for public.users */
export type UsersId = number & { __brand: 'public.users' };
export type UsersId = number & { __brand: "public.users" };
/** Represents the table public.users */
export default interface UsersTable {