|
|
|
@ -1,40 +1,32 @@
|
|
|
|
|
// @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 {
|
|
|
|
|
id: ColumnType<ToolsId, never, never>;
|
|
|
|
|
|
|
|
|
|
user_id: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
|
|
|
|
|
userId: ColumnType<UsersId | null, UsersId | null, UsersId | null>;
|
|
|
|
|
|
|
|
|
|
source_message_id: ColumnType<
|
|
|
|
|
MessagesId | null,
|
|
|
|
|
MessagesId | null,
|
|
|
|
|
MessagesId | null
|
|
|
|
|
>;
|
|
|
|
|
sourceMessageId: ColumnType<MessagesId | null, MessagesId | null, MessagesId | null>;
|
|
|
|
|
|
|
|
|
|
name: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
|
|
|
|
|
description: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
|
|
|
|
|
parameter_schema: ColumnType<unknown | null, unknown | null, unknown | null>;
|
|
|
|
|
parameterSchema: ColumnType<unknown | null, unknown | null, unknown | null>;
|
|
|
|
|
|
|
|
|
|
implementation_language: ColumnType<
|
|
|
|
|
string | null,
|
|
|
|
|
string | null,
|
|
|
|
|
string | null
|
|
|
|
|
>;
|
|
|
|
|
implementationLanguage: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
|
|
|
|
|
implementation_code: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
implementationCode: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
|
|
|
|
|
created_at: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
createdAt: ColumnType<string | null, string | null, string | null>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type Tools = Selectable<ToolsTable>;
|
|
|
|
|