import { getBookMeta, getChapter, getContent, getSidebarItems, type BookMeta, type Chapter, type SidebarItem, } from "@/lib/books"; const CODE = "cbhc"; export type CbhcMeta = BookMeta; export type CbhcChapterEntry = { number: number; title: string }; export type CbhcChapter = Chapter; export type CbhcSidebarItem = SidebarItem; export async function getCbhcMeta() { return getBookMeta(CODE); } export async function getCbhcChapter(chapterNum: number) { return getChapter(CODE, String(chapterNum)); } export async function getCbhcContent(slug: string) { return getContent(CODE, slug); } export async function getCbhcSidebarItems() { return getSidebarItems(CODE); }