All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Bouton PDF blanc par chapitre avec numéro de page (ChapterHeader) - Badges morceaux plus visibles (bordure, poids, hover) dans ChapterHeader et SongBadges - PDF viewer : page cible + panneau signets ouverts par défaut (BookPdfReader) - Config YAML : pdfFile dans book, chapterPages pour le mapping chapitre→page - Admin book : section PDF du livre avec chemin éditable et sauvegarde - Git sync automatique : chaque sauvegarde admin commit+push en prod (ADMIN_GIT_SYNC=true) - Docker : git installé en prod, volumes pour .git/site/content/public Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
586 B
TypeScript
32 lines
586 B
TypeScript
export interface ChapterMeta {
|
|
slug: string
|
|
title: string
|
|
description?: string
|
|
order: number
|
|
readingTime?: string
|
|
}
|
|
|
|
export interface ChapterSongLink {
|
|
chapterSlug: string
|
|
songId: string
|
|
primary: boolean
|
|
}
|
|
|
|
export interface ChapterPageLink {
|
|
chapterSlug: string
|
|
page: number
|
|
}
|
|
|
|
export interface BookConfig {
|
|
title: string
|
|
author: string
|
|
description: string
|
|
coverImage?: string
|
|
pdfFile?: string
|
|
chapters: ChapterMeta[]
|
|
songs: import('./song').Song[]
|
|
chapterSongs: ChapterSongLink[]
|
|
chapterPages: ChapterPageLink[]
|
|
defaultPlaylistOrder: string[]
|
|
}
|