cineclub-site/front/composables/types.ts

35 lines
631 B
TypeScript
Raw Normal View History

export enum Format {
ANALOG_35 = "35mm",
2022-04-09 02:48:03 +02:00
DIGITAL = "Numérique",
}
export enum LanguageSubtitles {
FRENCH = "VOF",
FOREIGN = "VOSTFR",
}
export type Film = {
2022-04-09 00:34:47 +02:00
id?: number
projectionDate?: string
2022-04-09 00:34:47 +02:00
title?: string
actors?: string[]
director?: string
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
}
export type ShortFilm = {
id: number
projectionDate: Date
title: string
director?: string
}