1 parent
080279e456
commit
b15207aa88
22 files changed
+800
-222
No files matched your search
@@ -12,6 +12,7 @@ import {
|
||||
safeCountries,
|
||||
safeDay,
|
||||
safeIso,
|
||||
remoteImage,
|
||||
safePosterUrl,
|
||||
safeSeasons,
|
||||
safeStringList,
|
||||
@@ -104,6 +105,7 @@ export function normalizeItem(raw: unknown): MediaItem | null {
|
||||
notes: cleanText(r.notes, LIMITS.notes),
|
||||
notesPublic: r.notesPublic === true || undefined,
|
||||
poster: safePosterUrl(r.poster),
|
||||
backdrop: remoteImage(r.backdrop),
|
||||
overview: cleanText(r.overview, LIMITS.overview),
|
||||
externalId: isSafeExternalId(r.externalId) ? r.externalId : undefined,
|
||||
top: normalizeTop(r.top),
|
||||
|
||||
Reference in new issue
Block a user