2022-04-06 01:12:35 +02:00
|
|
|
export enum Format {
|
|
|
|
ANALOG_35 = "35mm",
|
2022-04-09 02:48:03 +02:00
|
|
|
DIGITAL = "Numérique",
|
2022-04-06 01:12:35 +02:00
|
|
|
}
|
|
|
|
export enum LanguageSubtitles {
|
|
|
|
FRENCH = "VOF",
|
|
|
|
FOREIGN = "VOSTFR",
|
|
|
|
}
|
|
|
|
|
|
|
|
export type Film = {
|
2022-04-09 00:34:47 +02:00
|
|
|
id?: number
|
2022-05-29 23:08:49 +02:00
|
|
|
projectionDate?: string
|
2022-04-09 00:34:47 +02:00
|
|
|
title?: string
|
|
|
|
actors?: string[]
|
|
|
|
director?: string
|
2022-05-29 23:08:49 +02:00
|
|
|
duration?: string
|
2022-04-09 00:34:47 +02:00
|
|
|
synopsis?: string
|
|
|
|
originCountry?: string
|
|
|
|
releaseYear?: number
|
|
|
|
trailerLink?: string
|
|
|
|
isInColor?: boolean
|
|
|
|
movieFormat?: Format
|
|
|
|
languageSubtitles?: LanguageSubtitles
|
|
|
|
posterLink?: string
|
|
|
|
bannerLink?: string
|
|
|
|
isConfirmed?: boolean
|
2022-04-06 01:12:35 +02:00
|
|
|
}
|
2022-04-10 00:56:25 +02:00
|
|
|
|
|
|
|
export type ShortFilm = {
|
|
|
|
id: number
|
|
|
|
projectionDate: Date
|
|
|
|
title: string
|
|
|
|
director?: string
|
|
|
|
}
|