feat: add Book type to schema and sidebar

- Add BookContentSchema with headline, subtitle, bookBody, reviewBody fields
- Add BookResource type and update GenericResourceSchema
- Add books to sidebar navigation with Bookmark Tabs icon
This commit is contained in:
2026-02-10 18:17:32 +01:00
parent e65938ecc2
commit c232794cc0
5 changed files with 211 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ import { createNewSeries } from "@islands/KMenu/commands/create_series.ts";
import { updateAllRecommendations } from "@islands/KMenu/commands/create_recommendations.ts";
import { createNewRecipe } from "@islands/KMenu/commands/create_recipe.ts";
import { enhanceArticleInfo } from "@islands/KMenu/commands/enhance_article_infos.ts";
import { createNewBook } from "@islands/KMenu/commands/create_book.ts";
import { enhanceBookInfo } from "@islands/KMenu/commands/enhance_book_infos.ts";
export const menus: Record<string, Menu> = {
main: {
@@ -74,11 +76,13 @@ export const menus: Record<string, Menu> = {
},
addSeriesInfo,
createNewArticle,
createNewBook,
createNewMovie,
createNewSeries,
createNewRecipe,
addMovieInfos,
enhanceArticleInfo,
enhanceBookInfo,
// updateAllRecommendations,
],
},