import { getBookMeta, getChapter, getContent, getSidebarItems, type BookMeta, type Chapter, type SidebarItem, } from "@/lib/books"; const CODE = "va"; export type VaMeta = BookMeta; export type VaChapterEntry = { number: number; title: string }; export type VaChapter = Chapter; export type VaSidebarItem = SidebarItem; export async function getVaMeta() { return getBookMeta(CODE); } export async function getVaChapter(chapterNum: number) { return getChapter(CODE, String(chapterNum)); } export async function getVaContent(slug: string) { return getContent(CODE, slug); } export async function getVaSidebarItems() { return getSidebarItems(CODE); }