feat: mal/anilist/simkl progress sync

close #914
This commit is contained in:
edde746
2026-04-24 08:29:49 +02:00
parent 431c20f817
commit 1582fdbd5b
83 changed files with 4526 additions and 691 deletions
+20
View File
@@ -0,0 +1,20 @@
import 'fribb_mapping_row.dart';
/// External IDs for matching a Plex item to MAL / AniList / Simkl catalogs.
///
/// Populated from a [FribbMappingRow] via the resolver. Each service's tracker
/// picks the ID it needs (MAL uses [mal], AniList uses [anilist], etc.) and
/// no-ops when its ID is missing.
class AnimeIds {
final int? mal;
final int? anilist;
final int? simkl;
const AnimeIds({this.mal, this.anilist, this.simkl});
factory AnimeIds.fromFribb(FribbMappingRow row) => AnimeIds(
mal: row.malId,
anilist: row.anilistId,
simkl: row.simklId,
);
}