mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-28 04:49:49 -07:00
651e541ea8
- Extract types → history-types.ts, DB layer → history-db.ts, navigation → history-navigation.ts - history.ts becomes a re-export barrel - Fix findNextEpisode: deleted-file fallback now advances to next season - Add isReadonlyWalRetryError (WAL-mode guard before read-write retry) - Strengthen bun-sqlite.d.ts with generics on Statement/query/prepare
22 lines
437 B
TypeScript
22 lines
437 B
TypeScript
export interface HistoryVideoRow {
|
|
videoId: number;
|
|
sourcePath: string;
|
|
parsedTitle: string | null;
|
|
parsedSeason: number | null;
|
|
parsedEpisode: number | null;
|
|
animeTitle: string | null;
|
|
lastWatchedMs: number;
|
|
}
|
|
|
|
export interface HistorySeriesEntry {
|
|
seriesRoot: string;
|
|
displayName: string;
|
|
lastWatched: HistoryVideoRow;
|
|
}
|
|
|
|
export interface SeasonDirEntry {
|
|
name: string;
|
|
path: string;
|
|
season: number | null;
|
|
}
|