UNPKG

kolenkainc-honohub

Version:

The CMS for building apps and APIs with Hono

10 lines (9 loc) 364 B
import { type Table } from "drizzle-orm"; import type { CollectionConfig, SanitizedCollection } from "../types"; /** * Defines the Collection config * * @param config - The configuration object * @returns The sanitized collection configuration */ export declare function defineCollection<T extends Table>(config: CollectionConfig<T>): SanitizedCollection<T>;