import { LetterboxdMovieDetails } from "../letterboxd/movie-details" ; import { RadarrMovieDetails } from "./types" ; export const transformLetterboxdMovieToRadarr = ( movie ) : RadarrMovieDetails => { return { id : movie . tmdb ? Number . parseInt ( movie . tmdb ) : null , imdb_id : movie . imdb , title : movie . name , release_year : movie . published , clean_title : movie . slug , adult : false } ; } ;