Skip to content

Commit acc3eca

Browse files
authored
Correct types (#13016)
1 parent 94387a9 commit acc3eca

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dotcom-rendering/src/components/FrontCard.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const FrontCard = (props: Props) => {
5656
showLivePlayable: trail.showLivePlayable,
5757
showMainVideo: trail.showMainVideo,
5858
galleryCount: trail.galleryCount,
59+
podcastImage: trail.podcastImage,
5960
};
6061

6162
return Card({ ...defaultProps, ...cardProps });

dotcom-rendering/src/types/front.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { BoostLevel, Image, StarRating } from './content';
1111
import type { FooterType } from './footer';
1212
import type { FEFormat, FENavType } from './frontend';
1313
import type { MainMedia } from './mainMedia';
14-
import type { FETagType } from './tag';
14+
import type { FETagType, PodcastSeriesImage } from './tag';
1515
import type { Territory } from './territory';
1616
import type { FETrailType, TrailType } from './trails';
1717

@@ -348,8 +348,8 @@ export type DCRFrontCard = {
348348
branding?: Branding;
349349
slideshowImages?: DCRSlideshowImage[];
350350
showMainVideo?: boolean;
351-
podcastImageSrc?: string;
352351
galleryCount?: number;
352+
podcastImage?: PodcastSeriesImage;
353353
};
354354

355355
export type DCRSlideshowImage = {

0 commit comments

Comments
 (0)