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.

37 lines
1.2 KiB
TypeScript

// @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';
/** Identifier type for public.tools */
export type ToolsId = number & { __brand: 'public.tools' };
/** Represents the table public.tools */
export default interface ToolsTable {
id: ColumnType<ToolsId, never, never>;
userId: ColumnType<UsersId | null, UsersId | null, UsersId | 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>;
parameterSchema: ColumnType<unknown | null, unknown | null, unknown | null>;
implementationLanguage: ColumnType<string | null, string | null, string | null>;
implementationCode: ColumnType<string | null, string | null, string | null>;
createdAt: ColumnType<string | null, string | null, string | null>;
}
export type Tools = Selectable<ToolsTable>;
export type NewTools = Insertable<ToolsTable>;
export type ToolsUpdate = Updateable<ToolsTable>;