diff --git a/.claude/skills/project-architecture/SKILL.md b/.claude/skills/project-architecture/SKILL.md index b12ae7a7..a237292a 100644 --- a/.claude/skills/project-architecture/SKILL.md +++ b/.claude/skills/project-architecture/SKILL.md @@ -28,7 +28,7 @@ XAML referencing a Core type needs `;assembly=AniSprinkles.Core` on the `clr-nam | Registration | Lifetime | | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | -| `ErrorReportService`, `HttpClient`, `IAuthService`, `IAniListClient`, `IAiringNotificationService`, `IOutageStateService`, `INavigationService`, `IUserFeedback`, `IDialogService`, `IExternalBrowser`, `ISecureTokenStorage`, `TokenStore`, `ListEntryStatusFlow` | Singleton | +| `ErrorReportService`, `HttpClient`, `IAuthService`, `IAniListClient`, `IAiringNotificationService`, `IOutageStateService`, `INavigationService`, `IUserFeedback`, `IDialogService`, `IExternalBrowser`, `ISecureTokenStorage`, `TokenStore`, `ListEntryStatusFlow`, `IUpNextOffer` | Singleton | | `IPreferences`, `IAppInfo`, `TimeProvider` (`TryAddSingleton` — MAUI exposes the first two only as statics, so DI has no default) | Singleton | | `AnimeLibraryPageModel`, `MangaLibraryPageModel`, `DiscoverPageModel`, `SearchPageModel`, `SettingsPageModel` | **Singleton** (survive page recreation across tab switches) | | `LoggingHandler`, `AniListRateLimitHandler` | Transient | @@ -57,6 +57,7 @@ See `AnimeLibraryPage.xaml.cs` and `SettingsPage.xaml.cs` for reference implemen - `MediaBrowsePage` ("View All", transient): `DeferredContentLoader` + one `PaginatedSection` over the same `DiscoverSectionFetch`; `DiscoverSectionDefinitions` is the single source of truth for section title/sort/filters/format/rank. Has the Library view-mode switcher; the mode persists to the shared `ListViewModePreference` key, so both Library halves and View All always match (Library re-syncs in `OnAppearing`). - `BrowseTemplates.xaml` (merged in App.xaml) holds the shared templates: `BrowseMediaRowTemplate` (Standard, also used by search results), `BrowseMediaLargeTemplate` (2-col grid), `BrowseMediaCompactTemplate`, plus `ListStatusPillStyle` — the ONE on-list status pill style. Rows/grid cards overlay it inline (their own layout); the 130×170 carousel cards get it for free from `CoverImage` (`ListStatusText`/`ListStatusColor` props), which is the shared cover used by the Discover carousel AND every detail-page media carousel (relations, recommendations, studio productions, staff production roles, character appearances). Those detail pages send the viewer token so `mediaListEntry` is populated. Tap commands resolve from the hosting CollectionView's BindingContext (`NavigateToMediaCommand`). - `EntryActionCoordinator` (`PageModels/`) owns the long-press action flows (menu, add/move/rate/edit-progress/complete/remove, persistence, toasts/snackbars) for both Library halves AND the browse surfaces; page models supply `EntryActionHost` callbacks (optimistic removal, reload vs in-place chip update, error details). Item long press is MAUI's `LongPressGestureRecognizer` on the **same element** as the item's `TapGestureRecognizer`, with `CommandParameter="{Binding .}"`: the two then share one Android `GestureDetector`, which never reports a tap at finger-up after a long press, so no suppression is needed (#171). A long press on a different element from the tap — including a nested button like Library's `+1` — gets its own detector and loses that guarantee, and a tap-only element reports a tap on release after any hold, so Library's `+1` carries its own long press to the same menu; a long press that is the only recognizer on a view also misfires after a plain tap on MAUI 11.0.10 (dotnet/maui#40180). +- **Up next (#103)**: every path that lands an entry on Completed — the coordinator's completion, Move to → Completed and Add to list → Completed, and the details page's status dropdown and +1-reaches-total path — calls `IUpNextOffer.Begin(entry)` (singleton `UpNextOffer`, `Services/UpNext/`) for a per-flow `UpNextScope`, or null when the Settings toggle is off. The scope is threaded into `ListEntryStatusFlow` so the light `MediaRelations` fetch (`IAniListClient.GetMediaRelationsAsync`, never cached: its per-node `mediaListEntry` is what stops an add overwriting an entry already on the list) starts once the completion is confirmed and runs behind the rating popup. The offer is made after the completion save succeeds and before the host's status-changed callback, so Library reloads once with the adds in it. The save's own toast goes through `UpNextScope.ConfirmSavedThenOfferAsync` and is never shown while the sheet is up (an Android toast draws over every window, so it sat on the sheet's buttons): it shows straight away when there is nothing to offer, and after the sheet closes on Not now; when titles are picked, their own toast replaces it. Rules live in `UpNextCandidates` (sequel / side story / spin-off / alternative, same media type, 18+ filtered), which fixes each candidate's `Target` once, so a row's label, save and toast cannot disagree. Everything follows the `up_next_status` preference (Watching by default, or Planning): a new title is added there; one already on the list is moved, by saving back the whole entry the relations query read (`RelatedMedia.ViewerEntry`) so score, notes and repeat count survive — Planning, Paused and Dropped to the preference, Completed to Rewatching (or to Planning when that is the preference, with progress reset to 0), whether or not the completion was itself a rewatch. An unreleased title only ever goes to Planning, and a cancelled one is never offered. Watching and Rewatching, and anything already in its target list, are not offered. Every row starts unticked. The full matrix is `UpNextTests.Candidates_FollowTheMatrix`. ## Details Page UX diff --git a/AGENTS.md b/AGENTS.md index 30e7add8..19ca16c9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -26,7 +26,9 @@ - **Endpoint**: `https://graphql.anilist.co`. Auth: OAuth implicit grant, redirect URI `anisprinkles://auth`, token in `SecureStorage` keys `anilist_access_token` and `anilist_access_token_expires_at`. - **Every request must carry a `Referer: https://anilist.co/` header** (#160). AniList rejects any request that has neither a `Referer` nor an `Authorization` header with HTTP 403 — and the body says *"The AniList API has been temporarily disabled due to severe stability issues"*, which `AniListErrorClassifier` reads as an outage marker. So the failure does not present as "we sent a bad request", it presents as a false **"AniList is Down"** banner while AniList is serving other clients normally. A token satisfies the same filter, but cannot be the whole answer: signed-out browsing (Discover, Search, every details page) has no token by definition, and `AiringScheduleFetcher` has none by design. The header is set in **two** places — `AniListClient.SendAsyncCore` and `AiringScheduleFetcher.Fetch` — because the worker deliberately bypasses the client; if a third path to AniList is ever added, it needs its own. `AniListRateLimitHandler` rebuilds requests from a `RequestTemplate` on retry and copies request headers across, so retries keep it; there is a test pinning that. - **Signed-in API behaviour can be tested from the desktop, as the test account.** `driver.ps1 dump-token` (#160) writes the dedicated test account's token to `tmp/dev-token.txt`. That file is git-ignored, so it lives in the **main checkout only**: a worktree has to read it from there, at `$(git rev-parse --git-common-dir)/../tmp/dev-token.txt`. The recorder reads the same file. Send the token as a `Bearer` header for read-only probes of how AniList answers a signed-in viewer, where that can differ from signed-out. #199 is the example: for a viewer with Display Adult Content off, AniList filters top-level reads (`Page.media` returns no 18+ titles even when asked for `isAdult: true`, and `Media(id:)` of one returns `404 "Not Found."`), but not nested connections, which return them exactly as signed out. Never print it, log it, or put it in a command line. To find out what the account's settings are, query `Viewer { options { ... } }` rather than assuming. - - **The account is shared.** The user, other sessions and the recorder all use it at the same time, often on another emulator, so its list, favourites and settings can change between two of your requests. Don't read an unexpected change as a bug in your own work until you've ruled that out. Writing to the account (a list save, a settings change, a favourite) can change someone else's run too, so ask before doing any. + - **The test account is `AniSprinkles` (id 7720462)**, not the user's personal account. A session signed in as it should say so rather than treat its list as the user's. + - **The account is shared.** The user, other sessions and the recorder all use it at the same time, often on another emulator, so its list, favourites and settings can change between two of your requests. Don't read an unexpected change as a bug in your own work until you've ruled that out. + - **Writing to it is allowed without asking.** It is a throwaway test account, not the user's own, so list saves, settings changes, favourites, recording fixtures with `tools/record-anilist-fixtures.cs` and seeding with `tools/clone-anilist-list.cs` all need no sign-off. Two limits: add nothing unsavoury (no hentai, Ecchi or other 18+ titles — the account's content ends up in public fixtures and screenshots), and leave its settings as you found them when a change was only for a test, since other runs read them. The same token is usually in `ANILIST_RECORDER_TOKEN` as well. - **Viewer ID caching**: lightweight `Viewer { id }` query cached by token string; invalidates on re-auth. - **Person names come from `userPreferred`, never `full`** (#130). AniList resolves `userPreferred` server-side against the viewer's Staff Name Language, and it is script-aware where `full` is not: measured on a real account set to `ROMAJI`, `full` returned "Bairstow Caitlyn" for a Latin-script name while `userPreferred` returned "Caitlyn Bairstow" (a Japanese name flipped in both). All eleven `name { ... }` selections request it, and `StaffNameFormat` falls back to `full` only when it is absent. The cost is that a change needs a refetch rather than a re-projection — see `InvalidateEntityCache` under Caching. - **Operations**: `Viewer`, `ViewerFull`, `MediaListCollection`, `Media`, `SaveMediaListEntry`, `DeleteMediaListEntry`, `UpdateUser`, `AiringSchedule` / `Staff` / `Character` / `Studio` / `Search` / `DiscoverSections` / `BrowseAnime` (the latter seven work without auth; the browse/search trio sends the token when present so `mediaListEntry` fills in the viewer's list status). `DiscoverSections` batches every Discover row's first page (+ `pageInfo`) into ONE aliased request — keep it that way (rate-limit budget); scrolling a row past its seed pages it through `BrowseAnime`, one request per row-page, via the shared `DiscoverSectionFetch`. diff --git a/src/AniSprinkles.Core/Converters/RainbowAccentConverter.cs b/src/AniSprinkles.Core/Converters/RainbowAccentConverter.cs index c0eb2dd3..17760ce5 100644 --- a/src/AniSprinkles.Core/Converters/RainbowAccentConverter.cs +++ b/src/AniSprinkles.Core/Converters/RainbowAccentConverter.cs @@ -77,6 +77,11 @@ public sealed class RainbowAccentConverter : IValueConverter ["StatsChapters"] = "RainbowOrange", ["StatsVolumes"] = "RainbowCyan", ["StatsMangaScore"] = "RainbowBlue", + + // Settings' Up Next section (#103). Hashed, it came out the same orange as Content & + // Privacy directly beneath it, so the two headers read as one. Green is free among the + // section headers (Display blue, Privacy orange, Notifications pink, Account cyan). + ["UpNext"] = "RainbowGreen", }; public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture) diff --git a/src/AniSprinkles.Core/Models/MediaRelationEdge.cs b/src/AniSprinkles.Core/Models/MediaRelationEdge.cs index ae63347d..55fa05f9 100644 --- a/src/AniSprinkles.Core/Models/MediaRelationEdge.cs +++ b/src/AniSprinkles.Core/Models/MediaRelationEdge.cs @@ -5,6 +5,9 @@ namespace AniSprinkles.Models; public class MediaRelationEdge : ObservableObject, IDisplayProjection { public string? RelationType { get; set; } + + /// The same relation as , typed, for code that branches on it (#103). + public MediaRelationKind Kind { get; set; } public RelatedMedia? Node { get; set; } // The card's metric badge (year), stamped by the PageModel; always shown (— when no year). diff --git a/src/AniSprinkles.Core/Models/MediaRelationKind.cs b/src/AniSprinkles.Core/Models/MediaRelationKind.cs new file mode 100644 index 00000000..ee1b0d74 --- /dev/null +++ b/src/AniSprinkles.Core/Models/MediaRelationKind.cs @@ -0,0 +1,49 @@ +namespace AniSprinkles.Models; + +/// +/// AniList's MediaRelation enum as asked for at relationType(version: 3). Parsed from +/// the raw value rather than from , which is the +/// title-cased display string ("Side Story") and not something to branch on (#103). +/// +public enum MediaRelationKind +{ + /// Absent, or a value this build does not know. + Unknown, + Adaptation, + Prequel, + Sequel, + Parent, + SideStory, + Character, + Summary, + Alternative, + SpinOff, + Other, + Source, + Compilation, + Contains, + SameUniverse, +} + +public static class MediaRelationKindExtensions +{ + /// + /// SIDE_STORY → . Anything unrecognised is + /// , so a relation type AniList adds later is simply never + /// offered rather than misread as one we act on. + /// + public static MediaRelationKind ParseMediaRelationKind(string? raw) + { + if (string.IsNullOrWhiteSpace(raw)) + { + return MediaRelationKind.Unknown; + } + + var name = raw.Replace("_", string.Empty, StringComparison.Ordinal); + return Enum.TryParse(name, ignoreCase: true, out var kind) + && Enum.IsDefined(kind) + && !int.TryParse(name, out _) + ? kind + : MediaRelationKind.Unknown; + } +} diff --git a/src/AniSprinkles.Core/Models/RelatedMedia.cs b/src/AniSprinkles.Core/Models/RelatedMedia.cs index 09a55463..4ba798d6 100644 --- a/src/AniSprinkles.Core/Models/RelatedMedia.cs +++ b/src/AniSprinkles.Core/Models/RelatedMedia.cs @@ -35,6 +35,15 @@ public class RelatedMedia public int? ListProgress { get; set; } public double? ListScore { get; set; } + /// + /// The viewer's whole list entry for this title, on relation nodes only (#103), so the up-next + /// offer can move an entry that is already on the list. Complete only when it came from + /// IAniListClient.GetMediaRelationsAsync, which selects every field a save sends back + /// (score, repeat count, notes, private). The details query selects four, so a save built + /// from that copy would write nulls over the rest. + /// + public MediaListEntry? ViewerEntry { get; set; } + // Was its own copy of the chain, falling back to "Unknown" where Media said "Unknown Title" — // the drift that motivated consolidating this (#141). public string DisplayTitle diff --git a/src/AniSprinkles.Core/PageModels/AnimeLibraryPageModel.cs b/src/AniSprinkles.Core/PageModels/AnimeLibraryPageModel.cs index 0424d3c4..c404494e 100644 --- a/src/AniSprinkles.Core/PageModels/AnimeLibraryPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/AnimeLibraryPageModel.cs @@ -17,6 +17,7 @@ public partial class AnimeLibraryPageModel( IDialogService dialogs, IUserFeedback feedback, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, TimeProvider timeProvider, ILogger logger) : MediaListPageModel( @@ -30,6 +31,7 @@ public partial class AnimeLibraryPageModel( dialogs, feedback, statusFlow, + upNext, timeProvider, logger) { diff --git a/src/AniSprinkles.Core/PageModels/DiscoverPageModel.cs b/src/AniSprinkles.Core/PageModels/DiscoverPageModel.cs index 7085d43b..d25ec3b7 100644 --- a/src/AniSprinkles.Core/PageModels/DiscoverPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/DiscoverPageModel.cs @@ -55,6 +55,7 @@ public DiscoverPageModel( IUserFeedback feedback, IDialogService dialogs, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, ErrorReportService errorReportService, TimeProvider timeProvider, ILogger logger) @@ -85,7 +86,7 @@ public DiscoverPageModel( // Shared long-press flows. A successful mutation is written back onto EVERY item showing // that media (the same anime can sit in several rows), keeping the chips and the // TTL-cached sections consistent without a refetch. - _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, logger, new EntryActionHost + _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, upNext, logger, new EntryActionHost { OpenDetailsAsync = entry => NavigateToMediaByIdAsync(entry.MediaId), OnEntrySavedInPlaceAsync = entry => { ApplyEntryToItems(entry); return Task.CompletedTask; }, diff --git a/src/AniSprinkles.Core/PageModels/EntryActionCoordinator.cs b/src/AniSprinkles.Core/PageModels/EntryActionCoordinator.cs index 29d257fa..822e8bb1 100644 --- a/src/AniSprinkles.Core/PageModels/EntryActionCoordinator.cs +++ b/src/AniSprinkles.Core/PageModels/EntryActionCoordinator.cs @@ -53,6 +53,7 @@ public sealed class EntryActionCoordinator( IDialogService dialogs, IUserFeedback feedback, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, ILogger logger, EntryActionHost host) { @@ -137,7 +138,9 @@ public async Task ShowAddToListAsync(MediaListEntry candidate) return; } - await statusFlow.ApplyStatusChangeAsync(candidate, targetStatus); + // Adding straight to Completed is a completion too (#103). + using var upNextScope = targetStatus == MediaListStatus.Completed ? upNext.Begin(candidate) : null; + await statusFlow.ApplyStatusChangeAsync(candidate, targetStatus, upNextScope); SentrySdk.AddBreadcrumb($"Add to list confirmed (media {candidate.MediaId} → {targetStatus})", "list", "user"); @@ -147,7 +150,7 @@ public async Task ShowAddToListAsync(MediaListEntry candidate) try { await SaveAndAdoptIdAsync(candidate); - await feedback.ShowToastAsync($"{title} added to {targetName}"); + await ConfirmSavedThenOfferAsync(upNextScope, $"{title} added to {targetName}"); await InvokeAsync(host.OnEntryStatusChangedAsync, candidate); } catch (Exception ex) @@ -180,23 +183,25 @@ public async Task RunCompletionFlowAsync(MediaListEntry entry, bool confirmFirst await host.OnBeforeFlowAsync(); } + using var upNextScope = upNext.Begin(entry); + bool shouldSave; if (confirmFirst) { - shouldSave = await statusFlow.ApplyCompletionAsync(entry); + shouldSave = await statusFlow.ApplyCompletionAsync(entry, upNextScope); } else { // Same mutations as the confirmed path: progress to the total, Completed, rating prompt. // The menu pick is this path's confirmation, so it gets the breadcrumb the confirm would. SentrySdk.AddBreadcrumb($"Mark as completed picked (entry {entry.Id})", "list", "user"); - await statusFlow.ApplyStatusChangeAsync(entry, MediaListStatus.Completed); + await statusFlow.ApplyStatusChangeAsync(entry, MediaListStatus.Completed, upNextScope); shouldSave = true; } if (shouldSave) { - await SaveCompletedEntryAsync(entry); + await SaveCompletedEntryAsync(entry, upNextScope); } } finally @@ -351,7 +356,9 @@ private async Task HandleMoveAsync(MediaListEntry entry, MediaListStatus targetS var originalScore = entry.Score; var originalRepeat = entry.Repeat; - await statusFlow.ApplyStatusChangeAsync(entry, targetStatus); + // The status sheet never lists the entry's current status, so Completed here is a transition. + using var upNextScope = targetStatus == MediaListStatus.Completed ? upNext.Begin(entry) : null; + await statusFlow.ApplyStatusChangeAsync(entry, targetStatus, upNextScope); // Optimistic removal from source section. host.OnOptimisticRemove?.Invoke(entry); @@ -361,7 +368,7 @@ private async Task HandleMoveAsync(MediaListEntry entry, MediaListStatus targetS try { await SaveAndAdoptIdAsync(entry); - await feedback.ShowToastAsync($"{title} moved to {targetName}"); + await ConfirmSavedThenOfferAsync(upNextScope, $"{title} moved to {targetName}"); await InvokeAsync(host.OnEntryStatusChangedAsync, entry); } catch (Exception ex) @@ -384,12 +391,12 @@ private async Task HandleMoveAsync(MediaListEntry entry, MediaListStatus targetS } /// Saves a just-completed entry; status changed, so the host may need to re-section. - private async Task SaveCompletedEntryAsync(MediaListEntry entry) + private async Task SaveCompletedEntryAsync(MediaListEntry entry, UpNextScope? upNextScope) { try { await SaveAndAdoptIdAsync(entry); - await feedback.ShowToastAsync("Saved"); + await ConfirmSavedThenOfferAsync(upNextScope, "Saved"); await InvokeAsync(host.OnEntryStatusChangedAsync, entry); } catch (Exception ex) @@ -429,9 +436,14 @@ private async Task SaveEntryInPlaceAsync(MediaListEntry entry, Action revert, st private async Task RetrySaveCompletedEntryAsync(MediaListEntry entry) { + // The first attempt's offer ended with its flow, so a retry that saves makes its own; without + // it the title was completed with no offer and no toast (PR #224 review). + using var upNextScope = upNext.Begin(entry); + upNextScope?.Start(); try { await SaveAndAdoptIdAsync(entry); + await ConfirmSavedThenOfferAsync(upNextScope, "Saved"); await InvokeAsync(host.OnEntryStatusChangedAsync, entry); } catch (Exception ex) @@ -486,6 +498,16 @@ private async Task SaveAndAdoptIdAsync(MediaListEntry entry) } } + /// + /// The save's toast, or the up-next sheet in its place (#103) when there is one to show, after a + /// save and before the host re-sections, so a Library that reloads on a status change reloads once + /// with the added titles in it. Never throws (neither the offer nor the toast does), which matters: + /// it runs inside the callers' save try blocks, and a throw there would be reported as the save + /// failing. + /// + private Task ConfirmSavedThenOfferAsync(UpNextScope? upNextScope, string savedToast) + => UpNextScope.ConfirmSavedThenOfferAsync(upNextScope, () => feedback.ShowToastAsync(savedToast)); + private static Task InvokeAsync(Func? callback, MediaListEntry entry) => callback?.Invoke(entry) ?? Task.CompletedTask; diff --git a/src/AniSprinkles.Core/PageModels/MangaLibraryPageModel.cs b/src/AniSprinkles.Core/PageModels/MangaLibraryPageModel.cs index a080b348..71eb0e32 100644 --- a/src/AniSprinkles.Core/PageModels/MangaLibraryPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/MangaLibraryPageModel.cs @@ -22,6 +22,7 @@ public partial class MangaLibraryPageModel( IDialogService dialogs, IUserFeedback feedback, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, TimeProvider timeProvider, ILogger logger) : MediaListPageModel( @@ -35,5 +36,6 @@ public partial class MangaLibraryPageModel( dialogs, feedback, statusFlow, + upNext, timeProvider, logger); diff --git a/src/AniSprinkles.Core/PageModels/MediaBrowsePageModel.cs b/src/AniSprinkles.Core/PageModels/MediaBrowsePageModel.cs index 2cab3d7e..c30a9d9c 100644 --- a/src/AniSprinkles.Core/PageModels/MediaBrowsePageModel.cs +++ b/src/AniSprinkles.Core/PageModels/MediaBrowsePageModel.cs @@ -64,6 +64,7 @@ public MediaBrowsePageModel( IUserFeedback feedback, IDialogService dialogs, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, ErrorReportService errorReportService, TimeProvider timeProvider, IPreferences preferences, @@ -83,7 +84,7 @@ public MediaBrowsePageModel( // Shared long-press flows; successful mutations are written back onto every row showing // that media so the chips stay consistent without a refetch. - _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, logger, new EntryActionHost + _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, upNext, logger, new EntryActionHost { OpenDetailsAsync = entry => NavigateToMediaByIdAsync(entry.MediaId), OnEntrySavedInPlaceAsync = entry => { ApplyEntryToItems(entry); return Task.CompletedTask; }, diff --git a/src/AniSprinkles.Core/PageModels/MediaDetailsPageModel.cs b/src/AniSprinkles.Core/PageModels/MediaDetailsPageModel.cs index 67de1439..a762cf04 100644 --- a/src/AniSprinkles.Core/PageModels/MediaDetailsPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/MediaDetailsPageModel.cs @@ -13,6 +13,7 @@ public partial class MediaDetailsPageModel : DetailsPageModelBase { private readonly IDialogService _dialogs; private readonly ListEntryStatusFlow _statusFlow; + private readonly IUpNextOffer _upNext; // Correlates this page's own trace lines within one load. The in-flight guard in LoadAsync means // loads cannot interleave, so the base's NAVTRACE lines correlate to the current load by time. @@ -76,11 +77,13 @@ public MediaDetailsPageModel( IExternalBrowser browser, IDialogService dialogs, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, ILogger logger) : base(aniListClient, authService, navigationService, feedback, browser, errorReportService, logger) { _dialogs = dialogs; _statusFlow = statusFlow; + _upNext = upNext; _characters = new PaginatedSection( CharactersDefaultSort, @@ -1079,7 +1082,22 @@ private async Task QuickSetStatus(string value) // Ensure Media is attached so the helper can read ActiveProgressTotal / HasKnownProgressTotal. entry.Media ??= Media; - await _statusFlow.ApplyStatusChangeAsync(entry, status); + // The dropdown never re-applies the current status, but this command is also reachable on its + // own, so check: only a move into Completed is a completion (#103). Decided here, once: by the + // time a failed save is retried the entry already reads Completed, and re-deciding then lost + // the offer (PR #224 review). + var completing = status == MediaListStatus.Completed && entry.Status != MediaListStatus.Completed; + await SetStatusAsync(entry, status, completing); + } + + private async Task SetStatusAsync(MediaListEntry entry, MediaListStatus status, bool completing) + { + // A score or progress edit still waiting on its debounce is on this same entry, so this save + // carries it. Left queued it saved again mid-flow, toasting over the Up Next sheet (PR #224). + _saveDebounceCts?.Cancel(); + + using var upNextScope = completing ? _upNext.Begin(entry) : null; + await _statusFlow.ApplyStatusChangeAsync(entry, status, upNextScope); try { @@ -1089,16 +1107,16 @@ private async Task QuickSetStatus(string value) saved.Media = Media; ListEntry = saved; OnPropertyChanged(nameof(CanAddToList)); - await Feedback.ShowToastAsync("Status updated"); + await ConfirmSavedThenOfferUpNextAsync(upNextScope, "Status updated"); } } catch (Exception ex) { - Logger.LogError(ex, "Failed to set status for media {MediaId}.", Media.Id); + Logger.LogError(ex, "Failed to set status for media {MediaId}.", entry.MediaId); await Feedback.ShowFailureSnackbarAsync( ex, "Failed to update status. Please try again.", - retryAction: () => _ = QuickSetStatus(value)); + retryAction: () => _ = SetStatusAsync(entry, status, completing)); } } @@ -1318,11 +1336,15 @@ private async Task ApplyProgressChangeAsync(int newProgress) try { - var shouldSave = await _statusFlow.ApplyCompletionAsync(ListEntry); + using var upNextScope = _upNext.Begin(ListEntry); + var shouldSave = await _statusFlow.ApplyCompletionAsync(ListEntry, upNextScope); if (shouldSave) { NotifyListEntryDisplayChanged(); - await SaveCurrentEntryAsync(); + if (await SaveCurrentEntryAsync(completion: true)) + { + await ConfirmSavedThenOfferUpNextAsync(upNextScope, SavedToast); + } } else { @@ -1466,11 +1488,18 @@ private async Task DebouncedSaveAsync() catch (TaskCanceledException) { } } - private async Task SaveCurrentEntryAsync() + private const string SavedToast = "Changes saved"; + + /// + /// Saves the entry; true when the server took it. A shows no + /// toast (the caller confirms through the up-next offer instead), and its Retry is a completion + /// too, with an offer of its own. + /// + private async Task SaveCurrentEntryAsync(bool completion = false) { if (Media is null || ListEntry is null) { - return; + return false; } try @@ -1480,8 +1509,15 @@ private async Task SaveCurrentEntryAsync() { saved.Media = Media; ListEntry = saved; - await Feedback.ShowToastAsync("Changes saved"); + if (!completion) + { + await Feedback.ShowToastAsync(SavedToast); + } + + return true; } + + return false; } catch (Exception ex) { @@ -1489,7 +1525,51 @@ private async Task SaveCurrentEntryAsync() await Feedback.ShowFailureSnackbarAsync( ex, "Failed to save changes. Please try again.", - retryAction: () => _ = SaveCurrentEntryAsync()); + retryAction: completion ? () => _ = RetryCompletionSaveAsync() : () => _ = SaveCurrentEntryAsync()); + return false; + } + } + + /// + /// Retry for a +1 completion whose save failed. The first attempt's offer ended with its flow, so + /// this one makes its own; a plain re-save completed the title with no offer (PR #224 review). + /// + private async Task RetryCompletionSaveAsync() + { + if (ListEntry is not { } entry) + { + return; + } + + using var upNextScope = _upNext.Begin(entry); + upNextScope?.Start(); + if (await SaveCurrentEntryAsync(completion: true)) + { + await ConfirmSavedThenOfferUpNextAsync(upNextScope, SavedToast); + } + } + + /// + /// The save's toast, or the up-next sheet in its place when there is one to show, after a completion + /// saved here (#103). Titles the sheet adds are this page's own Relations cards, so their on-list + /// pills are brought up to date rather than waiting for a reload. + /// + private async Task ConfirmSavedThenOfferUpNextAsync(UpNextScope? upNextScope, string savedToast) + => MarkRelationsAdded(await UpNextScope.ConfirmSavedThenOfferAsync(upNextScope, () => Feedback.ShowToastAsync(savedToast))); + + private void MarkRelationsAdded(IReadOnlyList added) + { + foreach (var entry in added) + { + foreach (var edge in _allRelations) + { + if (edge.Node is { } node && node.Id == entry.MediaId) + { + node.ListEntryId = entry.Id; + node.ListStatus = entry.Status; + edge.RefreshDisplayProjections(); + } + } } } diff --git a/src/AniSprinkles.Core/PageModels/MediaListPageModel.cs b/src/AniSprinkles.Core/PageModels/MediaListPageModel.cs index 91688cf4..250d71ad 100644 --- a/src/AniSprinkles.Core/PageModels/MediaListPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/MediaListPageModel.cs @@ -192,7 +192,7 @@ public partial class MediaListPageModel : ObservableObject, IAuthActions _ => Glyphs.Regular.List24, }; - protected MediaListPageModel(MediaKind kind, IAniListClient aniListClient, IAuthService authService, IAiringNotificationService airingNotificationService, ErrorReportService errorReportService, IPreferences preferences, INavigationService navigationService, IDialogService dialogs, IUserFeedback feedback, ListEntryStatusFlow statusFlow, TimeProvider timeProvider, ILogger logger) + protected MediaListPageModel(MediaKind kind, IAniListClient aniListClient, IAuthService authService, IAiringNotificationService airingNotificationService, ErrorReportService errorReportService, IPreferences preferences, INavigationService navigationService, IDialogService dialogs, IUserFeedback feedback, ListEntryStatusFlow statusFlow, IUpNextOffer upNext, TimeProvider timeProvider, ILogger logger) { Kind = kind; _aniListClient = aniListClient; @@ -207,7 +207,7 @@ protected MediaListPageModel(MediaKind kind, IAniListClient aniListClient, IAuth // Long-press flows live in the shared coordinator (also used by Discover/browse); // the hooks keep this page's section bookkeeping and +1-debounce semantics intact. - _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, logger, new EntryActionHost + _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, upNext, logger, new EntryActionHost { OpenDetailsAsync = entry => OpenDetails(entry), OnBeforeFlowAsync = FlushPendingIncrementAsync, diff --git a/src/AniSprinkles.Core/PageModels/SearchPageModel.cs b/src/AniSprinkles.Core/PageModels/SearchPageModel.cs index 0f93e9e9..35e7c5d6 100644 --- a/src/AniSprinkles.Core/PageModels/SearchPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/SearchPageModel.cs @@ -72,6 +72,7 @@ public SearchPageModel( IUserFeedback feedback, IDialogService dialogs, ListEntryStatusFlow statusFlow, + IUpNextOffer upNext, ErrorReportService errorReportService, IPreferences preferences, TimeProvider timeProvider, @@ -89,7 +90,7 @@ public SearchPageModel( // Long-press flows, as on Discover. A successful mutation is written back onto every // matching result so the status chips stay right without refetching the query. - _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, logger, new EntryActionHost + _entryActions = new EntryActionCoordinator(aniListClient, errorReportService, dialogs, feedback, statusFlow, upNext, logger, new EntryActionHost { OpenDetailsAsync = entry => NavigateToMediaByIdAsync(entry.MediaId), OnEntrySavedInPlaceAsync = entry => { ApplyEntryToItems(entry); return Task.CompletedTask; }, diff --git a/src/AniSprinkles.Core/PageModels/SettingsPageModel.UpNext.cs b/src/AniSprinkles.Core/PageModels/SettingsPageModel.UpNext.cs new file mode 100644 index 00000000..40d2a4ab --- /dev/null +++ b/src/AniSprinkles.Core/PageModels/SettingsPageModel.UpNext.cs @@ -0,0 +1,70 @@ +using CommunityToolkit.Mvvm.ComponentModel; +using CommunityToolkit.Mvvm.Input; +using Microsoft.Extensions.Logging; + +namespace AniSprinkles.PageModels; + +/// +/// The up-next settings (#103). Device-local, unlike everything else on this page: they write +/// straight to and stay out of HasUnsavedChanges and the +/// debounced AniList save, which has no field for them. +/// +public partial class SettingsPageModel +{ + private bool _loadingUpNext; + + /// The Up Next section's own card, open by default like Display Preferences. + [ObservableProperty] + private bool _isUpNextExpanded = true; + + [RelayCommand] + private void ToggleUpNext() => IsUpNextExpanded = !IsUpNextExpanded; + + /// Whether completing something offers its sequels and side stories. + [ObservableProperty] + private bool _upNextEnabled; + + /// "Current" or "Planning" — the chip converters compare by name. + [ObservableProperty] + private string _upNextStatus = nameof(MediaListStatus.Current); + + private void LoadUpNextPreferences() + { + _loadingUpNext = true; + try + { + UpNextEnabled = UpNextPreferences.IsEnabled(_preferences); + UpNextStatus = UpNextPreferences.DefaultStatus(_preferences).ToString(); + } + finally + { + _loadingUpNext = false; + } + } + + partial void OnUpNextEnabledChanged(bool value) + { + if (!_loadingUpNext) + { + UpNextPreferences.SetEnabled(_preferences, value); + // Logged as well as breadcrumbed: breadcrumbs only reach Sentry with a crash, and the device + // log is what a "why didn't it offer anything" report is read from. + _logger.LogInformation("UPNEXT suggestions {State}", value ? "on" : "off"); + SentrySdk.AddBreadcrumb($"Up next suggestions {(value ? "on" : "off")}", "settings", "user"); + } + } + + [RelayCommand] + private void SetUpNextStatus(string value) + { + if (Enum.TryParse(value, out var status) + && status is MediaListStatus.Current or MediaListStatus.Planning + && value == status.ToString()) + { + UpNextPreferences.SetDefaultStatus(_preferences, status); + UpNextStatus = value; + _logger.LogInformation("UPNEXT suggestions go to {Status}", status); + SentrySdk.AddBreadcrumb($"Up next adds to {status}", "settings", "user"); + } + } +} diff --git a/src/AniSprinkles.Core/PageModels/SettingsPageModel.cs b/src/AniSprinkles.Core/PageModels/SettingsPageModel.cs index 892c0aca..140bdbcd 100644 --- a/src/AniSprinkles.Core/PageModels/SettingsPageModel.cs +++ b/src/AniSprinkles.Core/PageModels/SettingsPageModel.cs @@ -259,6 +259,7 @@ public SettingsPageModel(IAuthService authService, IAniListClient aniListClient, _feedback = feedback; _browser = browser; _logger = logger; + LoadUpNextPreferences(); } public async Task LoadAsync() diff --git a/src/AniSprinkles.Core/Services/Abstractions/IDialogService.cs b/src/AniSprinkles.Core/Services/Abstractions/IDialogService.cs index 1202b6fe..7d8b4c52 100644 --- a/src/AniSprinkles.Core/Services/Abstractions/IDialogService.cs +++ b/src/AniSprinkles.Core/Services/Abstractions/IDialogService.cs @@ -74,6 +74,14 @@ public interface IDialogService /// Task ShowRatingAsync(string? mediaTitle, double? initialScore); + /// + /// The "Up next" sheet (#103): with a check each, all unticked, each + /// row naming where it goes (); there is no list + /// switch on the sheet. Returns null for Not now or a dismissal, and never a choice with + /// nothing selected. + /// + Task ShowUpNextAsync(string completedTitle, IReadOnlyList candidates); + /// Two-button confirmation. Returns false on cancel or dismissal. Task ConfirmAsync( string title, diff --git a/src/AniSprinkles.Core/Services/Abstractions/UpNextChoice.cs b/src/AniSprinkles.Core/Services/Abstractions/UpNextChoice.cs new file mode 100644 index 00000000..7a082a9a --- /dev/null +++ b/src/AniSprinkles.Core/Services/Abstractions/UpNextChoice.cs @@ -0,0 +1,7 @@ +namespace AniSprinkles.Services.Abstractions; + +/// +/// What the user picked in an up-next offer (#103). Each title carries its own +/// , so the picks are the whole answer. +/// +public sealed record UpNextChoice(IReadOnlyList Selected); diff --git a/src/AniSprinkles.Core/Services/AniListClient.cs b/src/AniSprinkles.Core/Services/AniListClient.cs index 589e72b3..7d236365 100644 --- a/src/AniSprinkles.Core/Services/AniListClient.cs +++ b/src/AniSprinkles.Core/Services/AniListClient.cs @@ -270,6 +270,21 @@ public async Task GetDiscoverSectionsAsync( return (media, listEntry); } + public async Task> GetMediaRelationsAsync(int id, CancellationToken cancellationToken = default) + { + // Token when present: the per-node mediaListEntry is the viewer's, and it is the whole reason + // this query exists (#103). Anonymous still answers, just with every entry null. + var token = await _authService.GetAccessTokenAsync(cancellationToken).ConfigureAwait(false); + var data = await SendAsync( + "MediaRelations", + MediaRelationsQuery, + new { id }, + token, + cancellationToken).ConfigureAwait(false); + + return MapRelationEdges(data.Media?.Relations, withViewerEntry: true); + } + public async Task SaveMediaListEntryAsync(MediaListEntry entry, CancellationToken cancellationToken = default) { var token = await RequireAccessTokenAsync(cancellationToken).ConfigureAwait(false); @@ -1041,14 +1056,7 @@ private static Media MapMedia(MediaDto dto) .Where(link => link.IsDisabled is not true) .Take(12) .ToList() ?? [], - Relations = dto.Relations?.Edges? - .Where(e => e.Node is not null) - .Select(e => new MediaRelationEdge - { - RelationType = FormatRelationType(e.RelationType), - Node = MapRelatedMedia(e.Node!), - }) - .ToList() ?? [], + Relations = MapRelationEdges(dto.Relations, withViewerEntry: false), Characters = dto.Characters?.Edges? .Where(e => e.Node is not null) .Select(e => new CharacterEdge @@ -1103,6 +1111,36 @@ private static Media MapMedia(MediaDto dto) }; } + /// + /// Only for , whose per-node mediaListEntry selects the + /// whole entry. The details query selects four fields; exposing that as + /// would let a move save the rest back as nulls (PR #224). + /// + private static List MapRelationEdges(MediaRelationConnectionDto? relations, bool withViewerEntry) => + relations?.Edges? + .Select(e => e.Node is { } node + ? new MediaRelationEdge + { + RelationType = FormatRelationType(e.RelationType), + Kind = MediaRelationKindExtensions.ParseMediaRelationKind(e.RelationType), + Node = withViewerEntry ? WithViewerEntry(MapRelatedMedia(node), node) : MapRelatedMedia(node), + } + : null) + .OfType() + .ToList() ?? []; + + private static RelatedMedia WithViewerEntry(RelatedMedia mapped, RelatedMediaDto dto) + { + if (MapEntry(dto.MediaListEntry) is { } entry) + { + // The relation's mediaListEntry selection has no mediaId; the node is the media. + entry.MediaId = dto.Id; + mapped.ViewerEntry = entry; + } + + return mapped; + } + private static RelatedMedia MapRelatedMedia(RelatedMediaDto dto) => new() { Id = dto.Id, @@ -1115,7 +1153,8 @@ private static Media MapMedia(MediaDto dto) Favourites = dto.Favourites, Popularity = dto.Popularity, StartDate = dto.StartDate, - // Only the browseMedia fragment (Discover/browse/search) requests these; null elsewhere. + // Only the browseMedia fragment (Discover/browse/search) and the up-next relations read + // (MediaRelations, #103) request these; null elsewhere. Episodes = dto.Episodes, Chapters = dto.Chapters, Volumes = dto.Volumes, @@ -2118,6 +2157,36 @@ query BrowseAnime($page: Int!, $perPage: Int!, $sort: [MediaSort], $status: Medi } }" + BrowseMediaFragment; + // The relations section of MediaQuery, plus the viewer's whole list entry per node (#103): the + // up-next offer moves entries that are already on the list, and a save sends every field back, + // so every field it sends has to be read first. MediaQuery keeps its four-field entry; widening + // it would re-record every Media fixture for a section the details page only pills. + private const string MediaRelationsQuery = @" +query MediaRelations($id: Int!) { + Media(id: $id) { + id + relations { + edges { + relationType(version: 3) + node { + id + title { romaji english native } + isAdult + format + type + status + coverImage { medium large } + startDate { year month day } + episodes + chapters + volumes + mediaListEntry { id status progress progressVolumes score repeat notes private hiddenFromStatusLists } + } + } + } + } +}"; + private const string MediaQuery = @" query Media($id: Int!) { Media(id: $id) { diff --git a/src/AniSprinkles.Core/Services/CachingAniListClient.cs b/src/AniSprinkles.Core/Services/CachingAniListClient.cs index 495581ee..467e5916 100644 --- a/src/AniSprinkles.Core/Services/CachingAniListClient.cs +++ b/src/AniSprinkles.Core/Services/CachingAniListClient.cs @@ -211,6 +211,10 @@ public Task GetDiscoverSectionsAsync( return result; } + // Not cached: the per-node list-entry snapshot has to be fresh (see the interface). + public Task> GetMediaRelationsAsync(int id, CancellationToken cancellationToken = default) + => _inner.GetMediaRelationsAsync(id, cancellationToken); + public Task SaveMediaListEntryAsync(MediaListEntry entry, CancellationToken cancellationToken = default) => _inner.SaveMediaListEntryAsync(entry, cancellationToken); diff --git a/src/AniSprinkles.Core/Services/FaultInjection/FaultInjectingAniListClient.cs b/src/AniSprinkles.Core/Services/FaultInjection/FaultInjectingAniListClient.cs index 0d67efc0..85382b36 100644 --- a/src/AniSprinkles.Core/Services/FaultInjection/FaultInjectingAniListClient.cs +++ b/src/AniSprinkles.Core/Services/FaultInjection/FaultInjectingAniListClient.cs @@ -193,6 +193,9 @@ public Task GetDiscoverSectionsAsync( public Task<(Media? Media, MediaListEntry? ListEntry)> GetMediaAsync(int id, CancellationToken cancellationToken = default) => GateAsync(nameof(GetMediaAsync), ct => inner.GetMediaAsync(id, ct), cancellationToken); + public Task> GetMediaRelationsAsync(int id, CancellationToken cancellationToken = default) + => GateAsync(nameof(GetMediaRelationsAsync), ct => inner.GetMediaRelationsAsync(id, ct), cancellationToken); + public Task SaveMediaListEntryAsync(MediaListEntry entry, CancellationToken cancellationToken = default) => GateAsync(nameof(SaveMediaListEntryAsync), ct => inner.SaveMediaListEntryAsync(entry, ct), cancellationToken); diff --git a/src/AniSprinkles.Core/Services/IAniListClient.cs b/src/AniSprinkles.Core/Services/IAniListClient.cs index aee798fb..1dfcb634 100644 --- a/src/AniSprinkles.Core/Services/IAniListClient.cs +++ b/src/AniSprinkles.Core/Services/IAniListClient.cs @@ -70,6 +70,14 @@ Task GetDiscoverSectionsAsync( int perPage = 25, CancellationToken cancellationToken = default); Task<(Media? Media, MediaListEntry? ListEntry)> GetMediaAsync(int id, CancellationToken cancellationToken = default); + + /// + /// Just the direct relations of one media, each with the viewer's list entry for it (#103). The + /// light counterpart of 's relations section, for the moment an entry + /// is completed: never cached, because the list-entry snapshot is what keeps an "add the sequel" + /// from overwriting an entry that is already on the list. + /// + Task> GetMediaRelationsAsync(int id, CancellationToken cancellationToken = default); Task SaveMediaListEntryAsync(MediaListEntry entry, CancellationToken cancellationToken = default); Task DeleteMediaListEntryAsync(int entryId, CancellationToken cancellationToken = default); Task GetCurrentUserIdAsync(CancellationToken cancellationToken = default); diff --git a/src/AniSprinkles.Core/Services/ListEntryStatusFlow.cs b/src/AniSprinkles.Core/Services/ListEntryStatusFlow.cs index b48607bb..36b3d72b 100644 --- a/src/AniSprinkles.Core/Services/ListEntryStatusFlow.cs +++ b/src/AniSprinkles.Core/Services/ListEntryStatusFlow.cs @@ -10,8 +10,8 @@ namespace AniSprinkles.Services; /// /// All methods mutate the passed in place. Callers /// should always persist the entry via the AniList client after -/// , and persist -/// after only when that method +/// , and persist +/// after only when that method /// returns true (it returns false when the user cancels). Callers are /// responsible for reverting their own optimistic UI on failure. /// @@ -26,12 +26,15 @@ public sealed class ListEntryStatusFlow(IDialogService dialogs) /// status-specific side effects (progress, repeat, score prompt). The score /// prompt is optional (skipping it preserves the existing score but does not /// cancel the status change), so the caller should always proceed to save. + /// (#103) is the completing flow's up-next offer: its relations fetch + /// starts here, so it runs while the score prompt is open. /// - public async Task ApplyStatusChangeAsync(MediaListEntry entry, MediaListStatus target) + public async Task ApplyStatusChangeAsync(MediaListEntry entry, MediaListStatus target, UpNextScope? upNext = null) { var needsScorePrompt = ListEntryStatusMutations.ApplyStatusChange(entry, target); if (needsScorePrompt) { + upNext?.Start(); var score = await dialogs.ShowRatingAsync(entry.Media?.DisplayTitle, entry.Score); if (score.HasValue) { @@ -51,7 +54,7 @@ public async Task ApplyStatusChangeAsync(MediaListEntry entry, MediaListStatus t /// Long-running airing shows and still-publishing manga have no finite total and should not /// route through here. /// - public async Task ApplyCompletionAsync(MediaListEntry entry) + public async Task ApplyCompletionAsync(MediaListEntry entry, UpNextScope? upNext = null) { ArgumentNullException.ThrowIfNull(entry); @@ -80,6 +83,9 @@ public async Task ApplyCompletionAsync(MediaListEntry entry) SentrySdk.AddBreadcrumb($"Completion confirmed (entry {entry.Id})", "list", "user"); + // Only now: a declined confirm must not spend a request on relations nobody will see (#103). + upNext?.Start(); + entry.SetActiveProgress(total); entry.Status = MediaListStatus.Completed; diff --git a/src/AniSprinkles.Core/Services/ListEntryStatusMutations.cs b/src/AniSprinkles.Core/Services/ListEntryStatusMutations.cs index 3e8fe734..3ce00593 100644 --- a/src/AniSprinkles.Core/Services/ListEntryStatusMutations.cs +++ b/src/AniSprinkles.Core/Services/ListEntryStatusMutations.cs @@ -22,6 +22,14 @@ public static bool ApplyStatusChange(MediaListEntry entry, MediaListStatus targe switch (target) { case MediaListStatus.Completed: + // AniList adds the rewatch itself when a Rewatching entry is saved as Completed, so the + // count is left to it: a null is left out of the mutation. Sending the old count let a + // retried save (committed, response lost) set AniList's 4 back to 3 (PR #224 review). + if (entry.Status == MediaListStatus.Repeating) + { + entry.Repeat = null; + } + entry.Status = MediaListStatus.Completed; if (entry.HasKnownProgressTotal && entry.ActiveProgressTotal is { } max) { @@ -39,7 +47,9 @@ public static bool ApplyStatusChange(MediaListEntry entry, MediaListStatus targe // full volume count (#12). entry.Progress = 0; entry.ProgressVolumes = 0; - entry.Repeat = (entry.Repeat ?? 0) + 1; + // The repeat count is left alone: AniList adds the rewatch itself when a Rewatching + // entry is saved as Completed. Adding one here as well counted every rewatch twice + // (confirmed on the test account 2026-11-20, #103). return false; case MediaListStatus.Current: diff --git a/src/AniSprinkles.Core/Services/UpNext/UpNextCandidate.cs b/src/AniSprinkles.Core/Services/UpNext/UpNextCandidate.cs new file mode 100644 index 00000000..d631a181 --- /dev/null +++ b/src/AniSprinkles.Core/Services/UpNext/UpNextCandidate.cs @@ -0,0 +1,209 @@ +using System.Text; +using AniSprinkles.Utilities; + +namespace AniSprinkles.Services; + +/// +/// One related title the user could act on after completing something (#103): either one to add +/// ( null) or one already on the list to move ( is the +/// viewer's whole entry for it, which the move saves back). Made only by +/// , which decides once, from the rules and +/// the Settings list, so a row's label, its save and its toast can never disagree about where it goes. +/// +public sealed record UpNextCandidate +{ + internal UpNextCandidate(RelatedMedia media, MediaRelationKind relation, MediaListEntry? existing, MediaListStatus target) + { + Media = media; + Relation = relation; + Existing = existing; + From = existing?.Status; + Target = target; + } + + public RelatedMedia Media { get; } + + public MediaRelationKind Relation { get; } + + /// The viewer's whole entry for a title already on the list; null for a new one. + public MediaListEntry? Existing { get; } + + /// + /// Where an existing entry sat when it was offered. Captured rather than read from + /// , which the move itself rewrites. + /// + public MediaListStatus? From { get; } + + /// The status this title is saved under if the user picks it. + public MediaListStatus Target { get; } + + /// AniList's NOT_YET_RELEASED. + public bool IsUnreleased => UpNextCandidates.IsUnreleased(Media); + + /// Not on the list yet, so picking it adds it. + public bool IsNew => Existing is null; + + public string RelationLabel => Relation switch + { + MediaRelationKind.Sequel => "Sequel", + MediaRelationKind.SideStory => "Side story", + MediaRelationKind.SpinOff => "Spin-off", + MediaRelationKind.Alternative => "Alternative", + _ => string.Empty, + }; + + /// "TV · 2026": format and year for the row's details chip, absent parts omitted. + public string DetailsLine + { + get + { + var sb = new StringBuilder(); + foreach (var part in (ReadOnlySpan)[Media.FormatDisplay, Media.YearDisplay]) + { + if (string.IsNullOrEmpty(part)) + { + continue; + } + + if (sb.Length > 0) + { + sb.Append(" · "); + } + + sb.Append(part); + } + + return sb.ToString(); + } + } + + /// + /// Where this row goes, for its destination chip: "→ Watching" for a new title, "Completed → + /// Rewatching" for a move. Each row says its own, which is why the sheet has no list switch: rows + /// can go to different lists. + /// + public string DestinationLabel => From is { } from + ? $"{MediaListVocabulary.StatusLabel(from, Media.Kind)} → {MediaListVocabulary.StatusLabel(Target, Media.Kind)}" + : $"→ {MediaListVocabulary.StatusLabel(Target, Media.Kind)}"; +} + +/// +/// The rules for which relations of a just-completed entry are worth offering, and where each goes +/// (#103). Pure, so every rule is pinned by a test rather than by a device run. +/// +public static class UpNextCandidates +{ + // Offered relation types, in the order they are listed. Everything else (prequel, parent, source, + // adaptation, character, summary and compilation recaps, contains, other, same universe) is not a + // "what comes next". + private static readonly MediaRelationKind[] Offered = + [ + MediaRelationKind.Sequel, + MediaRelationKind.SideStory, + MediaRelationKind.SpinOff, + MediaRelationKind.Alternative, + ]; + + /// + /// Eligible relations of a entry: an offered relation type, the same media + /// type, not hidden by the 18+ setting, and somewhere has a move for. + /// Sequels first, then by release date, so the list reads in watching order. + /// + /// + /// The Settings list, Watching or Planning: where titles go unless a rule below says otherwise. + /// + public static IReadOnlyList Select( + MediaKind kind, + IEnumerable edges, + bool displayAdultContent, + MediaListStatus settingsStatus) + { + ArgumentNullException.ThrowIfNull(edges); + if (settingsStatus is not (MediaListStatus.Current or MediaListStatus.Planning)) + { + throw new ArgumentOutOfRangeException(nameof(settingsStatus), settingsStatus, "Related titles go to Watching or Planning."); + } + + var seen = new HashSet(); + var eligible = new List(); + foreach (var edge in edges) + { + if (edge.Node is { Id: > 0 } node + && Array.IndexOf(Offered, edge.Kind) >= 0 + && node.Kind == kind + && !AdultMediaFilter.Hides(node, displayAdultContent) + && TargetFor(node, settingsStatus) is { } target + && seen.Add(node.Id)) + { + eligible.Add(new UpNextCandidate(node, edge.Kind, node.ViewerEntry, target)); + } + } + + return eligible + .OrderBy(c => Array.IndexOf(Offered, c.Relation)) + .ThenBy(c => c.Media.StartDate?.Year ?? int.MaxValue) + .ThenBy(c => c.Media.StartDate?.Month ?? int.MaxValue) + .ThenBy(c => c.Media.StartDate?.Day ?? int.MaxValue) + .ThenBy(c => c.Media.Id) + .ToList(); + } + + /// + /// The sheet's confirm button for a selection: "Add 2", "Move 1", "Add 2 · Move 1", or + /// "Select titles" when nothing is ticked (the button is disabled then, and says why). + /// + public static string ConfirmLabel(IReadOnlyCollection selected) + { + ArgumentNullException.ThrowIfNull(selected); + + var adds = selected.Count(c => c.IsNew); + var moves = selected.Count - adds; + return (adds, moves) switch + { + (0, 0) => "Select titles", + (_, 0) => $"Add {adds}", + (0, _) => $"Move {moves}", + _ => $"Add {adds} · Move {moves}", + }; + } + + internal static bool IsUnreleased(RelatedMedia media) + => string.Equals(media.Status, "NOT_YET_RELEASED", StringComparison.OrdinalIgnoreCase); + + /// + /// Where a related title goes, given where it sits on the user's list; null when it is not worth + /// offering. Everything follows except: + /// + /// an unreleased title only ever goes to Planning, wherever it sits (it cannot be watched + /// yet); + /// a cancelled title is never offered: one that never aired has nothing to watch, and the + /// relations query cannot tell it from one cancelled mid-run; + /// a Completed title goes to Rewatching rather than Watching; + /// Watching and Rewatching titles are already in progress, and a title already in its target + /// list has nowhere to move, so neither is offered. + /// + /// A title that is on the list without its whole entry () is + /// never offered: moving it would save the missing fields as nulls. + /// + private static MediaListStatus? TargetFor(RelatedMedia node, MediaListStatus settingsStatus) + { + if (string.Equals(node.Status, "CANCELLED", StringComparison.OrdinalIgnoreCase)) + { + return null; + } + + var startTo = IsUnreleased(node) ? MediaListStatus.Planning : settingsStatus; + if (node.ViewerEntry is not { } entry) + { + return node.ListStatus is null && node.ListEntryId is null ? startTo : null; + } + + var target = entry.Status switch + { + MediaListStatus.Planning or MediaListStatus.Paused or MediaListStatus.Dropped => startTo, + MediaListStatus.Completed => startTo == MediaListStatus.Current ? MediaListStatus.Repeating : startTo, + _ => (MediaListStatus?)null, + }; + return target == entry.Status ? null : target; + } +} diff --git a/src/AniSprinkles.Core/Services/UpNext/UpNextOffer.cs b/src/AniSprinkles.Core/Services/UpNext/UpNextOffer.cs new file mode 100644 index 00000000..db382f4f --- /dev/null +++ b/src/AniSprinkles.Core/Services/UpNext/UpNextOffer.cs @@ -0,0 +1,283 @@ +using AniSprinkles.Utilities; +using Microsoft.Extensions.Logging; + +namespace AniSprinkles.Services; + +/// +/// Offers a just-completed entry's sequels, side stories, spin-offs and alternatives (#103). +/// is called by every flow that can end in Completed and returns a scope for +/// that one flow, or null when the offer is switched off — which is also what a test +/// substitute returns, so page-model tests that don't care about the offer don't see it. +/// +public interface IUpNextOffer +{ + UpNextScope? Begin(MediaListEntry completing); +} + +/// +/// Singleton; holds no per-flow state (that lives in ). +public sealed class UpNextOffer( + IAniListClient aniListClient, + IDialogService dialogs, + IUserFeedback feedback, + IPreferences preferences, + ILogger logger) : IUpNextOffer +{ + internal IDialogService Dialogs => dialogs; + + public UpNextScope? Begin(MediaListEntry completing) + { + if (completing?.Media is null || completing.MediaId <= 0) + { + return null; + } + + if (!UpNextPreferences.IsEnabled(preferences)) + { + // Said out loud: otherwise "it didn't offer anything" reads the same in the log whether the + // switch was off or there was nothing to offer. + logger.LogInformation("UPNEXT off: no offer for media {MediaId}", completing.MediaId); + return null; + } + + var kind = completing.Media.IsManga ? MediaKind.Manga : MediaKind.Anime; + return new UpNextScope( + this, + completing.MediaId, + completing.Media.DisplayTitle, + kind, + UpNextPreferences.DefaultStatus(preferences)); + } + + /// + /// Never throws: an offer that cannot load is an offer not made. The completion it follows has + /// already been saved, and a failure snackbar for something the user did not ask for is noise. + /// + internal async Task> FetchCandidatesAsync( + int mediaId, MediaKind kind, MediaListStatus settingsStatus, CancellationToken cancellationToken) + { + try + { + var edges = await aniListClient.GetMediaRelationsAsync(mediaId, cancellationToken); + var candidates = UpNextCandidates.Select(kind, edges, AppSettings.DisplayAdultContent, settingsStatus); + logger.LogInformation( + "UPNEXT media {MediaId}: {Edges} relations, {Candidates} offered", + mediaId, edges.Count, candidates.Count); + return candidates; + } + catch (OperationCanceledException) + { + return []; + } + catch (Exception ex) + { + logger.LogWarning(ex, "UPNEXT relations fetch failed for media {MediaId}; offering nothing", mediaId); + return []; + } + } + + /// + /// Saves each picked title, one request apiece: a new title as a new entry, one already on the list + /// as its own entry moved to . Returns the entries that saved. + /// Not cancellable: by now the user has asked for these. + /// + internal async Task> AddAsync(UpNextChoice choice, MediaKind kind) + { + var saved = new List(); + var anyMoved = false; + UpNextCandidate? last = null; + foreach (var candidate in choice.Selected) + { + var target = candidate.Target; + + // A move saves the viewer's whole entry, read with the relations, so its score, notes and + // repeat count go back as they were. The status side effects are the same ones a move from + // the Library applies: a rewatch starts from zero (AniList counts it when completed). This + // rewrites the candidate's own entry, which is why the candidate keeps its From and Target + // apart from it (reading the entry once made a toast say "moved to Watching" for a rewatch). + var entry = candidate.Existing ?? new MediaListEntry { MediaId = candidate.Media.Id }; + + // The relations query's entry has no media, so give the shared mutation the totals it reads: + // without them a title moved to Watching at its total stays there and +1 is dead (PR #224). + entry.Media ??= new Media + { + Id = candidate.Media.Id, + Type = candidate.Media.Type, + Episodes = candidate.Media.Episodes, + Chapters = candidate.Media.Chapters, + Volumes = candidate.Media.Volumes, + }; + ListEntryStatusMutations.ApplyStatusChange(entry, target); + + // A finished title queued again is a plan to rewatch, so it starts from zero rather than + // sitting in Plan to Watch at 28/28 (agreed 2026-11-20). Done here rather than in the shared + // mutation, which a Library move to Planning also goes through (#222 owns that one). A + // paused or dropped title keeps its place. + if (candidate.From == MediaListStatus.Completed && target == MediaListStatus.Planning) + { + entry.Progress = 0; + entry.ProgressVolumes = 0; + } + + try + { + var result = await aniListClient.SaveMediaListEntryAsync(entry); + if (result is not { Id: > 0 }) + { + throw new InvalidOperationException("SaveMediaListEntry returned no entry id for a related title."); + } + + entry.Id = result.Id; + saved.Add(entry); + last = candidate; + anyMoved |= !candidate.IsNew; + SentrySdk.AddBreadcrumb( + $"Up next {(candidate.IsNew ? "added" : "moved")} (media {entry.MediaId} → {target})", "list", "user"); + } + catch (Exception ex) + { + logger.LogError(ex, "UPNEXT failed to save media {MediaId}", candidate.Media.Id); + await feedback.ShowFailureSnackbarAsync( + ex, $"Couldn't {(candidate.IsNew ? "add" : "move")} {candidate.Media.DisplayTitle}. Please try again.", retryAction: null); + } + } + + if (saved.Count == 1 && last is { } only) + { + var listName = MediaListVocabulary.StatusLabel(only.Target, kind); + await feedback.ShowToastAsync(only.IsNew + ? $"{only.Media.DisplayTitle} added to {listName}" + : $"{only.Media.DisplayTitle} moved to {listName}"); + } + else if (saved.Count > 1) + { + await feedback.ShowToastAsync(anyMoved ? $"{saved.Count} titles updated" : $"{saved.Count} titles added"); + } + + return saved; + } + + internal void LogFailure(Exception ex, int mediaId) + => logger.LogError(ex, "UPNEXT offer failed for media {MediaId}", mediaId); + + /// The sheet's answer; 0 picked is Not now or a dismissal. + internal void LogAnswer(int mediaId, int picked, int offered) + => logger.LogInformation("UPNEXT media {MediaId}: picked {Picked} of {Offered}", mediaId, picked, offered); +} + +/// +/// One completion flow's offer. Created before the flow's popups so the relations fetch can run +/// while the rating popup is open ( is called once the completion is confirmed), and +/// disposed when the flow ends, which cancels a fetch nobody is going to use. +/// +public sealed class UpNextScope : IDisposable +{ + private readonly UpNextOffer _owner; + private readonly int _mediaId; + private readonly string _title; + private readonly MediaKind _kind; + private readonly MediaListStatus _settingsStatus; + private readonly CancellationTokenSource _cts = new(); + private Task>? _candidates; + private bool _disposed; + + internal UpNextScope( + UpNextOffer owner, int mediaId, string title, MediaKind kind, MediaListStatus settingsStatus) + { + _owner = owner; + _mediaId = mediaId; + _title = title; + _kind = kind; + _settingsStatus = settingsStatus; + } + + /// Starts the relations fetch if it hasn't started. Safe to call more than once. + public void Start() + { + if (_disposed) + { + return; + } + + _candidates ??= _owner.FetchCandidatesAsync(_mediaId, _kind, _settingsStatus, _cts.Token); + } + + /// + /// Makes the offer, after the completion has saved, and returns what was added. Never throws, other + /// than what throws. + /// + /// is the caller's "saved" toast. It runs once no sheet is up, and + /// only when nothing was picked: an Android toast draws over every window, so one shown just + /// before the sheet sat on its buttons (seen on device, #103). So it runs straight away when there + /// is nothing to offer, and after the sheet closes on Not now. When titles were picked, their own + /// toast (or failure snackbar) is the word on how it went. + /// + /// + public async Task> OfferAsync(Func? confirmSaved = null) + { + // Never throws: FetchCandidatesAsync turns every failure into nothing to offer. + var candidates = await CandidatesAsync(); + IReadOnlyList added = []; + var picked = false; + if (candidates.Count > 0) + { + try + { + // A state breadcrumb, not a user one: the sheet is new UI, and a crash inside it should + // show it was open. Not now gets no breadcrumb (confirmed actions only); each save does. + SentrySdk.AddBreadcrumb($"Up next sheet shown (media {_mediaId}, {candidates.Count} titles)", "list", "state"); + var choice = await _owner.Dialogs.ShowUpNextAsync(_title, candidates); + _owner.LogAnswer(_mediaId, choice?.Selected.Count ?? 0, candidates.Count); + if (choice is { Selected.Count: > 0 }) + { + picked = true; + added = await _owner.AddAsync(choice, _kind); + } + } + catch (Exception ex) + { + _owner.LogFailure(ex, _mediaId); + } + } + + if (!picked && confirmSaved is not null) + { + await confirmSaved(); + } + + return added; + } + + /// + /// for a flow that may have no offer (switched off, or not a completion): + /// then simply runs. + /// + public static async Task> ConfirmSavedThenOfferAsync(UpNextScope? scope, Func confirmSaved) + { + if (scope is null) + { + await confirmSaved(); + return []; + } + + return await scope.OfferAsync(confirmSaved); + } + + private Task> CandidatesAsync() + { + Start(); + return _candidates ?? Task.FromResult>([]); + } + + public void Dispose() + { + if (_disposed) + { + return; + } + + _disposed = true; + _cts.Cancel(); + _cts.Dispose(); + } +} diff --git a/src/AniSprinkles.Core/Services/UpNext/UpNextPreferences.cs b/src/AniSprinkles.Core/Services/UpNext/UpNextPreferences.cs new file mode 100644 index 00000000..99180112 --- /dev/null +++ b/src/AniSprinkles.Core/Services/UpNext/UpNextPreferences.cs @@ -0,0 +1,35 @@ +namespace AniSprinkles.Services; + +/// +/// Device-local settings for the up-next offer (#103). Not AniList settings, so they are written +/// straight to and never go through the Settings save to AniList. +/// +public static class UpNextPreferences +{ + public const string EnabledKey = "up_next_enabled"; + public const string StatusKey = "up_next_status"; + + /// On until the user turns it off. + public static bool IsEnabled(IPreferences preferences) => preferences.Get(EnabledKey, true); + + public static void SetEnabled(IPreferences preferences, bool enabled) => preferences.Set(EnabledKey, enabled); + + /// + /// The list related entries go to: Watching/Reading (the default) or Planning. Anything else stored + /// under the key reads as the default rather than letting a stray value add titles as Dropped. + /// + public static MediaListStatus DefaultStatus(IPreferences preferences) + => preferences.Get(StatusKey, nameof(MediaListStatus.Current)) == nameof(MediaListStatus.Planning) + ? MediaListStatus.Planning + : MediaListStatus.Current; + + public static void SetDefaultStatus(IPreferences preferences, MediaListStatus status) + { + if (status is not (MediaListStatus.Current or MediaListStatus.Planning)) + { + throw new ArgumentOutOfRangeException(nameof(status), status, "Up next adds to Watching or Planning only."); + } + + preferences.Set(StatusKey, status.ToString()); + } +} diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__037c9214eef7_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__037c9214eef7_add8ea99711b.json new file mode 100644 index 00000000..406dfe26 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__037c9214eef7_add8ea99711b.json @@ -0,0 +1,159 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 1 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:04:26.0882124+00:00", + "response": { + "data": { + "Media": { + "id": 1, + "relations": { + "edges": [ + { + "relationType": "SIDE_STORY", + "node": { + "id": 5, + "title": { + "romaji": "Cowboy Bebop: Tengoku no Tobira", + "english": "Cowboy Bebop: The Movie - Knockin\u0027 on Heaven\u0027s Door", + "native": "\u30AB\u30A6\u30DC\u30FC\u30A4\u30D3\u30D0\u30C3\u30D7\u5929\u56FD\u306E\u6249" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx5-NozHwXWdNLCz.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx5-NozHwXWdNLCz.jpg" + }, + "startDate": { + "year": 2001, + "month": 9, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 17205, + "title": { + "romaji": "Cowboy Bebop: Ein no Natsuyasumi", + "english": "Ein\u0027s Summer Vacation", + "native": "\u30A2\u30A4\u30F3\u306E\u306A\u3064\u3084\u3059\u307F" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx17205-Dk5nmaKD7hPM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx17205-Dk5nmaKD7hPM.jpg" + }, + "startDate": { + "year": 2012, + "month": 12, + "day": 21 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 30173, + "title": { + "romaji": "Cowboy Bebop", + "english": "Cowboy Bebop", + "native": "\u30AB\u30A6\u30DC\u30FC\u30A4\u30D3\u30D0\u30C3\u30D7" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx30173-SU7cu3H9jLXT.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx30173-SU7cu3H9jLXT.jpg" + }, + "startDate": { + "year": 1999, + "month": 4, + "day": 1 + }, + "episodes": null, + "chapters": 11, + "volumes": 3, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 30174, + "title": { + "romaji": "Shooting Star Bebop: Cowboy Bebop", + "english": "Cowboy Bebop Shooting Star", + "native": "\u30B7\u30E5\u30FC\u30C6\u30A3\u30F3\u30B0\u30B9\u30BF\u30FC\u30D3\u30D0\u30C3\u30D7 \u30AB\u30A6\u30DC\u30FC\u30A4\u30D3\u30D0\u30C3\u30D7" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/b30174-RTbUXsQNPNwd.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/b30174-RTbUXsQNPNwd.jpg" + }, + "startDate": { + "year": 1998, + "month": 5, + "day": 1 + }, + "episodes": null, + "chapters": 10, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 4037, + "title": { + "romaji": "Cowboy Bebop: Yoseatsume Blues", + "english": null, + "native": "\u30AB\u30A6\u30DC\u30FC\u30A4\u30D3\u30D0\u30C3\u30D7 \u3088\u305B\u3042\u3064\u3081\u30D6\u30EB\u30FC\u30B9" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx4037-zpDbjycoZhNI.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx4037-zpDbjycoZhNI.png" + }, + "startDate": { + "year": 1998, + "month": 6, + "day": 26 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__069ec8d45798_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__069ec8d45798_add8ea99711b.json new file mode 100644 index 00000000..d61eab64 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__069ec8d45798_add8ea99711b.json @@ -0,0 +1,189 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 105778 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:07:11.68061+00:00", + "response": { + "data": { + "Media": { + "id": 105778, + "relations": { + "edges": [ + { + "relationType": "ADAPTATION", + "node": { + "id": 127230, + "title": { + "romaji": "Chainsaw Man", + "english": "Chainsaw Man", + "native": "\u30C1\u30A7\u30F3\u30BD\u30FC\u30DE\u30F3" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx127230-DdP4vAdssLoz.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx127230-DdP4vAdssLoz.png" + }, + "startDate": { + "year": 2022, + "month": 10, + "day": 12 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364126, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 10, + "repeat": 2, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 138829, + "title": { + "romaji": "Chainsaw Man: Buddy Stories", + "english": "Chainsaw Man: Buddy Stories", + "native": "\u30C1\u30A7\u30F3\u30BD\u30FC\u30DE\u30F3 \u30D0\u30C7\u30A3\u30FB\u30B9\u30C8\u30FC\u30EA\u30FC\u30BA" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx138829-NthKwJR53d9O.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx138829-NthKwJR53d9O.jpg" + }, + "startDate": { + "year": 2021, + "month": 11, + "day": 4 + }, + "episodes": null, + "chapters": 4, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 171627, + "title": { + "romaji": "Chainsaw Man: Reze-hen", + "english": "Chainsaw Man \u2013 The Movie: Reze Arc", + "native": "\u30C1\u30A7\u30F3\u30BD\u30FC\u30DE\u30F3 \u30EC\u30BC\u7BC7" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx171627-ZN9D7P46yHnw.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx171627-ZN9D7P46yHnw.png" + }, + "startDate": { + "year": 2025, + "month": 9, + "day": 19 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364127, + "status": "COMPLETED", + "progress": 1, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 198726, + "title": { + "romaji": "Chainsaw Biyori", + "english": "Chainsaw Days", + "native": "\u30C1\u30A7\u30F3\u30BD\u30FC \u3073\u3088\u308A" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx198726-ys3lfvQfwBTM.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx198726-ys3lfvQfwBTM.png" + }, + "startDate": { + "year": 2025, + "month": 9, + "day": 5 + }, + "episodes": 5, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 204429, + "title": { + "romaji": "Chainsaw Man: Shikaku-hen", + "english": null, + "native": "\u30C1\u30A7\u30F3\u30BD\u30FC\u30DE\u30F3 \u523A\u5BA2\u7BC7" + }, + "isAdult": false, + "format": null, + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx204429-9scYA2ab3Zz3.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx204429-9scYA2ab3Zz3.jpg" + }, + "startDate": { + "year": null, + "month": null, + "day": null + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593365704, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__12c0ad40ec40_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__12c0ad40ec40_add8ea99711b.json new file mode 100644 index 00000000..378a74dc --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__12c0ad40ec40_add8ea99711b.json @@ -0,0 +1,47 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 85476 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:07:32.3535927+00:00", + "response": { + "data": { + "Media": { + "id": 85476, + "relations": { + "edges": [ + { + "relationType": "SEQUEL", + "node": { + "id": 85199, + "title": { + "romaji": "Shingeki no Kyojin Gaiden: Kuinaki Sentaku", + "english": "Attack on Titan: No Regrets", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA \u5916\u4F1D \u6094\u3044\u306A\u304D\u9078\u629E" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx85199-IzuYa59zXTBN.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx85199-IzuYa59zXTBN.jpg" + }, + "startDate": { + "year": 2013, + "month": 9, + "day": 28 + }, + "episodes": null, + "chapters": 11, + "volumes": 2, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__1ae736c3e251_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__1ae736c3e251_add8ea99711b.json new file mode 100644 index 00000000..75c4d0ad --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__1ae736c3e251_add8ea99711b.json @@ -0,0 +1,18 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 141127 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:05:48.8371173+00:00", + "response": { + "data": { + "Media": { + "id": 141127, + "relations": { + "edges": [] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__1d6f814f4e76_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__1d6f814f4e76_add8ea99711b.json new file mode 100644 index 00000000..214a39d5 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__1d6f814f4e76_add8ea99711b.json @@ -0,0 +1,113 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 156067 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:01:19.7094928+00:00", + "response": { + "data": { + "Media": { + "id": 156067, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 99049, + "title": { + "romaji": "Tondemo Skill de Isekai Hourou Meshi", + "english": "Campfire Cooking in Another World with My Absurd Skill", + "native": "\u3068\u3093\u3067\u3082\u30B9\u30AD\u30EB\u3067\u7570\u4E16\u754C\u653E\u6D6A\u30E1\u30B7" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx99049-qzACezDyCucJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx99049-qzACezDyCucJ.jpg" + }, + "startDate": { + "year": 2016, + "month": 11, + "day": 25 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 98608, + "title": { + "romaji": "Tondemo Skill de Isekai Hourou Meshi", + "english": "Campfire Cooking in Another World with My Absurd Skill", + "native": "\u3068\u3093\u3067\u3082\u30B9\u30AD\u30EB\u3067\u7570\u4E16\u754C\u653E\u6D6A\u30E1\u30B7" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx98608-n6PySBSH67H0.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx98608-n6PySBSH67H0.jpg" + }, + "startDate": { + "year": 2017, + "month": 3, + "day": 24 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 170577, + "title": { + "romaji": "Tondemo Skill de Isekai Hourou Meshi 2", + "english": "Campfire Cooking in Another World with my Absurd Skill Season 2", + "native": "\u3068\u3093\u3067\u3082\u30B9\u30AD\u30EB\u3067\u7570\u4E16\u754C\u653E\u6D6A\u30E1\u30B72" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx170577-ocYSFAcry7ty.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx170577-ocYSFAcry7ty.jpg" + }, + "startDate": { + "year": 2025, + "month": 10, + "day": 8 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 541004445, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__2f47be2c4c57_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__2f47be2c4c57_add8ea99711b.json new file mode 100644 index 00000000..1cddd6e8 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__2f47be2c4c57_add8ea99711b.json @@ -0,0 +1,75 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 177709 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:00:38.2538784+00:00", + "response": { + "data": { + "Media": { + "id": 177709, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 125828, + "title": { + "romaji": "SAKAMOTO DAYS", + "english": "Sakamoto Days", + "native": "SAKAMOTO DAYS" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx125828-p78Z8SflkfmO.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx125828-p78Z8SflkfmO.jpg" + }, + "startDate": { + "year": 2020, + "month": 11, + "day": 21 + }, + "episodes": null, + "chapters": 284, + "volumes": 31, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 184237, + "title": { + "romaji": "SAKAMOTO DAYS Part 2", + "english": "SAKAMOTO DAYS Part 2", + "native": "SAKAMOTO DAYS \u7B2C\uFF12\u30AF\u30FC\u30EB" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx184237-OJAksU2fsIPx.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx184237-OJAksU2fsIPx.jpg" + }, + "startDate": { + "year": 2025, + "month": 7, + "day": 15 + }, + "episodes": 11, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__3017e7cffcf3_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__3017e7cffcf3_add8ea99711b.json new file mode 100644 index 00000000..eb0ef431 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__3017e7cffcf3_add8ea99711b.json @@ -0,0 +1,85 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 209939 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T22:59:56.6122964+00:00", + "response": { + "data": { + "Media": { + "id": 209939, + "relations": { + "edges": [ + { + "relationType": "PREQUEL", + "node": { + "id": 182255, + "title": { + "romaji": "Sousou no Frieren 2nd Season", + "english": "Frieren: Beyond Journey\u2019s End Season 2", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \u7B2C2\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx182255-butzrqd4I0aC.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx182255-butzrqd4I0aC.jpg" + }, + "startDate": { + "year": 2026, + "month": 1, + "day": 16 + }, + "episodes": 10, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 540973986, + "status": "REPEATING", + "progress": 0, + "progressVolumes": null, + "score": 9, + "repeat": 2, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 118586, + "title": { + "romaji": "Sousou no Frieren", + "english": "Frieren: Beyond Journey\u2019s End", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx118586-CXKgWikBFQgS.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx118586-CXKgWikBFQgS.jpg" + }, + "startDate": { + "year": 2020, + "month": 4, + "day": 28 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__338636d7f32f_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__338636d7f32f_add8ea99711b.json new file mode 100644 index 00000000..5c9da471 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__338636d7f32f_add8ea99711b.json @@ -0,0 +1,131 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 21127 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:02:01.0088421+00:00", + "response": { + "data": { + "Media": { + "id": 21127, + "relations": { + "edges": [ + { + "relationType": "PREQUEL", + "node": { + "id": 21624, + "title": { + "romaji": "Steins;Gate: Kyoukaimenjou no Missing Link - Divide By Zero", + "english": "Steins;Gate 0: 23\u03B2 -Divide by Zero-", + "native": "\u30B7\u30E5\u30BF\u30A4\u30F3\u30BA\u30FB\u30B2\u30FC\u30C8 \u5883\u754C\u9762\u4E0A\u306E\u30DF\u30C3\u30B7\u30F3\u30B0\u30EA\u30F3\u30AF -Divide By Zero-" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx21624-szbmwyC3sJos.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx21624-szbmwyC3sJos.jpg" + }, + "startDate": { + "year": 2015, + "month": 12, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 104174, + "title": { + "romaji": "Steins;Gate 0: Kesshou Takei no Valentine - Bittersweet Day", + "english": "Steins;Gate 0: Valentine\u0027s of Crystal Polymorphism -Bittersweet Intermedio-", + "native": "\u30B7\u30E5\u30BF\u30A4\u30F3\u30BA\u30FB\u30B2\u30FC\u30C8 \u30BC\u30ED \u7D50\u6676\u591A\u5F62\u306E\u30D0\u30EC\u30F3\u30BF\u30A4\u30F3" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx104174-aoNLSSN6bT4L.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx104174-aoNLSSN6bT4L.png" + }, + "startDate": { + "year": 2018, + "month": 12, + "day": 21 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 102247, + "title": { + "romaji": "Steins;Gate 0", + "english": "Steins;Gate 0", + "native": "\u30B7\u30E5\u30BF\u30A4\u30F3\u30BA\u30FB\u30B2\u30FC\u30C8\u30FB\u30BC\u30ED" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx102247-CeoKtIauzYpB.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx102247-CeoKtIauzYpB.jpg" + }, + "startDate": { + "year": 2017, + "month": 8, + "day": 4 + }, + "episodes": null, + "chapters": 41, + "volumes": 6, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 91997, + "title": { + "romaji": "Steins;Gate: Hoshikuzu no Duplet", + "english": null, + "native": "STEINS;GATE \u661F\u5C51\u306E\u30C7\u30E5\u30D7\u30EC\u30C3\u30C8" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx91997-ceQx220bSx25.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx91997-ceQx220bSx25.png" + }, + "startDate": { + "year": 2011, + "month": 8, + "day": 26 + }, + "episodes": null, + "chapters": 7, + "volumes": 1, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__36a30794f61c_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__36a30794f61c_add8ea99711b.json new file mode 100644 index 00000000..107d64c5 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__36a30794f61c_add8ea99711b.json @@ -0,0 +1,57 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 103180 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:06:09.4501523+00:00", + "response": { + "data": { + "Media": { + "id": 103180, + "relations": { + "edges": [ + { + "relationType": "PARENT", + "node": { + "id": 85189, + "title": { + "romaji": "Mob Psycho 100", + "english": "Mob Psycho 100", + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx85189-06aXUBq5jwce.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx85189-06aXUBq5jwce.jpg" + }, + "startDate": { + "year": 2012, + "month": 4, + "day": 18 + }, + "episodes": null, + "chapters": 201, + "volumes": 16, + "mediaListEntry": { + "id": 611937645, + "status": "COMPLETED", + "progress": 201, + "progressVolumes": 16, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__45abc459d173_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__45abc459d173_add8ea99711b.json new file mode 100644 index 00000000..aee88866 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__45abc459d173_add8ea99711b.json @@ -0,0 +1,113 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 182896 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:03:03.1069725+00:00", + "response": { + "data": { + "Media": { + "id": 182896, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 85486, + "title": { + "romaji": "Boku no Hero Academia", + "english": "My Hero Academia", + "native": "\u50D5\u306E\u30D2\u30FC\u30ED\u30FC\u30A2\u30AB\u30C7\u30DF\u30A2" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx85486-INqnYx8gL3eX.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx85486-INqnYx8gL3eX.jpg" + }, + "startDate": { + "year": 2014, + "month": 7, + "day": 7 + }, + "episodes": null, + "chapters": 432, + "volumes": 42, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 163139, + "title": { + "romaji": "Boku no Hero Academia 7", + "english": "My Hero Academia Season 7", + "native": "\u50D5\u306E\u30D2\u30FC\u30ED\u30FC\u30A2\u30AB\u30C7\u30DF\u30A2 7" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx163139-JchZhUFlNTWU.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx163139-JchZhUFlNTWU.jpg" + }, + "startDate": { + "year": 2024, + "month": 5, + "day": 4 + }, + "episodes": 21, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364222, + "status": "COMPLETED", + "progress": 21, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 204356, + "title": { + "romaji": "Boku no Hero Academia No. 170\u002B1: More", + "english": "My Hero Academia More", + "native": "\u50D5\u306E\u30D2\u30FC\u30ED\u30FC\u30A2\u30AB\u30C7\u30DF\u30A2 No. 170\u002B1 \u300CMore\u300D" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx204356-RNYmxUVVz3Z2.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx204356-RNYmxUVVz3Z2.png" + }, + "startDate": { + "year": 2026, + "month": 5, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__506a5a9aaf0c_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__506a5a9aaf0c_add8ea99711b.json new file mode 100644 index 00000000..f560786b --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__506a5a9aaf0c_add8ea99711b.json @@ -0,0 +1,113 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 101165 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:04:46.8313711+00:00", + "response": { + "data": { + "Media": { + "id": 101165, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 87320, + "title": { + "romaji": "Goblin Slayer", + "english": "Goblin Slayer!", + "native": "\u30B4\u30D6\u30EA\u30F3\u30B9\u30EC\u30A4\u30E4\u30FC" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87320-Q7A3KfMPykcm.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87320-Q7A3KfMPykcm.jpg" + }, + "startDate": { + "year": 2016, + "month": 2, + "day": 15 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 108623, + "title": { + "romaji": "Goblin Slayer: GOBLIN\u0027S CROWN", + "english": "GOBLIN SLAYER -GOBLIN\u2019S CROWN-", + "native": "\u30B4\u30D6\u30EA\u30F3\u30B9\u30EC\u30A4\u30E4\u30FC -GOBLIN\u0027S CROWN-" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx108623-pREPeutedpc2.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx108623-pREPeutedpc2.jpg" + }, + "startDate": { + "year": 2020, + "month": 2, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 609538671, + "status": "COMPLETED", + "progress": 1, + "progressVolumes": null, + "score": 6, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 87321, + "title": { + "romaji": "Goblin Slayer", + "english": "Goblin Slayer", + "native": "\u30B4\u30D6\u30EA\u30F3\u30B9\u30EC\u30A4\u30E4\u30FC" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87321-ijdB0SNr1JSs.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87321-ijdB0SNr1JSs.jpg" + }, + "startDate": { + "year": 2016, + "month": 5, + "day": 25 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__5590ecf63147_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__5590ecf63147_add8ea99711b.json new file mode 100644 index 00000000..34e48564 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__5590ecf63147_add8ea99711b.json @@ -0,0 +1,309 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 11757 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:19:54.9358262+00:00", + "response": { + "data": { + "Media": { + "id": 11757, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 51479, + "title": { + "romaji": "Sword Art Online", + "english": "Sword Art Online", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx51479-ufMREP6e1UkT.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx51479-ufMREP6e1UkT.jpg" + }, + "startDate": { + "year": 2009, + "month": 4, + "day": 10 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 20021, + "title": { + "romaji": "Sword Art Online: Extra Edition", + "english": "Sword Art Online EXTRA EDITION", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 Extra Edition" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx20021-BZA5XTwahXPj.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx20021-BZA5XTwahXPj.png" + }, + "startDate": { + "year": 2013, + "month": 12, + "day": 31 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 20594, + "title": { + "romaji": "Sword Art Online II", + "english": "Sword Art Online II", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 II" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx20594-FhRgZ1H9Istt.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx20594-FhRgZ1H9Istt.jpg" + }, + "startDate": { + "year": 2014, + "month": 7, + "day": 5 + }, + "episodes": 24, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 611937531, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 124140, + "title": { + "romaji": "Sword Art Online: Progressive - Hoshinaki Yoru no Aria", + "english": "Sword Art Online the Movie -Progressive- Aria of a Starless Night", + "native": "\u5287\u5834\u7248 \u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 \u30D7\u30ED\u30B0\u30EC\u30C3\u30B7\u30D6 \u661F\u306A\u304D\u591C\u306E\u30A2\u30EA\u30A2" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx124140-HNL0CpH6ig6y.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx124140-HNL0CpH6ig6y.png" + }, + "startDate": { + "year": 2021, + "month": 10, + "day": 30 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 16099, + "title": { + "romaji": "Sword Art Offline", + "english": "Sword Art OFFline", + "native": "\u305D\u30FC\u3069\u3042\u30FC\u3068\u30FB\u304A\u3075\u3089\u3044\u3093" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/16099.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/16099.jpg" + }, + "startDate": { + "year": 2012, + "month": 10, + "day": 24 + }, + "episodes": 9, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 53718, + "title": { + "romaji": "Sword Art Online: Aincrad", + "english": "Sword Art Online: Aincrad", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 \u30A2\u30A4\u30F3\u30AF\u30E9\u30C3\u30C9" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx53718-vP0MCWbNEfwW.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx53718-vP0MCWbNEfwW.jpg" + }, + "startDate": { + "year": 2010, + "month": 8, + "day": 10 + }, + "episodes": null, + "chapters": 12, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 74733, + "title": { + "romaji": "Sword Art Online: Fairy Dance", + "english": "Sword Art Online: Fairy Dance", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 \u30D5\u30A7\u30A2\u30EA\u30A3\u30FB\u30C0\u30F3\u30B9" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx74733-tt46k1Jp3kC4.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx74733-tt46k1Jp3kC4.jpg" + }, + "startDate": { + "year": 2012, + "month": 4, + "day": 10 + }, + "episodes": null, + "chapters": 14, + "volumes": 3, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 141165, + "title": { + "romaji": "Sword Art Online: Re:Aincrad", + "english": "Sword Art Online Re:Aincrad", + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 Re:Aincrad" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx141165-XizR7xI0zIrX.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx141165-XizR7xI0zIrX.png" + }, + "startDate": { + "year": 2021, + "month": 10, + "day": 27 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 157058, + "title": { + "romaji": "Sword Art Online: FULLDIVE - Opening Eizou", + "english": null, + "native": "\u30BD\u30FC\u30C9\u30A2\u30FC\u30C8\u30FB\u30AA\u30F3\u30E9\u30A4\u30F3 -\u30D5\u30EB\u30C0\u30A4\u30D6- \u30AA\u30FC\u30D7\u30CB\u30F3\u30B0\u6620\u50CF" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b157058-JCWy3wQ7tg27.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b157058-JCWy3wQ7tg27.png" + }, + "startDate": { + "year": 2022, + "month": 11, + "day": 6 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 208754, + "title": { + "romaji": "Unanswered//butterfly: Sword Art Online", + "english": null, + "native": "Unanswered//butterfly: Sword Art Online" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx208754-333Nyh5abrqS.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx208754-333Nyh5abrqS.png" + }, + "startDate": { + "year": 2026, + "month": 7, + "day": 10 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__56d8f8c86f51_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__56d8f8c86f51_add8ea99711b.json new file mode 100644 index 00000000..1e597bd6 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__56d8f8c86f51_add8ea99711b.json @@ -0,0 +1,283 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 85189 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:07:53.0178418+00:00", + "response": { + "data": { + "Media": { + "id": 85189, + "relations": { + "edges": [ + { + "relationType": "ADAPTATION", + "node": { + "id": 21507, + "title": { + "romaji": "Mob Psycho 100", + "english": "Mob Psycho 100", + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx21507-6YUSbh2m0N1p.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx21507-6YUSbh2m0N1p.jpg" + }, + "startDate": { + "year": 2016, + "month": 7, + "day": 12 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364016, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 100353, + "title": { + "romaji": "Mob Psycho 100 REIGEN: Shirarezaru Kiseki Reinouryokusha", + "english": "Mob Psycho 100 REIGEN The Miraculous Unknown Psychic", + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100 REIGEN \uFF5E\u77E5\u3089\u308C\u3056\u308B\u5947\u8DE1\u306E\u970A\u80FD\u529B\u8005\uFF5E" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx100353-6dM62JCho2Yg.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx100353-6dM62JCho2Yg.png" + }, + "startDate": { + "year": 2018, + "month": 3, + "day": 18 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 101338, + "title": { + "romaji": "Mob Psycho 100 II", + "english": "Mob Psycho 100 II", + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100 II" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx101338-rokVscjRYzdP.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx101338-rokVscjRYzdP.jpg" + }, + "startDate": { + "year": 2019, + "month": 1, + "day": 7 + }, + "episodes": 13, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364017, + "status": "COMPLETED", + "progress": 13, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 103180, + "title": { + "romaji": "REIGEN: Reikyuuchi MAX 131 no Otoko", + "english": "Mob Psycho 100: Reigen", + "native": "REIGEN \uFF5E\u970A\u7D1A\u5024MAX131\u306E\u7537\uFF5E" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx103180-aTMoIJks2To5.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx103180-aTMoIJks2To5.jpg" + }, + "startDate": { + "year": 2018, + "month": 3, + "day": 19 + }, + "episodes": null, + "chapters": 7, + "volumes": 1, + "mediaListEntry": { + "id": 611937673, + "status": "PLANNING", + "progress": 0, + "progressVolumes": 0, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 107357, + "title": { + "romaji": "Mob Psycho Koushiki Anthology", + "english": null, + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3\u516C\u5F0F\u30A2\u30F3\u30BD\u30ED\u30B8\u30FC" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/n107357-By5FqGzDLqvZ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/n107357-By5FqGzDLqvZ.jpg" + }, + "startDate": { + "year": 2016, + "month": 3, + "day": 6 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 140439, + "title": { + "romaji": "Mob Psycho 100 III", + "english": "Mob Psycho 100 III", + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100 \u2162" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx140439-bPKmhe1wNxc9.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx140439-bPKmhe1wNxc9.jpg" + }, + "startDate": { + "year": 2022, + "month": 10, + "day": 6 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364020, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 137777, + "title": { + "romaji": "Sekai Oni\u00D7Mob Psycho 100", + "english": null, + "native": "\u4E16\u754C\u9B3C\u00D7\u30E2\u30D6\u30B5\u30A4\u30B3100" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/b137777-wtBc2D8MWaci.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/b137777-wtBc2D8MWaci.jpg" + }, + "startDate": { + "year": 2014, + "month": 5, + "day": 16 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 155509, + "title": { + "romaji": "Mob Psycho 100\u00D7Hito Kui", + "english": null, + "native": "\u30E2\u30D6\u30B5\u30A4\u30B3100\u00D7\u30D2\u30C8\u55B0\u30A4" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx155509-JRy4EnYfAeDb.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx155509-JRy4EnYfAeDb.png" + }, + "startDate": { + "year": 2014, + "month": 5, + "day": 16 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__6538157ab064_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6538157ab064_add8ea99711b.json new file mode 100644 index 00000000..714fbf29 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6538157ab064_add8ea99711b.json @@ -0,0 +1,217 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 154587 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T22:59:03.7323825+00:00", + "response": { + "data": { + "Media": { + "id": 154587, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 118586, + "title": { + "romaji": "Sousou no Frieren", + "english": "Frieren: Beyond Journey\u2019s End", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx118586-CXKgWikBFQgS.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx118586-CXKgWikBFQgS.jpg" + }, + "startDate": { + "year": 2020, + "month": 4, + "day": 28 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 169811, + "title": { + "romaji": "Yuusha", + "english": "The Brave", + "native": "\u52C7\u8005" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx169811-tsuH0SJVJy40.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx169811-tsuH0SJVJy40.jpg" + }, + "startDate": { + "year": 2023, + "month": 9, + "day": 29 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 170068, + "title": { + "romaji": "Sousou no Frieren: \u25CF\u25CF no Mahou", + "english": null, + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \uFF5E\u25CF\u25CF\u306E\u9B54\u6CD5\uFF5E" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx170068-ijY3tCP8KoWP.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx170068-ijY3tCP8KoWP.jpg" + }, + "startDate": { + "year": 2023, + "month": 10, + "day": 11 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 611936709, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 7, + "repeat": 4, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "OTHER", + "node": { + "id": 175691, + "title": { + "romaji": "Haru", + "english": "Sunny", + "native": "\u6674\u308B" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx175691-lTfPc3P63Uyx.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx175691-lTfPc3P63Uyx.png" + }, + "startDate": { + "year": 2024, + "month": 3, + "day": 5 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 182255, + "title": { + "romaji": "Sousou no Frieren 2nd Season", + "english": "Frieren: Beyond Journey\u2019s End Season 2", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \u7B2C2\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx182255-butzrqd4I0aC.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx182255-butzrqd4I0aC.jpg" + }, + "startDate": { + "year": 2026, + "month": 1, + "day": 16 + }, + "episodes": 10, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 540973986, + "status": "REPEATING", + "progress": 0, + "progressVolumes": null, + "score": 9, + "repeat": 2, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 189513, + "title": { + "romaji": "Sousou no Frieren: \u25CF\u25CF no Mahou Part 2", + "english": null, + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \uFF5E\u25CF\u25CF\u306E\u9B54\u6CD5\uFF5E 2\u30AF\u30FC\u30EB" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx189513-1R9Sryve0K53.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx189513-1R9Sryve0K53.png" + }, + "startDate": { + "year": 2025, + "month": 4, + "day": 2 + }, + "episodes": 6, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 611936804, + "status": "COMPLETED", + "progress": 6, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__66a4c685bbdf_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__66a4c685bbdf_add8ea99711b.json new file mode 100644 index 00000000..cd435d9b --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__66a4c685bbdf_add8ea99711b.json @@ -0,0 +1,85 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 170577 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:02:42.3869998+00:00", + "response": { + "data": { + "Media": { + "id": 170577, + "relations": { + "edges": [ + { + "relationType": "PREQUEL", + "node": { + "id": 156067, + "title": { + "romaji": "Tondemo Skill de Isekai Hourou Meshi", + "english": "Campfire Cooking in Another World with my Absurd Skill", + "native": "\u3068\u3093\u3067\u3082\u30B9\u30AD\u30EB\u3067\u7570\u4E16\u754C\u653E\u6D6A\u30E1\u30B7" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx156067-Jovklss4VWIx.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx156067-Jovklss4VWIx.jpg" + }, + "startDate": { + "year": 2023, + "month": 1, + "day": 10 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 541004332, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 99049, + "title": { + "romaji": "Tondemo Skill de Isekai Hourou Meshi", + "english": "Campfire Cooking in Another World with My Absurd Skill", + "native": "\u3068\u3093\u3067\u3082\u30B9\u30AD\u30EB\u3067\u7570\u4E16\u754C\u653E\u6D6A\u30E1\u30B7" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx99049-qzACezDyCucJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx99049-qzACezDyCucJ.jpg" + }, + "startDate": { + "year": 2016, + "month": 11, + "day": 25 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__6be225cc2a3b_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6be225cc2a3b_add8ea99711b.json new file mode 100644 index 00000000..efe57af7 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6be225cc2a3b_add8ea99711b.json @@ -0,0 +1,113 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 178467 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:05:07.4910429+00:00", + "response": { + "data": { + "Media": { + "id": 178467, + "relations": { + "edges": [ + { + "relationType": "ALTERNATIVE", + "node": { + "id": 87225, + "title": { + "romaji": "Tsuki ga Michibiku Isekai Douchuu", + "english": "Tsukimichi: Moonlit Fantasy", + "native": "\u6708\u304C\u5C0E\u304F\u7570\u4E16\u754C\u9053\u4E2D" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87225-EYFJq2QMzHkk.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87225-EYFJq2QMzHkk.jpg" + }, + "startDate": { + "year": 2015, + "month": 6, + "day": 10 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 139518, + "title": { + "romaji": "Tsuki ga Michibiku Isekai Douchuu 2nd Season", + "english": "TSUKIMICHI -Moonlit Fantasy- Season 2", + "native": "\u6708\u304C\u5C0E\u304F\u7570\u4E16\u754C\u9053\u4E2D \u7B2C\u4E8C\u5E55" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx139518-GZWYKM8Kg1S2.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx139518-GZWYKM8Kg1S2.png" + }, + "startDate": { + "year": 2024, + "month": 1, + "day": 8 + }, + "episodes": 25, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364366, + "status": "COMPLETED", + "progress": 25, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 87224, + "title": { + "romaji": "Tsuki ga Michibiku Isekai Douchuu", + "english": "Tsukimichi: Moonlit Fantasy", + "native": "\u6708\u304C\u5C0E\u304F\u7570\u4E16\u754C\u9053\u4E2D" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87224-cXzygUtaRK8s.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87224-cXzygUtaRK8s.jpg" + }, + "startDate": { + "year": 2013, + "month": 5, + "day": 28 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__6d503fea4d3f_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6d503fea4d3f_add8ea99711b.json new file mode 100644 index 00000000..969811fb --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__6d503fea4d3f_add8ea99711b.json @@ -0,0 +1,123 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 178788 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:20:47.7510587+00:00", + "response": { + "data": { + "Media": { + "id": 178788, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 87216, + "title": { + "romaji": "Kimetsu no Yaiba", + "english": "Demon Slayer: Kimetsu no Yaiba", + "native": "\u9B3C\u6EC5\u306E\u5203" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87216-c9bSNVD10UuD.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87216-c9bSNVD10UuD.png" + }, + "startDate": { + "year": 2016, + "month": 2, + "day": 15 + }, + "episodes": null, + "chapters": 207, + "volumes": 23, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 166240, + "title": { + "romaji": "Kimetsu no Yaiba: Hashira Geiko-hen", + "english": "Demon Slayer: Kimetsu no Yaiba Hashira Training Arc", + "native": "\u9B3C\u6EC5\u306E\u5203 \u67F1\u7A3D\u53E4\u7DE8" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx166240-PBV7zukIHW7V.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx166240-PBV7zukIHW7V.png" + }, + "startDate": { + "year": 2024, + "month": 5, + "day": 12 + }, + "episodes": 8, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364115, + "status": "COMPLETED", + "progress": 8, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 195200, + "title": { + "romaji": "Kimetsu no Yaiba: Mugenjou-hen Movie 2", + "english": "Demon Slayer: Kimetsu no Yaiba Infinity Castle Part 2", + "native": "\u5287\u5834\u7248\u300C\u9B3C\u6EC5\u306E\u5203\u300D\u7121\u9650\u57CE\u7DE8 \u7B2C\u4E8C\u7AE0" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx195200-wJaLJ4mDDKGc.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx195200-wJaLJ4mDDKGc.png" + }, + "startDate": { + "year": null, + "month": null, + "day": null + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 611937738, + "status": "COMPLETED", + "progress": 1, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__893f8aef3bda_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__893f8aef3bda_add8ea99711b.json new file mode 100644 index 00000000..13186b7e --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__893f8aef3bda_add8ea99711b.json @@ -0,0 +1,161 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 182255 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T22:58:13.182432+00:00", + "response": { + "data": { + "Media": { + "id": 182255, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 118586, + "title": { + "romaji": "Sousou no Frieren", + "english": "Frieren: Beyond Journey\u2019s End", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx118586-CXKgWikBFQgS.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx118586-CXKgWikBFQgS.jpg" + }, + "startDate": { + "year": 2020, + "month": 4, + "day": 28 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 154587, + "title": { + "romaji": "Sousou no Frieren", + "english": "Frieren: Beyond Journey\u2019s End", + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx154587-qQTzQnEJJ3oB.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx154587-qQTzQnEJJ3oB.jpg" + }, + "startDate": { + "year": 2023, + "month": 9, + "day": 29 + }, + "episodes": 28, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 540974122, + "status": "COMPLETED", + "progress": 28, + "progressVolumes": null, + "score": 10, + "repeat": 9, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 206425, + "title": { + "romaji": "Sousou no Frieren: \u25CF\u25CF no Mahou Part 3", + "english": null, + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \uFF5E\u25CF\u25CF\u306E\u9B54\u6CD5\uFF5E 3\u30AF\u30FC\u30EB" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b206425-WOwXsfDbHZwb.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b206425-WOwXsfDbHZwb.jpg" + }, + "startDate": { + "year": 2026, + "month": 1, + "day": 19 + }, + "episodes": 6, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 611937224, + "status": "COMPLETED", + "progress": 6, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 209939, + "title": { + "romaji": "Sousou no Frieren 3rd Season", + "english": null, + "native": "\u846C\u9001\u306E\u30D5\u30EA\u30FC\u30EC\u30F3 \u7B2C3\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx209939-g2Njkml1rheG.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx209939-g2Njkml1rheG.jpg" + }, + "startDate": { + "year": 2027, + "month": 10, + "day": null + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 548900753, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__8f14b9e19628_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__8f14b9e19628_add8ea99711b.json new file mode 100644 index 00000000..0df359cb --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__8f14b9e19628_add8ea99711b.json @@ -0,0 +1,169 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 161645 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:05:28.1287631+00:00", + "response": { + "data": { + "Media": { + "id": 161645, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 99026, + "title": { + "romaji": "Kusuriya no Hitorigoto", + "english": "The Apothecary Diaries", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx99026-5Eg650WAd9Rj.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx99026-5Eg650WAd9Rj.jpg" + }, + "startDate": { + "year": 2014, + "month": 8, + "day": 29 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 99022, + "title": { + "romaji": "Kusuriya no Hitorigoto", + "english": "The Apothecary Diaries", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx99022-Hh2WdyNgR8HM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx99022-Hh2WdyNgR8HM.jpg" + }, + "startDate": { + "year": 2017, + "month": 5, + "day": 25 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 113322, + "title": { + "romaji": "Kusuriya no Hitorigoto: Maomao no Koukyuu Nazotoki Techou", + "english": "The Apothecary Diaries: Maomao\u0027s Notes from the Inner Palace", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068 \u732B\u732B\u306E\u5F8C\u5BAE\u8B0E\u89E3\u304D\u624B\u5E33" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx113322-gwV3eakaVqZQ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx113322-gwV3eakaVqZQ.png" + }, + "startDate": { + "year": 2017, + "month": 8, + "day": 19 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 170508, + "title": { + "romaji": "Maomao no Hitorigoto", + "english": null, + "native": "\u732B\u732B\u306E\u3072\u3068\u308A\u3054\u3068" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx170508-72GLTka7NHeF.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx170508-72GLTka7NHeF.jpg" + }, + "startDate": { + "year": 2023, + "month": 10, + "day": 23 + }, + "episodes": 24, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 176301, + "title": { + "romaji": "Kusuriya no Hitorigoto 2nd Season", + "english": "The Apothecary Diaries Season 2", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068 \u7B2C2\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx176301-TIGmldLffQGX.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx176301-TIGmldLffQGX.jpg" + }, + "startDate": { + "year": 2025, + "month": 1, + "day": 10 + }, + "episodes": 24, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593363981, + "status": "COMPLETED", + "progress": 24, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__8ffa37e167b0_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__8ffa37e167b0_add8ea99711b.json new file mode 100644 index 00000000..340f7135 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__8ffa37e167b0_add8ea99711b.json @@ -0,0 +1,103 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 180367 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:00:17.4576255+00:00", + "response": { + "data": { + "Media": { + "id": 180367, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 128896, + "title": { + "romaji": "Witch Watch", + "english": "WITCH WATCH", + "native": "\u30A6\u30A3\u30C3\u30C1\u30A6\u30A9\u30C3\u30C1" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx128896-VJfCBLFkm4Lb.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx128896-VJfCBLFkm4Lb.jpg" + }, + "startDate": { + "year": 2021, + "month": 2, + "day": 8 + }, + "episodes": null, + "chapters": 270, + "volumes": 30, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 9863, + "title": { + "romaji": "SKET DANCE", + "english": "SKET Dance", + "native": "SKET DANCE" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx9863-G6dAvTVsfLRO.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx9863-G6dAvTVsfLRO.png" + }, + "startDate": { + "year": 2011, + "month": 4, + "day": 7 + }, + "episodes": 77, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 199793, + "title": { + "romaji": "Witch Watch 2nd Season", + "english": null, + "native": "\u30A6\u30A3\u30C3\u30C1\u30A6\u30A9\u30C3\u30C1(\u7B2C2\u671F)" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx199793-iud36DyT5X1K.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx199793-iud36DyT5X1K.png" + }, + "startDate": { + "year": 2027, + "month": null, + "day": null + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__9103bc7681cd_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__9103bc7681cd_add8ea99711b.json new file mode 100644 index 00000000..21286a37 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__9103bc7681cd_add8ea99711b.json @@ -0,0 +1,1859 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 21 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T22:57:19.8440979+00:00", + "response": { + "data": { + "Media": { + "id": 21, + "relations": { + "edges": [ + { + "relationType": "SIDE_STORY", + "node": { + "id": 466, + "title": { + "romaji": "ONE PIECE: Taose! Kaizoku Ganzack", + "english": "One Piece: Defeat the Pirate Ganzack!", + "native": "ONE PIECE \u5012\u305B!\u6D77\u8CCA\u30AE\u30E3\u30F3\u30B6\u30C3\u30AF" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx466-bVP54I7dCB2F.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx466-bVP54I7dCB2F.jpg" + }, + "startDate": { + "year": 1998, + "month": 7, + "day": 26 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 1094, + "title": { + "romaji": "ONE PIECE TV Special: Umi no Heso no Daibouken-hen", + "english": "One Piece: Umi no Heso no Daibouken-hen", + "native": "ONE PIECE TV\u30B9\u30DA\u30B7\u30E3\u30EB \u6D77\u306E\u30D8\u30BD\u306E\u5927\u5192\u967A\u7BC7" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx1094-H3YFJ1TR0ZZi.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx1094-H3YFJ1TR0ZZi.jpg" + }, + "startDate": { + "year": 2000, + "month": 12, + "day": 20 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 1237, + "title": { + "romaji": "ONE PIECE: Oounabara ni Hirake! Dekkai Dekkai Chichi no Yume!", + "english": "One Piece Special: Open Upon the Great Sea! A Father\u0027s Huge, HUGE Dream!", + "native": "ONE PIECE: \u5927\u6D77\u539F\u306B\u3072\u3089\u3051! \u3067\u3063\u304B\u3044\u3067\u3063\u30AB\u30A4\u7236\u306E\u5922" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/1237.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/1237.jpg" + }, + "startDate": { + "year": 2003, + "month": 4, + "day": 6 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 1238, + "title": { + "romaji": "ONE PIECE: Mamore! Saigo no Oobutai", + "english": "One Piece Special: Protect! The Last Great Performance", + "native": "ONE PIECE \u5B88\u308C! \u6700\u5F8C\u306E\u5927\u821E\u53F0" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx1238-Rf2wqBrCwgvO.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx1238-Rf2wqBrCwgvO.jpg" + }, + "startDate": { + "year": 2003, + "month": 12, + "day": 14 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 2020, + "title": { + "romaji": "ONE PIECE: Nenmatsu Tokubetsu Kikaku! Mugiwara no Luffy Oyabun Torimonochou", + "english": "One Piece Special: The Detective Memoirs of Chief Straw Hat Luffy", + "native": "ONE PIECE \u5E74\u672B\u7279\u5225\u4F01\u753B\uFF01\u9EA6\u308F\u3089\u306E\u30EB\u30D5\u30A3\u89AA\u5206\u6355\u7269\u5E16" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/2020.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/2020.jpg" + }, + "startDate": { + "year": 2005, + "month": 12, + "day": 18 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 2386, + "title": { + "romaji": "ONE PIECE: Yume no Soccer Ou!", + "english": null, + "native": "ONE PIECE \u5922\u306E\u30B5\u30C3\u30AB\u30FC\u738B!" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/2386-NQQkq1taHJ08.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/2386-NQQkq1taHJ08.jpg" + }, + "startDate": { + "year": 2002, + "month": 3, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 2490, + "title": { + "romaji": "ONE PIECE: Mezase! Kaizoku Yakyuu Ou", + "english": null, + "native": "ONE PIECE \u3081\u3056\u305B! \u6D77\u8CCA\u91CE\u7403\u738B" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/2490-AL4WmnCJ5zvE.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/2490-AL4WmnCJ5zvE.jpg" + }, + "startDate": { + "year": 2004, + "month": 3, + "day": 6 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 12001, + "title": { + "romaji": "ONE PIECE 3D: Gekisou! Trap Coaster", + "english": null, + "native": "ONE PIECE 3D \u6FC0\u8D70! \u30C8\u30E9\u30C3\u30D7\u30B3\u30FC\u30B9\u30BF\u30FC" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx12001-XX0NNNfaKZ3e.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx12001-XX0NNNfaKZ3e.jpg" + }, + "startDate": { + "year": 2011, + "month": 12, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 16239, + "title": { + "romaji": "ONE PIECE: Episode of Luffy - Hand Island no Bouken", + "english": "One Piece: Episode of Luffy - Hand Island Adventure", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30EB\u30D5\u30A3 \u301C\u30CF\u30F3\u30C9\u30A2\u30A4\u30E9\u30F3\u30C9\u306E\u5192\u967A\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b16239-XzoVjd7JK8xJ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b16239-XzoVjd7JK8xJ.png" + }, + "startDate": { + "year": 2012, + "month": 12, + "day": 15 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 16468, + "title": { + "romaji": "ONE PIECE FILM: Z - GLORIOUS ISLAND", + "english": null, + "native": "ONE PIECE FILM Z\u300EGLORIOUS ISLAND\u300F" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b16468-pMKFwfY8lYZX.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b16468-pMKFwfY8lYZX.png" + }, + "startDate": { + "year": 2012, + "month": 12, + "day": 23 + }, + "episodes": 2, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 15323, + "title": { + "romaji": "ONE PIECE: Episode of Nami - Koukaishi no Namida to Nakama no Kizuna", + "english": null, + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30CA\u30DF \u301C\u822A\u6D77\u58EB\u306E\u6D99\u3068\u4EF2\u9593\u306E\u7D46\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/15323.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/15323.jpg" + }, + "startDate": { + "year": 2012, + "month": 8, + "day": 25 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 19123, + "title": { + "romaji": "ONE PIECE: Episode of Merry - Mou Hitori no Nakama no Monogatari", + "english": "One Piece: Episode of Merry - The Tale of One More Friend", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30E1\u30EA\u30FC \u301C\u3082\u3046\u3072\u3068\u308A\u306E\u4EF2\u9593\u306E\u7269\u8A9E\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx19123-leET1CrSJknT.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx19123-leET1CrSJknT.jpg" + }, + "startDate": { + "year": 2013, + "month": 8, + "day": 24 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 20835, + "title": { + "romaji": "ONE PIECE \u00223D2Y\u0022: Ace no shi wo Koete! Luffy Nakama to no Chikai", + "english": "One Piece 3D2Y: Overcome Ace\u2019s Death! Luffy\u2019s Vow to his Friends", + "native": "ONE PIECE \u201C3D2Y\u201D \u30A8\u30FC\u30B9\u306E\u6B7B\u3092\u8D8A\u3048\u3066! \u30EB\u30D5\u30A3\u4EF2\u9593\u3068\u306E\u8A93\u3044" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx20835-QVV6LpJlqe1A.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx20835-QVV6LpJlqe1A.jpg" + }, + "startDate": { + "year": 2014, + "month": 8, + "day": 30 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 21230, + "title": { + "romaji": "ONE PIECE: Episode of Sabo - 3-Kyoudai no Kizuna Kiseki no Saikai to Uketsugareru Ishi", + "english": "One Piece - Episode of Sabo: Bond of Three Brothers - A Miraculous Reunion and an Inherited Will", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30B5\u30DC ~3\u5144\u5F1F\u306E\u7D46 \u5947\u8DE1\u306E\u518D\u4F1A\u3068\u53D7\u3051\u7D99\u304C\u308C\u308B\u610F\u5FD7~" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx21230-rfoUZud1Jn0L.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx21230-rfoUZud1Jn0L.png" + }, + "startDate": { + "year": 2015, + "month": 8, + "day": 22 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 21485, + "title": { + "romaji": "ONE PIECE: Adventure of Nebulandia", + "english": "One Piece: Adventure of Nebulandia", + "native": "ONE PIECE \u301C\u30A2\u30C9\u30D9\u30F3\u30C1\u30E3\u30FC \u30AA\u30D6 \u30CD\u30D6\u30E9\u30F3\u30C7\u30A3\u30A2\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/21485-KR1sv4rYSe6V.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/21485-KR1sv4rYSe6V.jpg" + }, + "startDate": { + "year": 2015, + "month": 12, + "day": 19 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 21831, + "title": { + "romaji": "ONE PIECE: Heart of Gold", + "english": "One Piece: Heart of Gold", + "native": "ONE PIECE \u301C\u30CF\u30FC\u30C8\u30AA\u30D6\u30B4\u30FC\u30EB\u30C9\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx21831-qj5IKYiPOupF.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx21831-qj5IKYiPOupF.jpg" + }, + "startDate": { + "year": 2016, + "month": 7, + "day": 16 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 99302, + "title": { + "romaji": "ONE PIECE: Episode of East Blue - Luffy to 4-nin no Nakama no Daibouken", + "english": "One Piece: Episode of East Blue", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u6771\u306E\u6D77\u301C\u30EB\u30D5\u30A3\u30684\u4EBA\u306E\u4EF2\u9593\u306E\u5927\u5192\u967A!!\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx99302-b40WIhc5dylo.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx99302-b40WIhc5dylo.jpg" + }, + "startDate": { + "year": 2017, + "month": 8, + "day": 26 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 459, + "title": { + "romaji": "ONE PIECE (Movie)", + "english": "ONE PIECE: The Movie", + "native": "ONE PIECE (Movie)" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx459-Ivw65mUXackh.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx459-Ivw65mUXackh.png" + }, + "startDate": { + "year": 2000, + "month": 3, + "day": 4 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 460, + "title": { + "romaji": "ONE PIECE: Nejimaki-jima no Bouken", + "english": "One Piece: Clockwork Island Adventure", + "native": "ONE PIECE \u306D\u3058\u307E\u304D\u5CF6\u306E\u5192\u967A" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx460-p9HObfGUhWn0.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx460-p9HObfGUhWn0.jpg" + }, + "startDate": { + "year": 2001, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 461, + "title": { + "romaji": "ONE PIECE: Chinjuu-jima no Chopper Oukoku", + "english": "One Piece: Chopper\u2019s Kingdom on the Island of Strange Animals", + "native": "ONE PIECE \u73CD\u7363\u5CF6\u306E\u30C1\u30E7\u30C3\u30D1\u30FC\u738B\u56FD" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx461-DC9fMDl3AaK1.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx461-DC9fMDl3AaK1.jpg" + }, + "startDate": { + "year": 2002, + "month": 3, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 462, + "title": { + "romaji": "ONE PIECE THE MOVIE: Dead End no Bouken", + "english": "One Piece The Movie: The Dead End Adventure", + "native": "ONE PIECE THE MOVIE \u30C7\u30C3\u30C9\u30A8\u30F3\u30C9\u306E\u5192\u967A" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx462-Ig8zfdsFWcql.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx462-Ig8zfdsFWcql.png" + }, + "startDate": { + "year": 2003, + "month": 3, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 463, + "title": { + "romaji": "ONE PIECE: Norowareta Seiken", + "english": "One Piece: The Curse of the Sacred Sword", + "native": "ONE PIECE \u546A\u308F\u308C\u305F\u8056\u5263" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx463-QDnETPoHp9oD.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx463-QDnETPoHp9oD.jpg" + }, + "startDate": { + "year": 2004, + "month": 3, + "day": 6 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 464, + "title": { + "romaji": "ONE PIECE THE MOVIE: Omatsuri Danshaku to Himitsu no Shima", + "english": "One Piece: Baron Omatsuri and the Secret Island", + "native": "ONE PIECE THE MOVIE \u30AA\u30DE\u30C4\u30EA\u7537\u7235\u3068\u79D8\u5BC6\u306E\u5CF6" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx464-g4wcZPjbhY5j.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx464-g4wcZPjbhY5j.png" + }, + "startDate": { + "year": 2005, + "month": 3, + "day": 5 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 465, + "title": { + "romaji": "ONE PIECE THE MOVIE: Karakuri-jou no Mecha Kyohei", + "english": "One Piece: Mega Mecha Soldier of Karakuri Castle", + "native": "ONE PIECE THE MOVIE \u30AB\u30E9\u30AF\u30EA\u57CE\u306E\u30E1\u30AB\u5DE8\u5175" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx465-qSRr0MKYhS0I.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx465-qSRr0MKYhS0I.jpg" + }, + "startDate": { + "year": 2006, + "month": 3, + "day": 4 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 2107, + "title": { + "romaji": "ONE PIECE: Episode of Alabasta - Sabaku no Oujo to Kaizoku-tachi", + "english": "One Piece: The Desert Princess and the Pirates, Adventures in Alabasta", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30A2\u30E9\u30D0\u30B9\u30BF \u7802\u6F20\u306E\u738B\u5973\u3068\u6D77\u8CCA\u305F\u3061" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx2107-H8bRuRRbhCIJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx2107-H8bRuRRbhCIJ.jpg" + }, + "startDate": { + "year": 2007, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 3848, + "title": { + "romaji": "ONE PIECE THE MOVIE: Episode of Chopper Plus - Fuyu ni Saku, Kiseki no Sakura", + "english": "One Piece: Episode Of Chopper \u002B: The Miracle Winter Cherry Blossom", + "native": "ONE PIECE THE MOVIE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30C1\u30E7\u30C3\u30D1\u30FC\u002B \u51AC\u306B\u54B2\u304F\u3001\u5947\u8DE1\u306E\u685C" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx3848-SCnYGTn34Llt.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx3848-SCnYGTn34Llt.jpg" + }, + "startDate": { + "year": 2008, + "month": 3, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 4155, + "title": { + "romaji": "ONE PIECE FILM: STRONG WORLD", + "english": "One Piece Film: Strong World", + "native": "ONE PIECE FILM STRONG WORLD" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx4155-P5TDf6t6qFwX.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx4155-P5TDf6t6qFwX.png" + }, + "startDate": { + "year": 2009, + "month": 12, + "day": 12 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 9999, + "title": { + "romaji": "ONE PIECE 3D: Mugiwara Chase", + "english": "One Piece 3D: Mugiwara Chase", + "native": "ONE PIECE 3D \u9EA6\u308F\u3089\u30C1\u30A7\u30A4\u30B9" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx9999-2icUDMDtpH2L.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx9999-2icUDMDtpH2L.jpg" + }, + "startDate": { + "year": 2011, + "month": 3, + "day": 19 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 12859, + "title": { + "romaji": "ONE PIECE FILM: Z", + "english": "One Piece Film: Z", + "native": "ONE PIECE FILM Z" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx12859-uQFENDPzMWz6.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx12859-uQFENDPzMWz6.jpg" + }, + "startDate": { + "year": 2012, + "month": 12, + "day": 15 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 21335, + "title": { + "romaji": "ONE PIECE FILM: GOLD", + "english": "One Piece Film: Gold", + "native": "ONE PIECE FILM GOLD" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx21335-XsXdE0AeOkkZ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx21335-XsXdE0AeOkkZ.jpg" + }, + "startDate": { + "year": 2016, + "month": 7, + "day": 23 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 96427, + "title": { + "romaji": "ONE PIECE: Loguetown-hen", + "english": null, + "native": "ONE PIECE \u30ED\u30FC\u30B0\u30BF\u30A6\u30F3\u7DE8" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx96427-XiDc44cTlf29.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx96427-XiDc44cTlf29.png" + }, + "startDate": { + "year": 2000, + "month": 7, + "day": 17 + }, + "episodes": null, + "chapters": null, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 30013, + "title": { + "romaji": "ONE PIECE", + "english": "One Piece", + "native": "ONE PIECE" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx30013-BeslEMqiPhlk.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx30013-BeslEMqiPhlk.jpg" + }, + "startDate": { + "year": 1997, + "month": 7, + "day": 22 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593351205, + "status": "CURRENT", + "progress": 1100, + "progressVolumes": 105, + "score": 9, + "repeat": 1, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 101918, + "title": { + "romaji": "ONE PIECE: Episode of Sorajima", + "english": "One Piece: Episode of Skypiea", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u7A7A\u5CF6" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx101918-3uyCYHw1syki.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx101918-3uyCYHw1syki.png" + }, + "startDate": { + "year": 2018, + "month": 8, + "day": 25 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 8740, + "title": { + "romaji": "ONE PIECE FILM: STRONG WORLD - EPISODE:0", + "english": null, + "native": "ONE PIECE FILM STRONG WORLD EPISODE:0" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b8740-oZajT3brPn7b.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b8740-oZajT3brPn7b.jpg" + }, + "startDate": { + "year": 2010, + "month": 4, + "day": 16 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 105143, + "title": { + "romaji": "ONE PIECE STAMPEDE", + "english": "One Piece: Stampede", + "native": "ONE PIECE STAMPEDE" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx105143-5uBDmhvMr6At.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx105143-5uBDmhvMr6At.png" + }, + "startDate": { + "year": 2019, + "month": 8, + "day": 9 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 102639, + "title": { + "romaji": "Nissan SERENA \u00D7 One Piece: Sennyuu Sauzando Sanii-gou", + "english": null, + "native": "\u65E5\u7523SERENA\u00D7\u30EF\u30F3\u30D4\u30FC\u30B9 \u6F5C\u5165\u30B5\u30A6\u30B6\u30F3\u30C9\u30FB\u30B5\u30CB\u30FC\u53F7" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx102639-AjxqMLkusd2Y.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx102639-AjxqMLkusd2Y.jpg" + }, + "startDate": { + "year": 2011, + "month": 3, + "day": 5 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 106492, + "title": { + "romaji": "Kyutai Panic Adventure!", + "english": null, + "native": "\u7403\u4F53\u30D1\u30CB\u30C3\u30AF\u30A2\u30C9\u30D9\u30F3\u30C1\u30E3\u30FC!" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b106492-ciLSI5nTJsV7.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b106492-ciLSI5nTJsV7.png" + }, + "startDate": { + "year": 2003, + "month": null, + "day": null + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 106572, + "title": { + "romaji": "ONE PIECE: Episode of Alabasta - Sabaku no Oujo to Kaizoku-tachi", + "english": null, + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30A2\u30E9\u30D0\u30B9\u30BF \u7802\u6F20\u306E\u738B\u5973\u3068\u6D77\u8CCA\u305F\u3061" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/n106572-k1gqIsDcqGaV.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/n106572-k1gqIsDcqGaV.jpg" + }, + "startDate": { + "year": 2011, + "month": 8, + "day": 20 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 107110, + "title": { + "romaji": "ONE PIECE: Cry heart", + "english": null, + "native": "\u30EF\u30F3\u30D4\u30FC\u30B9 Cry heart" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/n107110-pF0sMxDe3aLi.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/n107110-pF0sMxDe3aLi.png" + }, + "startDate": { + "year": 2014, + "month": 1, + "day": 19 + }, + "episodes": 3, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 107256, + "title": { + "romaji": "Kyutai Panic Adventure Returns!!!", + "english": null, + "native": "\u7403\u4F53\u30D1\u30CB\u30C3\u30AF\u30A2\u30C9\u30D9\u30F3\u30C1\u30E3\u30FC\u30EA\u30BF\u30FC\u30F3\u30BA!!!" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b107256-Pvgk6VnCmMZq.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b107256-Pvgk6VnCmMZq.png" + }, + "startDate": { + "year": 2004, + "month": null, + "day": null + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 2385, + "title": { + "romaji": "ONE PIECE: Nejimaki-jima no Bouken - Jango no Dance Carnival", + "english": "One Piece: Django\u0027s Dance Carnival", + "native": "ONE PIECE \u306D\u3058\u307E\u304D\u5CF6\u306E\u5192\u967A \u30B8\u30E3\u30F3\u30B4\u306E\u30C0\u30F3\u30B9\u30AB\u30FC\u30CB\u30D0\u30EB" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx2385-06iBj9aNIadt.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx2385-06iBj9aNIadt.jpg" + }, + "startDate": { + "year": 2001, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 101099, + "title": { + "romaji": "HUNGRY DAYS: Aoharu ka yo.", + "english": null, + "native": "HUNGRY DAYS\u3000\u30A2\u30AA\u30CF\u30EB\u304B\u3088\u3002" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b101099-3AoCbJWTj2cV.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b101099-3AoCbJWTj2cV.jpg" + }, + "startDate": { + "year": 2017, + "month": 6, + "day": 7 + }, + "episodes": 11, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 21880, + "title": { + "romaji": "ONE PIECE FILM: GOLD - episode 0 711ver.", + "english": null, + "native": "ONE PIECE FILM GOLD \u301Cepisode 0\u301C 711ver." + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx21880-uxsZ880LXSdY.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx21880-uxsZ880LXSdY.jpg" + }, + "startDate": { + "year": 2016, + "month": 7, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 5252, + "title": { + "romaji": "ONE PIECE: ROMANCE DAWN STORY", + "english": "One Piece: Romance Dawn Story", + "native": "ONE PIECE \u30ED\u30DE\u30F3\u30B9 \u30C9\u30FC\u30F3 \u30B9\u30C8\u30FC\u30EA\u30FC" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/5252.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/5252.jpg" + }, + "startDate": { + "year": 2008, + "month": 11, + "day": 24 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 30793, + "title": { + "romaji": "WANTED! Oda Eiichiro Tanpenshuu", + "english": "Wanted! Eiichiro Oda Before One Piece", + "native": "WANTED\uFF01 \u5C3E\u7530\u6804\u4E00\u90CE\u77ED\u7DE8\u96C6" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx30793-Zca4SIWG5j8e.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx30793-Zca4SIWG5j8e.png" + }, + "startDate": { + "year": 1998, + "month": 11, + "day": 4 + }, + "episodes": null, + "chapters": 5, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 113308, + "title": { + "romaji": "Kinen Satsuei", + "english": null, + "native": "\u8A18\u5FF5\u64AE\u5F71" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx113308-u6wWW3d01DSt.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx113308-u6wWW3d01DSt.jpg" + }, + "startDate": { + "year": 2019, + "month": 11, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 114761, + "title": { + "romaji": "A-RA-SHI : Reborn", + "english": null, + "native": "A-RA-SHI : Reborn" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b114761-C2xOMuA44zKY.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b114761-C2xOMuA44zKY.png" + }, + "startDate": { + "year": 2020, + "month": 1, + "day": 4 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 10033, + "title": { + "romaji": "Toriko", + "english": null, + "native": "\u30C8\u30EA\u30B3" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx10033-V7xnlgAVtaVR.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx10033-V7xnlgAVtaVR.jpg" + }, + "startDate": { + "year": 2011, + "month": 4, + "day": 3 + }, + "episodes": 147, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 813, + "title": { + "romaji": "Dragon Ball Z", + "english": "Dragon Ball Z", + "native": "\u30C9\u30E9\u30B4\u30F3\u30DC\u30FC\u30EBZ" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx813-ZhnFNOeCU5dQ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx813-ZhnFNOeCU5dQ.png" + }, + "startDate": { + "year": 1989, + "month": 4, + "day": 26 + }, + "episodes": 291, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 126649, + "title": { + "romaji": "Tokyo One Piece Tower: Tongari Shima no Dai Hihou", + "english": "The Great Tongari Island Treasure Hunting Adventure", + "native": "\u6771\u4EAC\u30EF\u30F3\u30D4\u30FC\u30B9\u30BF\u30EF\u30FC \u30C8\u30F3\u30AC\u30EA\u5CF6\u306E\u5927\u79D8\u5B9D" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b126649-sbuKTAghtsln.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b126649-sbuKTAghtsln.jpg" + }, + "startDate": { + "year": 2016, + "month": 11, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 134184, + "title": { + "romaji": "Romance Dawn", + "english": "Romance Dawn", + "native": "\u30ED\u30DE\u30F3\u30B9\u30C9\u30FC\u30F3" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx134184-25CEkbRJEzXB.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx134184-25CEkbRJEzXB.png" + }, + "startDate": { + "year": 1996, + "month": 9, + "day": 23 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 141902, + "title": { + "romaji": "ONE PIECE FILM: RED", + "english": "One Piece Film: Red", + "native": "ONE PIECE FILM RED" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx141902-fTyoTk8F8qOl.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx141902-fTyoTk8F8qOl.jpg" + }, + "startDate": { + "year": 2022, + "month": 8, + "day": 6 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 143293, + "title": { + "romaji": "One Piece: Annecy Festival 60th Anniversary", + "english": "One Piece: Annecy Festival 60th Anniversary", + "native": "One Piece: Annecy Festival 60th Anniversary" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx143293-1ngwckHDsK95.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx143293-1ngwckHDsK95.jpg" + }, + "startDate": { + "year": 2021, + "month": 6, + "day": 16 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 167404, + "title": { + "romaji": "MONSTERS: Ippaku Sanjou Hiryuu Jigoku", + "english": "MONSTERS: 103 Mercies Dragon Damnation", + "native": "MONSTERS \u4E00\u767E\u4E09\u60C5\u98DB\u9F8D\u4F8D\u6975" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx167404-QMZJVARntkbv.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx167404-QMZJVARntkbv.jpg" + }, + "startDate": { + "year": 2024, + "month": 1, + "day": 21 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 171630, + "title": { + "romaji": "THE ONE PIECE", + "english": "THE ONE PIECE", + "native": "THE ONE PIECE" + }, + "isAdult": false, + "format": null, + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx171630-2U7Y5OIWwXJJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx171630-2U7Y5OIWwXJJ.jpg" + }, + "startDate": { + "year": 2027, + "month": 2, + "day": null + }, + "episodes": 7, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593365692, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "OTHER", + "node": { + "id": 177475, + "title": { + "romaji": "ONE PIECE\u00D7KAWAISOUNI! Kono Boushi wo Omae ni Azukeru", + "english": null, + "native": "ONE PIECE\u00D7\u53EF\u54C0\u60F3\u306B\uFF01\uFF5E\u3053\u306E\u5E3D\u5B50\u3092 \u304A\u524D\u306B\u9810\u3051\u308B\uFF5E" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx177475-8HlvUgopoH0S.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx177475-8HlvUgopoH0S.png" + }, + "startDate": { + "year": 2024, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 182469, + "title": { + "romaji": "ONE PIECE FAN LETTER", + "english": "ONE PIECE FAN LETTER", + "native": "ONE PIECE FAN LETTER" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx182469-JQ808NBPxmgn.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx182469-JQ808NBPxmgn.jpg" + }, + "startDate": { + "year": 2024, + "month": 10, + "day": 20 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SUMMARY", + "node": { + "id": 183423, + "title": { + "romaji": "ONE PIECE: Gyojin Tou-hen", + "english": "One Piece Log: Fish-Man Island Saga", + "native": "SPECIAL EDITED VERSION\u300EONE PIECE\u300F\u9B5A\u4EBA\u5CF6\u7DE8" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx183423-6Iiu194UDxD0.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx183423-6Iiu194UDxD0.jpg" + }, + "startDate": { + "year": 2024, + "month": 11, + "day": 3 + }, + "episodes": 21, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 187225, + "title": { + "romaji": "LOS ANGELES LAKERS x ONE PIECE", + "english": null, + "native": "LOS ANGELES LAKERS x ONE PIECE" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx187225-H0ppAOkOYMxM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx187225-H0ppAOkOYMxM.jpg" + }, + "startDate": { + "year": 2025, + "month": 2, + "day": 28 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 188668, + "title": { + "romaji": "Koisuru ONE PIECE", + "english": null, + "native": "\u604B\u3059\u308B\u30EF\u30F3\u30D4\u30FC\u30B9" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx188668-rOB7rkgOz89w.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx188668-rOB7rkgOz89w.jpg" + }, + "startDate": { + "year": 2025, + "month": 4, + "day": 1 + }, + "episodes": 5, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 197178, + "title": { + "romaji": "ONE PIECE HEROINES", + "english": "ONE PIECE HEROINES", + "native": "ONE PIECE HEROINES" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx197178-Ui8PY9HQbNgu.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx197178-Ui8PY9HQbNgu.jpg" + }, + "startDate": { + "year": 2026, + "month": 7, + "day": 5 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 187380, + "title": { + "romaji": "ONE PIECE: Original Episode/Luffy, Law", + "english": null, + "native": "ONE PIECE \u30AA\u30EA\u30B8\u30CA\u30EB\u30A8\u30D4\u30BD\u30FC\u30C9\uFF0F\u30EB\u30D5\u30A3\u3001\u30ED\u30FC" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx187380-RZmxpJyB3A6Y.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx187380-RZmxpJyB3A6Y.jpg" + }, + "startDate": { + "year": 2025, + "month": 1, + "day": 19 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 204432, + "title": { + "romaji": "CHOPPER\u0027s", + "english": null, + "native": "CHOPPER\u0027s" + }, + "isAdult": false, + "format": "TV_SHORT", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx204432-h8U4bVnSU6bM.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx204432-h8U4bVnSU6bM.png" + }, + "startDate": { + "year": 2026, + "month": 1, + "day": 5 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 215855, + "title": { + "romaji": "ONE PIECE FILM: GOD VALLEY", + "english": null, + "native": "ONE PIECE FILM GOD VALLEY" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b215855-z86bqRqVcr13.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b215855-z86bqRqVcr13.png" + }, + "startDate": { + "year": 2027, + "month": null, + "day": null + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 215856, + "title": { + "romaji": "ONE PIECE FILM: BAAD", + "english": null, + "native": "ONE PIECE FILM BAAD" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/b215856-0V3mzYbhODqZ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/b215856-0V3mzYbhODqZ.png" + }, + "startDate": { + "year": 2029, + "month": null, + "day": null + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__92be80036a2e_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__92be80036a2e_add8ea99711b.json new file mode 100644 index 00000000..ded89b1c --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__92be80036a2e_add8ea99711b.json @@ -0,0 +1,1355 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 30013 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:06:50.9420277+00:00", + "response": { + "data": { + "Media": { + "id": 30013, + "relations": { + "edges": [ + { + "relationType": "ADAPTATION", + "node": { + "id": 15323, + "title": { + "romaji": "ONE PIECE: Episode of Nami - Koukaishi no Namida to Nakama no Kizuna", + "english": null, + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30CA\u30DF \u301C\u822A\u6D77\u58EB\u306E\u6D99\u3068\u4EF2\u9593\u306E\u7D46\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/15323.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/15323.jpg" + }, + "startDate": { + "year": 2012, + "month": 8, + "day": 25 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 2107, + "title": { + "romaji": "ONE PIECE: Episode of Alabasta - Sabaku no Oujo to Kaizoku-tachi", + "english": "One Piece: The Desert Princess and the Pirates, Adventures in Alabasta", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30A2\u30E9\u30D0\u30B9\u30BF \u7802\u6F20\u306E\u738B\u5973\u3068\u6D77\u8CCA\u305F\u3061" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx2107-H8bRuRRbhCIJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx2107-H8bRuRRbhCIJ.jpg" + }, + "startDate": { + "year": 2007, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 19123, + "title": { + "romaji": "ONE PIECE: Episode of Merry - Mou Hitori no Nakama no Monogatari", + "english": "One Piece: Episode of Merry - The Tale of One More Friend", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30E1\u30EA\u30FC \u301C\u3082\u3046\u3072\u3068\u308A\u306E\u4EF2\u9593\u306E\u7269\u8A9E\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx19123-leET1CrSJknT.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx19123-leET1CrSJknT.jpg" + }, + "startDate": { + "year": 2013, + "month": 8, + "day": 24 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 21, + "title": { + "romaji": "ONE PIECE", + "english": "ONE PIECE", + "native": "ONE PIECE" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx21-ELSYx3yMPcKM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx21-ELSYx3yMPcKM.jpg" + }, + "startDate": { + "year": 1999, + "month": 10, + "day": 20 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593351146, + "status": "CURRENT", + "progress": 1163, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 35114, + "title": { + "romaji": "Romance Dawn", + "english": null, + "native": "\u30ED\u30DE\u30F3\u30B9\u30C9\u30FC\u30F3" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx35114-FIOTu1pOTIuC.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx35114-FIOTu1pOTIuC.png" + }, + "startDate": { + "year": 1996, + "month": 8, + "day": 4 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 101918, + "title": { + "romaji": "ONE PIECE: Episode of Sorajima", + "english": "One Piece: Episode of Skypiea", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u7A7A\u5CF6" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx101918-3uyCYHw1syki.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx101918-3uyCYHw1syki.png" + }, + "startDate": { + "year": 2018, + "month": 8, + "day": 25 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 102533, + "title": { + "romaji": "One Piece Party", + "english": null, + "native": "\u30EF\u30F3\u30D4\u30FC\u30B9 \u30D1\u30FC\u30C6\u30A3\u30FC" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx102533-YLT9eI1BH2a1.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx102533-YLT9eI1BH2a1.jpg" + }, + "startDate": { + "year": 2014, + "month": 12, + "day": 5 + }, + "episodes": null, + "chapters": 34, + "volumes": 7, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 103252, + "title": { + "romaji": "Shokugeki no Sanji", + "english": "One Piece: Shokugeki no Sanji", + "native": "\u98DF\u621F\u306E\u30B5\u30F3\u30B8" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx103252-58RbwHibqsJY.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx103252-58RbwHibqsJY.jpg" + }, + "startDate": { + "year": 2018, + "month": 7, + "day": 23 + }, + "episodes": null, + "chapters": 6, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 3848, + "title": { + "romaji": "ONE PIECE THE MOVIE: Episode of Chopper Plus - Fuyu ni Saku, Kiseki no Sakura", + "english": "One Piece: Episode Of Chopper \u002B: The Miracle Winter Cherry Blossom", + "native": "ONE PIECE THE MOVIE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30C1\u30E7\u30C3\u30D1\u30FC\u002B \u51AC\u306B\u54B2\u304F\u3001\u5947\u8DE1\u306E\u685C" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx3848-SCnYGTn34Llt.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx3848-SCnYGTn34Llt.jpg" + }, + "startDate": { + "year": 2008, + "month": 3, + "day": 1 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 96427, + "title": { + "romaji": "ONE PIECE: Loguetown-hen", + "english": null, + "native": "ONE PIECE \u30ED\u30FC\u30B0\u30BF\u30A6\u30F3\u7DE8" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx96427-XiDc44cTlf29.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx96427-XiDc44cTlf29.png" + }, + "startDate": { + "year": 2000, + "month": 7, + "day": 17 + }, + "episodes": null, + "chapters": null, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 44414, + "title": { + "romaji": "ONE PIECE Log Book Omake", + "english": null, + "native": null + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx44414-5q51CV5hp2Yh.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx44414-5q51CV5hp2Yh.jpg" + }, + "startDate": { + "year": 2005, + "month": 4, + "day": 1 + }, + "episodes": null, + "chapters": 14, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 41926, + "title": { + "romaji": "Jump Super Stars", + "english": null, + "native": "\u30B8\u30E3\u30F3\u30D7\u30B9\u30FC\u30D1\u30FC\u30B9\u30BF\u30FC\u30BA" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx41926-mygJvKgWqyvr.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx41926-mygJvKgWqyvr.jpg" + }, + "startDate": { + "year": 2005, + "month": 6, + "day": 30 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 47152, + "title": { + "romaji": "ONE PIECE: STRONG WORLD", + "english": null, + "native": "ONE PIECE STRONG WORLD" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/n47152-v3AqgrZH9BsU.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/n47152-v3AqgrZH9BsU.jpg" + }, + "startDate": { + "year": 2009, + "month": 11, + "day": 30 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 105234, + "title": { + "romaji": "ONE PIECE: Taose! Kaizoku Ganzack", + "english": null, + "native": "ONE PIECE \u5012\u305B!\u6D77\u8CCA\u30AE\u30E3\u30F3\u30B6\u30C3\u30AF" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/n105234-JtcI0SF33JYj.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/n105234-JtcI0SF33JYj.jpg" + }, + "startDate": { + "year": 1999, + "month": 6, + "day": 3 + }, + "episodes": null, + "chapters": null, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 82353, + "title": { + "romaji": "Chopperman", + "english": "Chopperman", + "native": "\u30C1\u30E7\u30C3\u30D1\u30FC\u30DE\u30F3" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/52353.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/52353.jpg" + }, + "startDate": { + "year": 2012, + "month": 2, + "day": 5 + }, + "episodes": null, + "chapters": 25, + "volumes": 5, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 53251, + "title": { + "romaji": "Chopperman: Yuke Yuke! Minna no Chopper-sensei", + "english": null, + "native": "\u30C1\u30E7\u30C3\u30D1\u30FC\u30DE\u30F3 \u3086\u3051\u3086\u3051!\u307F\u3093\u306A\u306E\u30C1\u30E7\u30C3\u30D1\u30FC\u5148\u751F" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/23251.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/23251.jpg" + }, + "startDate": { + "year": 2010, + "month": 12, + "day": 1 + }, + "episodes": null, + "chapters": 4, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 30881, + "title": { + "romaji": "CROSS EPOCH", + "english": "Cross Epoch", + "native": "CROSS EPOCH" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx30881-Zsx7tzEFxjta.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx30881-Zsx7tzEFxjta.jpg" + }, + "startDate": { + "year": 2006, + "month": 12, + "day": 25 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 99302, + "title": { + "romaji": "ONE PIECE: Episode of East Blue - Luffy to 4-nin no Nakama no Daibouken", + "english": "One Piece: Episode of East Blue", + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u6771\u306E\u6D77\u301C\u30EB\u30D5\u30A3\u30684\u4EBA\u306E\u4EF2\u9593\u306E\u5927\u5192\u967A!!\u301C" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx99302-b40WIhc5dylo.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx99302-b40WIhc5dylo.jpg" + }, + "startDate": { + "year": 2017, + "month": 8, + "day": 26 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 30793, + "title": { + "romaji": "WANTED! Oda Eiichiro Tanpenshuu", + "english": "Wanted! Eiichiro Oda Before One Piece", + "native": "WANTED\uFF01 \u5C3E\u7530\u6804\u4E00\u90CE\u77ED\u7DE8\u96C6" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx30793-Zca4SIWG5j8e.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx30793-Zca4SIWG5j8e.png" + }, + "startDate": { + "year": 1998, + "month": 11, + "day": 4 + }, + "episodes": null, + "chapters": 5, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 106572, + "title": { + "romaji": "ONE PIECE: Episode of Alabasta - Sabaku no Oujo to Kaizoku-tachi", + "english": null, + "native": "ONE PIECE \u30A8\u30D4\u30BD\u30FC\u30C9\u30AA\u30D6\u30A2\u30E9\u30D0\u30B9\u30BF \u7802\u6F20\u306E\u738B\u5973\u3068\u6D77\u8CCA\u305F\u3061" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/n106572-k1gqIsDcqGaV.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/n106572-k1gqIsDcqGaV.jpg" + }, + "startDate": { + "year": 2011, + "month": 8, + "day": 20 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 55146, + "title": { + "romaji": "ONE PIECE x Toriko", + "english": "One Piece x Toriko: Taste of the Devil Fruit", + "native": "ONE PIECE x \u30C8\u30EA\u30B3" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/25146.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/25146.jpg" + }, + "startDate": { + "year": 2011, + "month": 4, + "day": 4 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110232, + "title": { + "romaji": "ONE PIECE: Koby ni no Kobiyama Urifutatsu Nagi no Oohihou", + "english": "ONE PIECE: Kobiyama, Coby\u2019s Look-Alike \u2014 The Great Treasure of Identical Doubles", + "native": "ONE PIECE \u30B3\u30D3\u30FC\u4F3C\u306E\u5C0F\u65E5\u5C71\u30A6\u30EA\u3075\u305F\u3064\u306A\u304E\u306E\u5927\u79D8\u5B9D" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110232-Ez6jnlZ7Pp9w.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110232-Ez6jnlZ7Pp9w.jpg" + }, + "startDate": { + "year": 2018, + "month": 6, + "day": 18 + }, + "episodes": null, + "chapters": 47, + "volumes": 3, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110233, + "title": { + "romaji": "Koisuru ONE PIECE", + "english": "ONE PIECE in Love", + "native": "\u604B\u3059\u308B\u30EF\u30F3\u30D4\u30FC\u30B9" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110233-7Z79ZksUA043.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110233-7Z79ZksUA043.jpg" + }, + "startDate": { + "year": 2018, + "month": 6, + "day": 18 + }, + "episodes": null, + "chapters": 180, + "volumes": 13, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110258, + "title": { + "romaji": "CHIN PIECE", + "english": null, + "native": "CHIN PIECE" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110258-w41GRxfZ1EvY.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110258-w41GRxfZ1EvY.jpg" + }, + "startDate": { + "year": 2018, + "month": 6, + "day": 1 + }, + "episodes": null, + "chapters": 15, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110259, + "title": { + "romaji": "CHIN PIECE", + "english": null, + "native": "CHIN PIECE" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/b110259-JPnbZnsNN3ZI.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/b110259-JPnbZnsNN3ZI.jpg" + }, + "startDate": { + "year": 2017, + "month": 9, + "day": 16 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 104664, + "title": { + "romaji": "ONE PIECE novel A", + "english": "One Piece: Ace\u0027s Story", + "native": "ONE PIECE novel A" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx104664-SzR4e85Xjrk9.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx104664-SzR4e85Xjrk9.jpg" + }, + "startDate": { + "year": 2018, + "month": 4, + "day": 4 + }, + "episodes": null, + "chapters": 11, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110409, + "title": { + "romaji": "Fischer\u0027s x ONE PIECE: 7-tsunagi no Daihihou", + "english": null, + "native": "Fischer\u2019s\u00D7ONE PIECE 7\u3064\u306A\u304E\u306E\u5927\u79D8\u5B9D" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110409-eOKIUyDomby6.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110409-eOKIUyDomby6.jpg" + }, + "startDate": { + "year": 2018, + "month": 8, + "day": 3 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 110715, + "title": { + "romaji": "ONE PIECE Gakuen!!", + "english": "ONE PIECE ACADEMY", + "native": "ONE PIECE\u5B66\u5712!!" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110715-IqObMH5zGdOM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110715-IqObMH5zGdOM.jpg" + }, + "startDate": { + "year": 2019, + "month": 8, + "day": 2 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 113686, + "title": { + "romaji": "ONE PIECE novel HEROINES", + "english": "One Piece: Heroines", + "native": "ONE PIECE novel HEROINES" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx113686-DyVNjetsbnQh.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx113686-DyVNjetsbnQh.jpg" + }, + "startDate": { + "year": 2019, + "month": 12, + "day": 13 + }, + "episodes": null, + "chapters": 10, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 117802, + "title": { + "romaji": "ONE PIECE episode A", + "english": "One Piece: Ace\u2019s Story\u2014The Manga", + "native": "ONE PIECE episode A" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx117802-CsCjUyuG4lSB.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx117802-CsCjUyuG4lSB.jpg" + }, + "startDate": { + "year": 2020, + "month": 9, + "day": 16 + }, + "episodes": null, + "chapters": 6, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 119425, + "title": { + "romaji": "ONE PIECE novel LAW", + "english": "One Piece: Law\u2019s Story", + "native": "ONE PIECE novel LAW" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx119425-meONVY52FtVp.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx119425-meONVY52FtVp.png" + }, + "startDate": { + "year": 2020, + "month": 4, + "day": 3 + }, + "episodes": null, + "chapters": 5, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 125826, + "title": { + "romaji": "Monsters", + "english": "Monsters", + "native": "\u30E2\u30F3\u30B9\u30BF\u30FC\u30BA" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx125826-4gX5jL7LtaFi.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx125826-4gX5jL7LtaFi.png" + }, + "startDate": { + "year": 1994, + "month": 10, + "day": 30 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 128291, + "title": { + "romaji": "ONE PIECE novel Mugiwara Stories", + "english": null, + "native": "ONE PIECE novel \u9EA6\u308F\u3089\u30B9\u30C8\u30FC\u30EA\u30FC\u30BA" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx128291-O2AEatR4HU2d.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx128291-O2AEatR4HU2d.png" + }, + "startDate": { + "year": 2017, + "month": 7, + "day": 7 + }, + "episodes": null, + "chapters": 9, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 128292, + "title": { + "romaji": "Gekijouban ONE PIECE: STAMPEDE", + "english": null, + "native": "\u5287\u5834\u7248 ONE PIECE STAMPEDE" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx128292-q4XFNK3q4dXx.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx128292-q4XFNK3q4dXx.jpg" + }, + "startDate": { + "year": 2019, + "month": 8, + "day": 9 + }, + "episodes": null, + "chapters": 8, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 134184, + "title": { + "romaji": "Romance Dawn", + "english": "Romance Dawn", + "native": "\u30ED\u30DE\u30F3\u30B9\u30C9\u30FC\u30F3" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx134184-25CEkbRJEzXB.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx134184-25CEkbRJEzXB.png" + }, + "startDate": { + "year": 1996, + "month": 9, + "day": 23 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 138283, + "title": { + "romaji": "ONE PIECE: Vivi no Bouken", + "english": "One Piece: Naoshi Komi Covers Vivi\u0027s Adventure", + "native": "ONE PIECE \u30D3\u30D3\u306E\u5192\u967A" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx138283-VF4CLmoFCITJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx138283-VF4CLmoFCITJ.jpg" + }, + "startDate": { + "year": 2021, + "month": 8, + "day": 30 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 110450, + "title": { + "romaji": "ONE PIECE: Roronoa Zoro, Umi ni Chiru", + "english": "One Piece: Boichi Covers Zolo vs. Mihawk", + "native": "ONE PIECE \u30ED\u30ED\u30CE\u30A2\u30FB\u30BE\u30ED, \u6D77\u306B\u6563\u308B" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx110450-qZbXzWBHysTk.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx110450-qZbXzWBHysTk.jpg" + }, + "startDate": { + "year": 2019, + "month": 7, + "day": 22 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 146516, + "title": { + "romaji": "Nami vs Kalifa", + "english": null, + "native": "\u30CA\u30DF vs \u30AB\u30EA\u30D5\u30A1" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx146516-TkrUTWqxqWci.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx146516-TkrUTWqxqWci.jpg" + }, + "startDate": { + "year": 2022, + "month": 4, + "day": 5 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "CHARACTER", + "node": { + "id": 154266, + "title": { + "romaji": "One Piece 1000-wa Kinen! Tokubetsu Bangai-hen", + "english": null, + "native": "ONE PIECE 1000\u8A71\u8A18\u5FF5! \u7279\u5225\u756A\u5916\u7DE8" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx154266-V6HV8ReEygYZ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx154266-V6HV8ReEygYZ.png" + }, + "startDate": { + "year": 2021, + "month": 1, + "day": 4 + }, + "episodes": null, + "chapters": 19, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 466, + "title": { + "romaji": "ONE PIECE: Taose! Kaizoku Ganzack", + "english": "One Piece: Defeat the Pirate Ganzack!", + "native": "ONE PIECE \u5012\u305B!\u6D77\u8CCA\u30AE\u30E3\u30F3\u30B6\u30C3\u30AF" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx466-bVP54I7dCB2F.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx466-bVP54I7dCB2F.jpg" + }, + "startDate": { + "year": 1998, + "month": 7, + "day": 26 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 171630, + "title": { + "romaji": "THE ONE PIECE", + "english": "THE ONE PIECE", + "native": "THE ONE PIECE" + }, + "isAdult": false, + "format": null, + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx171630-2U7Y5OIWwXJJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx171630-2U7Y5OIWwXJJ.jpg" + }, + "startDate": { + "year": 2027, + "month": 2, + "day": null + }, + "episodes": 7, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593365692, + "status": "PLANNING", + "progress": 0, + "progressVolumes": null, + "score": 0, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 177475, + "title": { + "romaji": "ONE PIECE\u00D7KAWAISOUNI! Kono Boushi wo Omae ni Azukeru", + "english": null, + "native": "ONE PIECE\u00D7\u53EF\u54C0\u60F3\u306B\uFF01\uFF5E\u3053\u306E\u5E3D\u5B50\u3092 \u304A\u524D\u306B\u9810\u3051\u308B\uFF5E" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx177475-8HlvUgopoH0S.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx177475-8HlvUgopoH0S.png" + }, + "startDate": { + "year": 2024, + "month": 3, + "day": 3 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 183423, + "title": { + "romaji": "ONE PIECE: Gyojin Tou-hen", + "english": "One Piece Log: Fish-Man Island Saga", + "native": "SPECIAL EDITED VERSION\u300EONE PIECE\u300F\u9B5A\u4EBA\u5CF6\u7DE8" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx183423-6Iiu194UDxD0.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx183423-6Iiu194UDxD0.jpg" + }, + "startDate": { + "year": 2024, + "month": 11, + "day": 3 + }, + "episodes": 21, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PARENT", + "node": { + "id": 183727, + "title": { + "romaji": "Ore no Keikaku wa Zettai ni Kuruwanai!!", + "english": null, + "native": "\u304A\u308C\u306E\u8A08\u753B\u306F\u7D76\u5BFE\u306B\u72C2\u308F\u306A\u3044!!" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx183727-vEnORLXAeKrQ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx183727-vEnORLXAeKrQ.jpg" + }, + "startDate": { + "year": 2019, + "month": 8, + "day": 9 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 184804, + "title": { + "romaji": "Heya Sagashi", + "english": null, + "native": "\u90E8\u5C4B\u63A2\u3057" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx184804-WFzessiEJliJ.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx184804-WFzessiEJliJ.jpg" + }, + "startDate": { + "year": 2017, + "month": 12, + "day": 25 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 188120, + "title": { + "romaji": "ONE PIECE novel LAW: Kikoku no Toki", + "english": null, + "native": "ONE PIECE novel LAW \u9B3C\u54ED\u306E\u523B" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx188120-9LzPyE6jXOSc.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx188120-9LzPyE6jXOSc.png" + }, + "startDate": { + "year": 2024, + "month": 12, + "day": 24 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 216503, + "title": { + "romaji": "ONE PIECE novel ZORO", + "english": null, + "native": "ONE PIECE novel ZORO" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx216503-jvpjbmY5dv7b.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx216503-jvpjbmY5dv7b.jpg" + }, + "startDate": { + "year": 2024, + "month": 6, + "day": 4 + }, + "episodes": null, + "chapters": 3, + "volumes": 1, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__a369e242d8ec_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__a369e242d8ec_add8ea99711b.json new file mode 100644 index 00000000..f38d3acb --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__a369e242d8ec_add8ea99711b.json @@ -0,0 +1,85 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 189323 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:01:40.34788+00:00", + "response": { + "data": { + "Media": { + "id": 189323, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 122063, + "title": { + "romaji": "Shangri-La Frontier: Kusoge Hunter, Kami ge ni Idoman to su", + "english": "Shangri-La Frontier", + "native": "\u30B7\u30E3\u30F3\u30B0\u30EA\u30E9\u30FB\u30D5\u30ED\u30F3\u30C6\u30A3\u30A2\u301C\u30AF\u30BD\u30B2\u30FC\u30CF\u30F3\u30BF\u30FC, \u795E\u30B2\u30FC\u306B\u6311\u307E\u3093\u3068\u3059\u301C" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx122063-j2wIvwb6yzPM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx122063-j2wIvwb6yzPM.jpg" + }, + "startDate": { + "year": 2020, + "month": 7, + "day": 15 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 176508, + "title": { + "romaji": "Shangri-La Frontier 2nd Season", + "english": "Shangri-La Frontier Season 2", + "native": "\u30B7\u30E3\u30F3\u30B0\u30EA\u30E9\u30FB\u30D5\u30ED\u30F3\u30C6\u30A3\u30A2 2nd season" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx176508-eFad4szofm8d.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx176508-eFad4szofm8d.png" + }, + "startDate": { + "year": 2024, + "month": 10, + "day": 13 + }, + "episodes": 25, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593351114, + "status": "COMPLETED", + "progress": 25, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__a5fa68e4d6ce_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__a5fa68e4d6ce_add8ea99711b.json new file mode 100644 index 00000000..93c7eef9 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__a5fa68e4d6ce_add8ea99711b.json @@ -0,0 +1,113 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 97889 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:21:29.027498+00:00", + "response": { + "data": { + "Media": { + "id": 97889, + "relations": { + "edges": [ + { + "relationType": "PREQUEL", + "node": { + "id": 20996, + "title": { + "romaji": "Gintama\u00B0", + "english": "Gintama Season 3", + "native": "\u9280\u9B42\u309C" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx20996-kBEGEGdeK1r7.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx20996-kBEGEGdeK1r7.jpg" + }, + "startDate": { + "year": 2015, + "month": 4, + "day": 8 + }, + "episodes": 51, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364854, + "status": "COMPLETED", + "progress": 51, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 99714, + "title": { + "romaji": "Gintama.: Porori-hen", + "english": "Gintama.: Slip Arc", + "native": "\u9280\u9B42. \u30DD\u30ED\u30EA\u7DE8" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx99714-0pCKHe4XYIz7.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx99714-0pCKHe4XYIz7.jpg" + }, + "startDate": { + "year": 2017, + "month": 10, + "day": 2 + }, + "episodes": 13, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 30044, + "title": { + "romaji": "Gintama", + "english": "Gin Tama", + "native": "\u9280\u9B42" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx30044-vPmoz3vTPvZs.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx30044-vPmoz3vTPvZs.jpg" + }, + "startDate": { + "year": 2003, + "month": 12, + "day": 8 + }, + "episodes": null, + "chapters": 709, + "volumes": 77, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__ab8e8a2677d5_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__ab8e8a2677d5_add8ea99711b.json new file mode 100644 index 00000000..b524f79c --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__ab8e8a2677d5_add8ea99711b.json @@ -0,0 +1,687 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 53390 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:06:30.1727617+00:00", + "response": { + "data": { + "Media": { + "id": 53390, + "relations": { + "edges": [ + { + "relationType": "ADAPTATION", + "node": { + "id": 16498, + "title": { + "romaji": "Shingeki no Kyojin", + "english": "Attack on Titan", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx16498-buvcRTBx4NSm.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx16498-buvcRTBx4NSm.jpg" + }, + "startDate": { + "year": 2013, + "month": 4, + "day": 7 + }, + "episodes": 25, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364161, + "status": "COMPLETED", + "progress": 25, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 85199, + "title": { + "romaji": "Shingeki no Kyojin Gaiden: Kuinaki Sentaku", + "english": "Attack on Titan: No Regrets", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA \u5916\u4F1D \u6094\u3044\u306A\u304D\u9078\u629E" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx85199-IzuYa59zXTBN.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx85199-IzuYa59zXTBN.jpg" + }, + "startDate": { + "year": 2013, + "month": 9, + "day": 28 + }, + "episodes": null, + "chapters": 11, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 20691, + "title": { + "romaji": "Shingeki no Kyojin Zenpen: Guren no Yumiya", + "english": "Attack on Titan Part I: Crimson Bow and Arrow", + "native": "\u5287\u5834\u7248\u300C\u9032\u6483\u306E\u5DE8\u4EBA\u300D\u524D\u7DE8\uFF5E\u7D05\u84EE\u306E\u5F13\u77E2\uFF5E" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx20691-dnv0rkpbgBDJ.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx20691-dnv0rkpbgBDJ.png" + }, + "startDate": { + "year": 2014, + "month": 11, + "day": 22 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 20692, + "title": { + "romaji": "Shingeki no Kyojin Kouhen: Jiyuu no Tsubasa", + "english": "Attack on Titan Part II: Wings of Freedom", + "native": "\u5287\u5834\u7248\u300C\u9032\u6483\u306E\u5DE8\u4EBA\u300D\u5F8C\u7DE8\uFF5E\u81EA\u7531\u306E\u7FFC\uFF5E" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx20692-fSDEpfDtDg9u.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx20692-fSDEpfDtDg9u.png" + }, + "startDate": { + "year": 2015, + "month": 6, + "day": 27 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 66535, + "title": { + "romaji": "Shingeki! Kyojin Chuugakkou", + "english": "Attack on Titan: Junior High", + "native": "\u9032\u6483\uFF01\u5DE8\u4EBA\u4E2D\u5B66\u6821" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx66535-ui0I2mb9mi92.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx66535-ui0I2mb9mi92.jpg" + }, + "startDate": { + "year": 2012, + "month": 4, + "day": 9 + }, + "episodes": null, + "chapters": 96, + "volumes": 11, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 93313, + "title": { + "romaji": "Shingeki no Kyojin: LOST GIRLS", + "english": "Attack on Titan: Lost Girls", + "native": "\u5C0F\u8AAC \u9032\u6483\u306E\u5DE8\u4EBA LOST GIRLS" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx93313-qkYHfA2ZeHMp.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx93313-qkYHfA2ZeHMp.jpg" + }, + "startDate": { + "year": 2014, + "month": 12, + "day": 9 + }, + "episodes": null, + "chapters": 3, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 100465, + "title": { + "romaji": "Shingeki no Kyojin Season 2: Kakusei no Houkou", + "english": "Attack on Titan: The Roar of Awakening", + "native": "\u5287\u5834\u7248\u300C\u9032\u6483\u306E\u5DE8\u4EBA\u300DSeason 2\uFF5E\u899A\u9192\u306E\u5486\u54EE\uFF5E" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/nx100465-ivKS0RqXg5dI.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/nx100465-ivKS0RqXg5dI.png" + }, + "startDate": { + "year": 2018, + "month": 1, + "day": 13 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 20958, + "title": { + "romaji": "Shingeki no Kyojin Season 2", + "english": "Attack on Titan Season 2", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA Season\uFF12" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx20958-HuFJyr54Mmir.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx20958-HuFJyr54Mmir.jpg" + }, + "startDate": { + "year": 2017, + "month": 4, + "day": 1 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364164, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 99147, + "title": { + "romaji": "Shingeki no Kyojin Season 3", + "english": "Attack on Titan Season 3", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA Season\uFF13" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx99147-AiPDD8cwlCfi.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx99147-AiPDD8cwlCfi.jpg" + }, + "startDate": { + "year": 2018, + "month": 7, + "day": 23 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364169, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 100232, + "title": { + "romaji": "Shingeki no Kyojin: Kakuzetsu Toshi no Joou", + "english": "Attack on Titan: The Harsh Mistress of the City", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA \u9694\u7D76\u90FD\u5E02\u306E\u5973\u738B" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx100232-CVuESAZNmF5s.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx100232-CVuESAZNmF5s.jpg" + }, + "startDate": { + "year": 2014, + "month": 8, + "day": 1 + }, + "episodes": null, + "chapters": 7, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 85420, + "title": { + "romaji": "Shingeki no Kyojin Volume 0", + "english": "Attack on Titan Volume 0\r\n", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA 0\u5DFB" + }, + "isAdult": false, + "format": "ONE_SHOT", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx85420-4Icwbgm9fq3R.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx85420-4Icwbgm9fq3R.jpg" + }, + "startDate": { + "year": 2013, + "month": 7, + "day": 17 + }, + "episodes": null, + "chapters": 1, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 89879, + "title": { + "romaji": "Sungeki no Kyojin", + "english": "Spoof on Titan", + "native": "\u5BF8\u5287\u306E\u5DE8\u4EBA" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx89879-IQcKMRW5tWwK.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx89879-IQcKMRW5tWwK.jpg" + }, + "startDate": { + "year": 2013, + "month": 12, + "day": 4 + }, + "episodes": null, + "chapters": 55, + "volumes": 2, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 104578, + "title": { + "romaji": "Shingeki no Kyojin Season 3 Part 2", + "english": "Attack on Titan Season 3 Part 2", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA Season\uFF13 Part.2" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx104578-k61nx3LPjvgd.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx104578-k61nx3LPjvgd.jpg" + }, + "startDate": { + "year": 2019, + "month": 4, + "day": 29 + }, + "episodes": 10, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364173, + "status": "COMPLETED", + "progress": 10, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SPIN_OFF", + "node": { + "id": 106489, + "title": { + "romaji": "Shingeki! Kyojin Chuugakkou: Seishun! Tonari no Marley Gakuen", + "english": null, + "native": "\u9032\u6483!\u5DE8\u4EBA\u9AD8\u6821 ~\u9752\u6625! \u3068\u306A\u308A\u306E\u30DE\u30FC\u30EC\u5B66\u5712~" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx106489-FVSfl430bRTW.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx106489-FVSfl430bRTW.jpg" + }, + "startDate": { + "year": 2018, + "month": 6, + "day": 9 + }, + "episodes": null, + "chapters": 6, + "volumes": 1, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 18397, + "title": { + "romaji": "Shingeki no Kyojin OVA", + "english": "Attack on Titan OVA", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA OVA" + }, + "isAdult": false, + "format": "OVA", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx18397-AnpwhLkSjYL1.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx18397-AnpwhLkSjYL1.jpg" + }, + "startDate": { + "year": 2013, + "month": 12, + "day": 9 + }, + "episodes": 3, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 110277, + "title": { + "romaji": "Shingeki no Kyojin: The Final Season", + "english": "Attack on Titan Final Season", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA The Final Season" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx110277-sKUNXAsWMNFw.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx110277-sKUNXAsWMNFw.jpg" + }, + "startDate": { + "year": 2020, + "month": 12, + "day": 7 + }, + "episodes": 16, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364175, + "status": "COMPLETED", + "progress": 16, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 73999, + "title": { + "romaji": "Shingeki no Kyojin: Before the fall", + "english": "Attack on Titan: Before the Fall", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA Before the fall" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx73999-YpiZ2B2lBqYL.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx73999-YpiZ2B2lBqYL.jpg" + }, + "startDate": { + "year": 2011, + "month": 12, + "day": 2 + }, + "episodes": null, + "chapters": 15, + "volumes": 3, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 131681, + "title": { + "romaji": "Shingeki no Kyojin: The Final Season Part 2", + "english": "Attack on Titan Final Season Part 2", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA The Final Season Part 2" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx131681-5ooUqvqNtee1.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx131681-5ooUqvqNtee1.jpg" + }, + "startDate": { + "year": 2022, + "month": 1, + "day": 10 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364179, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 119113, + "title": { + "romaji": "Shingeki no Kyojin: Chronicle", + "english": "Attack on Titan ~Chronicle~", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA \u301C\u30AF\u30ED\u30CB\u30AF\u30EB\u301C" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx119113-IzVI5oZ0og8O.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx119113-IzVI5oZ0og8O.jpg" + }, + "startDate": { + "year": 2020, + "month": 7, + "day": 17 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 146984, + "title": { + "romaji": "Shingeki no Kyojin: The Final Season - Kanketsu-hen Zenpen", + "english": "Attack on Titan Final Season THE FINAL CHAPTERS Special 1", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA The Final Season\u5B8C\u7D50\u7DE8 \u524D\u7DE8" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx146984-GXrLeT6vQqyP.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx146984-GXrLeT6vQqyP.jpg" + }, + "startDate": { + "year": 2023, + "month": 3, + "day": 4 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364189, + "status": "COMPLETED", + "progress": 1, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ADAPTATION", + "node": { + "id": 162314, + "title": { + "romaji": "Shingeki no Kyojin: The Final Season - Kanketsu-hen Kouhen", + "english": "Attack on Titan Final Season THE FINAL CHAPTERS Special 2", + "native": "\u9032\u6483\u306E\u5DE8\u4EBA The Final Season\u5B8C\u7D50\u7DE8 \u5F8C\u7DE8" + }, + "isAdult": false, + "format": "SPECIAL", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx162314-qIWdAAFtvY8J.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx162314-qIWdAAFtvY8J.jpg" + }, + "startDate": { + "year": 2023, + "month": 11, + "day": 5 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364193, + "status": "COMPLETED", + "progress": 1, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__b3a5c19a711f_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__b3a5c19a711f_add8ea99711b.json new file mode 100644 index 00000000..f86dba78 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__b3a5c19a711f_add8ea99711b.json @@ -0,0 +1,141 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 182205 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:03:23.8743315+00:00", + "response": { + "data": { + "Media": { + "id": 182205, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 86355, + "title": { + "romaji": "Tensei Shitara Slime Datta Ken", + "english": "That Time I Got Reincarnated as a Slime", + "native": "\u8EE2\u751F\u3057\u305F\u3089\u30B9\u30E9\u30A4\u30E0\u3060\u3063\u305F\u4EF6" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx86355-pGwmLqVTwwE4.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx86355-pGwmLqVTwwE4.jpg" + }, + "startDate": { + "year": 2014, + "month": 5, + "day": 30 + }, + "episodes": null, + "chapters": 168, + "volumes": 23, + "mediaListEntry": null + } + }, + { + "relationType": "SOURCE", + "node": { + "id": 86399, + "title": { + "romaji": "Tensei Shitara Slime datta Ken", + "english": "That Time I Got Reincarnated as a Slime", + "native": "\u8EE2\u751F\u3057\u305F\u3089\u30B9\u30E9\u30A4\u30E0\u3060\u3063\u305F\u4EF6" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx86399-NwbRFVh5koqc.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx86399-NwbRFVh5koqc.jpg" + }, + "startDate": { + "year": 2015, + "month": 3, + "day": 26 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 156822, + "title": { + "romaji": "Tensei Shitara Slime Datta Ken 3rd Season", + "english": "That Time I Got Reincarnated as a Slime Season 3", + "native": "\u8EE2\u751F\u3057\u305F\u3089\u30B9\u30E9\u30A4\u30E0\u3060\u3063\u305F\u4EF6 \u7B2C3\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx156822-Jzo2ITWgm4kM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx156822-Jzo2ITWgm4kM.jpg" + }, + "startDate": { + "year": 2024, + "month": 4, + "day": 5 + }, + "episodes": 24, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364359, + "status": "COMPLETED", + "progress": 24, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 217331, + "title": { + "romaji": "Tensei Shitara Slime Datta Ken 4th Season Part 3", + "english": null, + "native": "\u8EE2\u751F\u3057\u305F\u3089\u30B9\u30E9\u30A4\u30E0\u3060\u3063\u305F\u4EF6 \u7B2C4\u671F \u7B2C3\u30AF\u30FC\u30EB" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx217331-iennFNPU2f7K.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx217331-iennFNPU2f7K.png" + }, + "startDate": { + "year": 2027, + "month": 7, + "day": null + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__c9508fd360ad_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__c9508fd360ad_add8ea99711b.json new file mode 100644 index 00000000..8613a61e --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__c9508fd360ad_add8ea99711b.json @@ -0,0 +1,47 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 144092 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:04:05.3492568+00:00", + "response": { + "data": { + "Media": { + "id": 144092, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 104730, + "title": { + "romaji": "Benriya Saitou-san, Isekai ni Iku", + "english": "Handyman Saitou in Another World", + "native": "\u4FBF\u5229\u5C4B\u658E\u85E4\u3055\u3093\u3001\u7570\u4E16\u754C\u306B\u884C\u304F" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx104730-89vH0896A01d.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx104730-89vH0896A01d.jpg" + }, + "startDate": { + "year": 2018, + "month": 10, + "day": 12 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__de7fef66c87f_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__de7fef66c87f_add8ea99711b.json new file mode 100644 index 00000000..eb363c77 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__de7fef66c87f_add8ea99711b.json @@ -0,0 +1,85 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 198946 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:03:44.6152617+00:00", + "response": { + "data": { + "Media": { + "id": 198946, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 122693, + "title": { + "romaji": "Clevatess: Majuu no Ou to Akago to Kabane no Yuusha", + "english": "Clevatess", + "native": "\u30AF\u30EC\u30D0\u30C6\u30B9-\u9B54\u7363\u306E\u738B\u3068\u8D64\u5B50\u3068\u5C4D\u306E\u52C7\u8005-" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx122693-hWjxoiHSpY1j.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx122693-hWjxoiHSpY1j.jpg" + }, + "startDate": { + "year": 2020, + "month": 8, + "day": 12 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 178869, + "title": { + "romaji": "Clevatess: Majuu no Ou to Akago to Kabane no Yuusha", + "english": "Clevatess", + "native": "\u30AF\u30EC\u30D0\u30C6\u30B9-\u9B54\u7363\u306E\u738B\u3068\u8D64\u5B50\u3068\u5C4D\u306E\u52C7\u8005-" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx178869-qiEz0gQD8H5N.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx178869-qiEz0gQD8H5N.png" + }, + "startDate": { + "year": 2025, + "month": 7, + "day": 2 + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364574, + "status": "COMPLETED", + "progress": 12, + "progressVolumes": null, + "score": 8, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__e8c5cb24a17d_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__e8c5cb24a17d_add8ea99711b.json new file mode 100644 index 00000000..cf802371 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__e8c5cb24a17d_add8ea99711b.json @@ -0,0 +1,253 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 195516 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:02:21.7111088+00:00", + "response": { + "data": { + "Media": { + "id": 195516, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 99026, + "title": { + "romaji": "Kusuriya no Hitorigoto", + "english": "The Apothecary Diaries", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068" + }, + "isAdult": false, + "format": "NOVEL", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx99026-5Eg650WAd9Rj.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx99026-5Eg650WAd9Rj.jpg" + }, + "startDate": { + "year": 2014, + "month": 8, + "day": 29 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 176301, + "title": { + "romaji": "Kusuriya no Hitorigoto 2nd Season", + "english": "The Apothecary Diaries Season 2", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068 \u7B2C2\u671F" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx176301-TIGmldLffQGX.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx176301-TIGmldLffQGX.jpg" + }, + "startDate": { + "year": 2025, + "month": 1, + "day": 10 + }, + "episodes": 24, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593363981, + "status": "COMPLETED", + "progress": 24, + "progressVolumes": null, + "score": 10, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 200927, + "title": { + "romaji": "Kusuriya no Hitorigoto 3rd Season Part 2", + "english": null, + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068 \u7B2C3\u671F \u7B2C2\u30AF\u30FC\u30EB" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx200927-IXFYyIb728bM.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx200927-IXFYyIb728bM.png" + }, + "startDate": { + "year": 2027, + "month": 4, + "day": null + }, + "episodes": 12, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 200929, + "title": { + "romaji": "Kusuriya no Hitorigoto: Bouhi no Hihou", + "english": "The Apothecary Diaries: The Late Lady\u2019s Treasure", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068 \u4EA1\u5983\u306E\u79D8\u5B9D" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "NOT_YET_RELEASED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx200929-dx3hnftE7K7C.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx200929-dx3hnftE7K7C.jpg" + }, + "startDate": { + "year": 2026, + "month": 12, + "day": 11 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 99022, + "title": { + "romaji": "Kusuriya no Hitorigoto", + "english": "The Apothecary Diaries", + "native": "\u85AC\u5C4B\u306E\u3072\u3068\u308A\u3054\u3068" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/nx99022-Hh2WdyNgR8HM.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/nx99022-Hh2WdyNgR8HM.jpg" + }, + "startDate": { + "year": 2017, + "month": 5, + "day": 25 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 218387, + "title": { + "romaji": "AIYOU", + "english": "AIYOU", + "native": "AIYOU" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx218387-aSD6Bq5zFIis.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx218387-aSD6Bq5zFIis.jpg" + }, + "startDate": { + "year": 2026, + "month": 10, + "day": 2 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "OTHER", + "node": { + "id": 218390, + "title": { + "romaji": "Kumo wo Nuke Kazashimo e Watashi dake", + "english": "Beyond the Clouds, Only Me Downwind", + "native": "\u96F2\u3092\u629C\u3051\u98A8\u4E0B\u3078\u79C1\u3060\u3051" + }, + "isAdult": false, + "format": "MUSIC", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx218390-5x0fFx3emeYE.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx218390-5x0fFx3emeYE.png" + }, + "startDate": { + "year": 2026, + "month": 10, + "day": 14 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SIDE_STORY", + "node": { + "id": 218532, + "title": { + "romaji": "Maomao no Hitorigoto 3rd Season", + "english": null, + "native": "\u732B\u732B\u306E\u3072\u3068\u308A\u3054\u3068 \u7B2C3\u671F" + }, + "isAdult": false, + "format": "ONA", + "type": "ANIME", + "status": "RELEASING", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx218532-I1GCprJrJ5sm.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx218532-I1GCprJrJ5sm.png" + }, + "startDate": { + "year": 2026, + "month": 10, + "day": 5 + }, + "episodes": null, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/Fixtures/AniList/MediaRelations__ff8301e193bd_add8ea99711b.json b/src/AniSprinkles/Fixtures/AniList/MediaRelations__ff8301e193bd_add8ea99711b.json new file mode 100644 index 00000000..62359965 --- /dev/null +++ b/src/AniSprinkles/Fixtures/AniList/MediaRelations__ff8301e193bd_add8ea99711b.json @@ -0,0 +1,151 @@ +{ + "operationName": "MediaRelations", + "variables": { + "id": 129874 + }, + "queryFingerprint": "add8ea99711b", + "recordedAt": "2026-11-20T23:00:59.0108138+00:00", + "response": { + "data": { + "Media": { + "id": 129874, + "relations": { + "edges": [ + { + "relationType": "SOURCE", + "node": { + "id": 87216, + "title": { + "romaji": "Kimetsu no Yaiba", + "english": "Demon Slayer: Kimetsu no Yaiba", + "native": "\u9B3C\u6EC5\u306E\u5203" + }, + "isAdult": false, + "format": "MANGA", + "type": "MANGA", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/small/bx87216-c9bSNVD10UuD.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/manga/cover/medium/bx87216-c9bSNVD10UuD.png" + }, + "startDate": { + "year": 2016, + "month": 2, + "day": 15 + }, + "episodes": null, + "chapters": 207, + "volumes": 23, + "mediaListEntry": null + } + }, + { + "relationType": "PREQUEL", + "node": { + "id": 101922, + "title": { + "romaji": "Kimetsu no Yaiba", + "english": "Demon Slayer: Kimetsu no Yaiba", + "native": "\u9B3C\u6EC5\u306E\u5203" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx101922-WBsBl0ClmgYL.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx101922-WBsBl0ClmgYL.jpg" + }, + "startDate": { + "year": 2019, + "month": 4, + "day": 6 + }, + "episodes": 26, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364095, + "status": "COMPLETED", + "progress": 26, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + }, + { + "relationType": "ALTERNATIVE", + "node": { + "id": 112151, + "title": { + "romaji": "Kimetsu no Yaiba: Mugen Ressha-hen", + "english": "Demon Slayer -Kimetsu no Yaiba- The Movie: Mugen Train", + "native": "\u9B3C\u6EC5\u306E\u5203 \u7121\u9650\u5217\u8ECA\u7DE8" + }, + "isAdult": false, + "format": "MOVIE", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx112151-1qlQwPB1RrJe.png", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx112151-1qlQwPB1RrJe.png" + }, + "startDate": { + "year": 2020, + "month": 10, + "day": 16 + }, + "episodes": 1, + "chapters": null, + "volumes": null, + "mediaListEntry": null + } + }, + { + "relationType": "SEQUEL", + "node": { + "id": 142329, + "title": { + "romaji": "Kimetsu no Yaiba: Yuukaku-hen", + "english": "Demon Slayer: Kimetsu no Yaiba Entertainment District Arc", + "native": "\u9B3C\u6EC5\u306E\u5203 \u904A\u90ED\u7DE8" + }, + "isAdult": false, + "format": "TV", + "type": "ANIME", + "status": "FINISHED", + "coverImage": { + "medium": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/small/bx142329-kET1PIXJv2eW.jpg", + "large": "https://s4.anilist.co/file/anilistcdn/media/anime/cover/medium/bx142329-kET1PIXJv2eW.jpg" + }, + "startDate": { + "year": 2021, + "month": 12, + "day": 5 + }, + "episodes": 11, + "chapters": null, + "volumes": null, + "mediaListEntry": { + "id": 593364102, + "status": "COMPLETED", + "progress": 11, + "progressVolumes": null, + "score": 9, + "repeat": 0, + "notes": null, + "private": false, + "hiddenFromStatusLists": false + } + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/src/AniSprinkles/MauiProgram.cs b/src/AniSprinkles/MauiProgram.cs index 65e54225..7677bc96 100644 --- a/src/AniSprinkles/MauiProgram.cs +++ b/src/AniSprinkles/MauiProgram.cs @@ -179,6 +179,7 @@ public static MauiApp CreateMauiApp() builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddSingleton(); + builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddTransient(); builder.Services.AddTransient(); diff --git a/src/AniSprinkles/Services/Maui/MauiDialogService.cs b/src/AniSprinkles/Services/Maui/MauiDialogService.cs index a91466ba..2f661031 100644 --- a/src/AniSprinkles/Services/Maui/MauiDialogService.cs +++ b/src/AniSprinkles/Services/Maui/MauiDialogService.cs @@ -80,6 +80,12 @@ public sealed class MauiDialogService(ILogger logger) : IDial return result as double?; } + public async Task ShowUpNextAsync(string completedTitle, IReadOnlyList candidates) + { + var result = await ShowAsync(new UpNextPopup(completedTitle, candidates), BottomSheetPopupOptions); + return result as UpNextChoice; + } + public Task ConfirmAsync( string title, string message, diff --git a/src/AniSprinkles/Views/BottomSheetChrome.cs b/src/AniSprinkles/Views/BottomSheetChrome.cs new file mode 100644 index 00000000..a88f53c6 --- /dev/null +++ b/src/AniSprinkles/Views/BottomSheetChrome.cs @@ -0,0 +1,54 @@ +namespace AniSprinkles.Views; + +/// +/// The edge-to-edge half of a CommunityToolkit bottom sheet, for (#103). +/// Same steps as and carry inline; see +/// MoveToListPopup for why each is needed. +/// +internal static class BottomSheetChrome +{ + /// + /// Call from the popup's Opened: the toolkit's host Grid only exists once attached. Clears + /// the safe-area inset on every ancestor up to the page so the sheet reaches the physical bottom + /// edge, then pads up by the nav-bar inset so its last row clears it. + /// + public static void GoEdgeToEdge(Element popup, Layout content) + { + for (Element? element = popup; element is not null and not Page; element = element.Parent) + { + switch (element) + { + case Layout layout: + layout.SafeAreaEdges = SafeAreaEdges.None; + break; + case ContentView contentView: + contentView.SafeAreaEdges = SafeAreaEdges.None; + break; + case Border border: + border.SafeAreaEdges = SafeAreaEdges.None; + break; + } + } + + var bottomInsetDip = BottomSystemBarInsetDip(); + if (bottomInsetDip > 0) + { + content.Padding = new Thickness(0, 0, 0, bottomInsetDip); + } + } + + private static double BottomSystemBarInsetDip() + { +#if ANDROID + var activity = Platform.CurrentActivity; + var insets = activity?.Window?.DecorView?.RootWindowInsets? + .GetInsets(Android.Views.WindowInsets.Type.SystemBars()); + var density = activity?.Resources?.DisplayMetrics?.Density ?? 1f; + if (insets is not null && density > 0) + { + return insets.Bottom / density; + } +#endif + return 0; + } +} diff --git a/src/AniSprinkles/Views/SettingsLoadedContentView.xaml b/src/AniSprinkles/Views/SettingsLoadedContentView.xaml index a0bda740..7162805d 100644 --- a/src/AniSprinkles/Views/SettingsLoadedContentView.xaml +++ b/src/AniSprinkles/Views/SettingsLoadedContentView.xaml @@ -317,6 +317,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +/// The Up next sheet's list (#103): one row per related title, each saying where it will go, with a +/// round check. Built in code, like 's rows: the row count is only known +/// at runtime and each row is a handful of elements. The wording comes from Core +/// (, ), +/// where it is tested. +/// +/// There is no list switch: rows can go to different lists (an unreleased title to Planning, a +/// completed one to Rewatching), and the list they follow otherwise is a Settings choice already. +/// Every row starts unticked: the sheet suggests, and nothing is added without a tap on it. +/// +/// +public sealed class UpNextPickerView : ContentView +{ + private const double ChipAlpha = 0.18; + private const double SelectedRowAlpha = 0.10; + + private readonly List _rows = []; + + public UpNextPickerView(IReadOnlyList candidates) + { + var rows = new VerticalStackLayout { Spacing = 2 }; + foreach (var candidate in candidates) + { + rows.Children.Add(BuildRow(candidate)); + } + + Content = rows; + } + + /// Raised when a row is ticked or unticked, so the host can relabel its button. + public event EventHandler? SelectionChanged; + + public IReadOnlyList Selected => [.. _rows.Where(r => r.IsSelected).Select(r => r.Candidate)]; + + /// "Add 2 · Move 1", or "Select titles" when nothing is ticked. + public string ConfirmText => UpNextCandidates.ConfirmLabel(Selected); + + public UpNextChoice? ToChoice() => Selected is { Count: > 0 } selected ? new UpNextChoice(selected) : null; + + private View BuildRow(UpNextCandidate candidate) + { + var cover = new Border + { + WidthRequest = 40, + HeightRequest = 56, + StrokeThickness = 0, + StrokeShape = new RoundRectangle { CornerRadius = 6 }, + Background = new SolidColorBrush(Resource("Gray600", Colors.Gray)), + Content = candidate.Media.CoverImage?.Medium is { } coverUrl && ImageUrl.IsReal(coverUrl) + // Sized as well as its Border: in an Auto grid column an unsized Image measures to the + // bitmap's own aspect and came out as a 6dp sliver on device. + ? new Image { Source = coverUrl, Aspect = Aspect.AspectFill, WidthRequest = 40, HeightRequest = 56 } + : null, + }; + + var chips = new FlexLayout { Wrap = Microsoft.Maui.Layouts.FlexWrap.Wrap, Margin = new Thickness(0, 4, 0, 0) }; + chips.Children.Add(Chip(candidate.RelationLabel, Resource("Primary", Colors.Cyan))); + if (candidate.DetailsLine is { Length: > 0 } details) + { + chips.Children.Add(Chip(details, Resource("Gray300", Colors.LightGray), Resource("Gray600", Colors.Gray))); + } + + // On every unreleased row, moves included: it is why such a row goes to Plan to Watch whatever + // the Settings list says. + if (candidate.IsUnreleased) + { + chips.Children.Add(Chip("Not yet released", Resource("RainbowOrange", Colors.Orange))); + } + + var destination = candidate.DestinationLabel; + chips.Children.Add(Chip(destination, Resource("RainbowGreen", Colors.Green))); + + var text = new VerticalStackLayout { Spacing = 0, VerticalOptions = LayoutOptions.Center }; + text.Children.Add(new Label + { + Text = candidate.Media.DisplayTitle, + Style = Resource