style: format web/src with oxfmt defaults (via vp fmt)
One-time mechanical sweep, isolated from any functional change. - oxfmt defaults: double quotes, semicolons, 2-space indent, LF, printWidth 100, trailing commas, bracket spacing, arrow parens. - vite.config.ts gains an fmt.ignorePatterns block for web/static: vendored/minified assets (htmx.min.js, compiled css) must never be reformatted. - Verified: rebuild after the sweep produces byte-identical JS/CSS bundles; only sourcemaps changed (they embed sourcesContent).
This commit is contained in:
1 parent
8aeecaa0ef
commit
77cd268f4e
37 files changed
+1151
-1853
No files matched your search
Vendored
+8
-11
@@ -59,8 +59,8 @@ interface MediaItemSummary {
|
||||
library_type_name: string;
|
||||
|
||||
// NEW: Reading direction fields for manga/comics
|
||||
manga_type?: 'unknown' | 'no' | 'yes' | 'yes_and_right_to_left';
|
||||
reading_direction?: 'auto' | 'ltr' | 'rtl' | 'vertical';
|
||||
manga_type?: "unknown" | "no" | "yes" | "yes_and_right_to_left";
|
||||
reading_direction?: "auto" | "ltr" | "rtl" | "vertical";
|
||||
|
||||
// NEW: Universal metadata fields (apply to ebooks, audiobooks, comics)
|
||||
series_count?: number;
|
||||
@@ -74,7 +74,11 @@ interface MediaItemSummary {
|
||||
// NEW: Comic-specific fields
|
||||
story_arc?: string;
|
||||
is_black_and_white?: boolean;
|
||||
alternate_info?: { alternate_series?: string; alternate_number?: number; alternate_count?: number };
|
||||
alternate_info?: {
|
||||
alternate_series?: string;
|
||||
alternate_number?: number;
|
||||
alternate_count?: number;
|
||||
};
|
||||
scan_information?: string;
|
||||
summary?: string;
|
||||
}
|
||||
@@ -162,14 +166,7 @@ interface PotentialMatchData {
|
||||
// Used in: collection_rules.ts
|
||||
interface CollectionRule {
|
||||
id: string;
|
||||
field:
|
||||
| "genre"
|
||||
| "series"
|
||||
| "author"
|
||||
| "language"
|
||||
| "publisher"
|
||||
| "copyright_year"
|
||||
| "tags";
|
||||
field: "genre" | "series" | "author" | "language" | "publisher" | "copyright_year" | "tags";
|
||||
operator:
|
||||
| "equals"
|
||||
| "not_equals"
|
||||
|
||||
Vendored
+1
-9
@@ -51,15 +51,7 @@ interface TOCNode {
|
||||
// Parser Types (Procedural, not OOP)
|
||||
// ============================================================
|
||||
|
||||
type ParserFormat =
|
||||
| "epub"
|
||||
| "fb2"
|
||||
| "txt"
|
||||
| "html"
|
||||
| "mobi"
|
||||
| "azw3"
|
||||
| "docx"
|
||||
| "rtf";
|
||||
type ParserFormat = "epub" | "fb2" | "txt" | "html" | "mobi" | "azw3" | "docx" | "rtf";
|
||||
|
||||
interface ParserCapabilities {
|
||||
canParse(mimeType: string, extension: string): boolean;
|
||||
|
||||
Reference in new issue
Block a user