- Move ReaderMetadata from api.ts to reader.d.ts as global type - Add format_group field for format detection (reflowable/fixed_layout/comic_archive) - Add library_type_name for library type (ebooks/comics/manga/pdf) - Add manga_type for manga-specific reading direction metadata - Remove duplicate mime_type field and fix typo (unkown -> unknown)
14 lines
474 B
TypeScript
14 lines
474 B
TypeScript
import "../alpine";
|
|
import { Alpine } from "../alpine";
|
|
// Core utilities (minimal set needed by reader)
|
|
import "../api"; // API calls for reading progress
|
|
import "../dom"; // DOM helpers
|
|
import "../events"; // Event system
|
|
import "../storage"; // localStorage helpers
|
|
import "../theme"; // Theme support (reader needs theme)
|
|
import "../toast"; // Toast notifications
|
|
import "../toast-error"; // Error toasts
|
|
// Reader functionality
|
|
import "./reader-shell";
|
|
Alpine.start();
|