UNPKG

kolenkainc-honohub

Version:

The CMS for building apps and APIs with Hono

11 lines (10 loc) 438 B
import type { AnyDrizzleDB } from "drizzle-graphql"; import { type Env, Hono, type Schema } from "hono"; import type { SanitizedHub } from "../types"; /** * Creates the base HonoHub app * * @param config - The configuration object * @returns The Hono instance */ export declare function createBase<Database extends AnyDrizzleDB<any>, E extends Env, P extends Schema, I extends string>(config: SanitizedHub<Database>): Hono<E, P, I>;