Add comprehensive page management system to admin dashboard
Features added: - Database schema for pages and media files with content types (Rich Text, HTML, Markdown) - Admin API routes for full page CRUD operations - Image upload functionality with file management - Rich text editor using TinyMCE with image insertion - Admin interface for creating/editing pages with SEO options - Dynamic navigation and footer integration - Public page display routes with proper SEO metadata - Support for featured images and content excerpts Admin features: - Create/edit/delete pages with rich content editor - Upload and manage images through media library - Configure pages to appear in navigation or footer - Set page status (Draft, Published, Archived) - SEO title and description management - Real-time preview of content changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
lib/cache/index.ts
vendored
4
lib/cache/index.ts
vendored
@@ -57,8 +57,8 @@ export class CacheManager {
|
||||
}
|
||||
|
||||
// Helper methods for specific cache patterns
|
||||
static getChapterKey(bookId: string, chapterNum: number): string {
|
||||
return `chapter:${bookId}:${chapterNum}`
|
||||
static getChapterKey(bookId: string, chapterNum: number, versionId?: string): string {
|
||||
return versionId ? `chapter:${bookId}:${chapterNum}:${versionId}` : `chapter:${bookId}:${chapterNum}`
|
||||
}
|
||||
|
||||
static getSearchKey(query: string, limit: number): string {
|
||||
|
||||
Reference in New Issue
Block a user