• Build GraphQL variables for a given incremental sync step using sync-service rules. This helper centralizes mapping logic so workers and the sync service use a single source of truth.

    Parameters

    • mediaEntry: AniListMediaEntry

      The AniList media entry.

    • step: number

      Step number (1, 2, 3).

    Returns Record<string, unknown>

    Variables to be used in GraphQL mutation for the given step.