UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

17 lines (16 loc) 509 B
import { ResponseBody } from "../../../types/response.mjs"; import { Context } from "hono"; //#region src/libs/http/utils/build-response.d.ts interface BuildResponseParams { data: unknown; pagination?: { count: number; page: number; perPage: number; }; } type FormatAPIResponse = (c: Context, params: BuildResponseParams) => ResponseBody; declare const formatAPIResponse: FormatAPIResponse; //#endregion export { formatAPIResponse as default }; //# sourceMappingURL=build-response.d.mts.map