import type { DB } from "userbase"; import type { Insertable, Selectable, Updateable, Generated } from "kysely"; declare global { type UserbaseEntity = Selectable; type UserbaseEntityCreate = Insertable; type UserbaseEntityUpdate = Updateable; } export interface Todos { id: Generated; title?: string; done?: boolean; } interface Database { todos: Todos; } declare module "userbase" { interface DB extends Database {} }