cineclub-site/front/composables/types.ts

28 lines
528 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?: 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
}