28 lines
540 B
TypeScript
28 lines
540 B
TypeScript
export enum Format {
|
|
ANALOG_35 = "35mm",
|
|
DVD = "DVD",
|
|
BLU_RAY = "Blu ray",
|
|
}
|
|
export enum LanguageSubtitles {
|
|
FRENCH = "VOF",
|
|
FOREIGN = "VOSTFR",
|
|
}
|
|
|
|
export type Film = {
|
|
id?: number
|
|
projectionDate?: Date
|
|
title?: string
|
|
actors?: string[]
|
|
director?: string
|
|
duration?: number
|
|
synopsis?: string
|
|
originCountry?: string
|
|
releaseYear?: number
|
|
trailerLink?: string
|
|
isInColor?: boolean
|
|
movieFormat?: Format
|
|
languageSubtitles?: LanguageSubtitles
|
|
posterLink?: string
|
|
bannerLink?: string
|
|
isConfirmed?: boolean
|
|
}
|