cineclub-site/front/composables/types.ts

41 lines
734 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
2022-07-13 02:18:06 +02:00
facebookEventLink?: string
2022-04-09 00:34:47 +02:00
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
}
2022-07-14 06:03:55 +02:00
export type FilmsByMonth = {
projectionMonth: string
films: Film[]
}