Skip to content

Commit 5eead30

Browse files
committed
fix(season): types
1 parent 89dbcad commit 5eead30

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/dto/movie.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export interface CSFDMovie extends CSFDScreening {
2525
}
2626

2727
export interface CSFDParent {
28-
season: { id: number; name: string; };
29-
series: { id: number; name: string; };
28+
season: { id: number; name: string } | null;
29+
series: { id: number; name: string } | null;
3030
}
3131

3232
export type CSFDVodService =
@@ -96,8 +96,6 @@ export interface CSFDMovieListItem {
9696
url: string;
9797
}
9898

99-
100-
10199
export type CSFDGenres =
102100
| 'Akční'
103101
| 'Animovaný'
@@ -157,7 +155,6 @@ export type CSFDCreatorGroups =
157155
| 'Scénografie'
158156
| 'Kostýmy';
159157

160-
161158
export type CSFDCreatorGroupsEnglish =
162159
| 'Directed by'
163160
| 'Screenplay'
@@ -199,4 +196,4 @@ export interface CSFDSeason {
199196
name: string;
200197
url: string;
201198
info: string | null;
202-
}
199+
}

0 commit comments

Comments
 (0)