commit5d38a76997Merge:7cccdb9f160e23Author: Blake <blakejoy@users.noreply.github.com> Date: Sat Apr 15 11:44:39 2023 -0400 Merge pull request #22 from blakejoy/feat/add_linting feat - add linting and prettier commitf160e2362cAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:44:00 2023 -0400 add pre commit hook commit0fd8317884Merge:bc91674d1e87baAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:41:28 2023 -0400 add husky commitbc91674c4bAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Sat Apr 15 11:39:24 2023 -0400 add husky commitd1e87ba7beAuthor: Blake <blakejoy@users.noreply.github.com> Date: Fri Apr 14 08:48:33 2023 -0400 Update .prettierrc commitd064d4d86fAuthor: Blake Joynes <blakejoynes@gmail.com> Date: Fri Apr 14 03:09:39 2023 -0400 turn off linebreak rules commit06155bd323Author: Blake Joynes <blakejoynes@gmail.com> Date: Thu Apr 13 21:58:41 2023 -0400 add linting and prettier
112 lines
2.4 KiB
TypeScript
112 lines
2.4 KiB
TypeScript
export interface Images {
|
|
base_url: string;
|
|
secure_base_url: string;
|
|
backdrop_sizes: BackdropSizes[];
|
|
logo_sizes: LogoSizes[];
|
|
poster_sizes: PosterSizes[];
|
|
profile_sizes: ProfileSizes[];
|
|
still_sizes: StillSizes[];
|
|
}
|
|
|
|
export interface Configuration {
|
|
images: Images;
|
|
change_keys: ChangeKeys[];
|
|
}
|
|
|
|
export const enum BackdropSizes {
|
|
W300 = 'w300',
|
|
W780 = 'w780',
|
|
W1280 = 'w1280',
|
|
ORIGINAL = 'original',
|
|
}
|
|
|
|
export const enum LogoSizes {
|
|
W45 = 'w45',
|
|
W92 = 'w92',
|
|
W154 = 'w154',
|
|
W185 = 'w185',
|
|
W300 = 'w300',
|
|
W500 = 'w500',
|
|
ORIGINAL = 'original',
|
|
}
|
|
|
|
export const enum PosterSizes {
|
|
W92 = 'w92',
|
|
W154 = 'w154',
|
|
W185 = 'w185',
|
|
W300 = 'w300',
|
|
W500 = 'w500',
|
|
W780 = 'w780',
|
|
ORIGINAL = 'original',
|
|
}
|
|
|
|
export const enum ProfileSizes {
|
|
W45 = 'w45',
|
|
W185 = 'w185',
|
|
W632 = 'w632',
|
|
ORIGINAL = 'original',
|
|
}
|
|
|
|
export const enum StillSizes {
|
|
W92 = 'w92',
|
|
W185 = 'w185',
|
|
W300 = 'w300',
|
|
ORIGINAL = 'original',
|
|
}
|
|
|
|
export const enum ChangeKeys {
|
|
ADULT = 'adult',
|
|
AIR_DATE = 'air_date',
|
|
ALSO_KNOWN_AS = 'also_known_as',
|
|
ALTERNATIVE_TITLES = 'alternative_titles',
|
|
BIOGRAPHY = 'biography',
|
|
BIRTHDAY = 'birthday',
|
|
BUDGET = 'budget',
|
|
CAST = 'cast',
|
|
CERTIFICATIONS = 'certifications',
|
|
CHARACTER_NAMES = 'character_names',
|
|
CREATED_BY = 'created_by',
|
|
CREW = 'crew',
|
|
DEATHDAY = 'deathday',
|
|
EPISODE = 'episode',
|
|
EPISODE_NUMBER = 'episode_number',
|
|
EPISODE_RUN_TIME = 'episode_run_time',
|
|
FREEBASE_ID = 'freebase_id',
|
|
FREEBASE_MID = 'freebase_mid',
|
|
GENERAL = 'general',
|
|
GENRES = 'genres',
|
|
GUEST_STARS = 'guest_stars',
|
|
HOMEPAGE = 'homepage',
|
|
IMAGES = 'images',
|
|
IMDB_ID = 'imdb_id',
|
|
LANGUAGES = 'languages',
|
|
NAME = 'name',
|
|
NETWORK = 'network',
|
|
ORIGIN_COUNTRY = 'origin_country',
|
|
ORIGINAL_NAME = 'original_name',
|
|
ORIGINAL_TITLE = 'original_title',
|
|
OVERVIEW = 'overview',
|
|
PARTS = 'parts',
|
|
PLACE_OF_BIRTH = 'place_of_birth',
|
|
PLOT_KEYWORDS = 'plot_keywords',
|
|
PRODUCTION_CODE = 'production_code',
|
|
PRODUCTION_COMPANIES = 'production_companies',
|
|
PRODUCTION_COUNTRIES = 'production_countries',
|
|
RELEASES = 'releases',
|
|
REVENUE = 'revenue',
|
|
RUNTIME = 'runtime',
|
|
SEASON = 'season',
|
|
SEASON_NUMBER = 'season_number',
|
|
SEASON_REGULAR = 'season_regular',
|
|
SPOKEN_LANGUAGES = 'spoken_languages',
|
|
STATUS = 'status',
|
|
TAGLINE = 'tagline',
|
|
TITLE = 'title',
|
|
TRANSLATIONS = 'translations',
|
|
TVDB_ID = 'tvdb_id',
|
|
TVRAGE_ID = 'tvrage_id',
|
|
TYPE = 'type',
|
|
VIDEO = 'video',
|
|
VIDEOS = 'videos',
|
|
}
|