Files
tmdb-ts/src/types/configuration.ts
DerPenz 6c361002bf Squashed commit of the following:
commit 5d38a76997
Merge: 7cccdb9 f160e23
Author: 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

commit f160e2362c
Author: Blake Joynes <blakejoynes@gmail.com>
Date:   Sat Apr 15 11:44:00 2023 -0400

    add pre commit hook

commit 0fd8317884
Merge: bc91674 d1e87ba
Author: Blake Joynes <blakejoynes@gmail.com>
Date:   Sat Apr 15 11:41:28 2023 -0400

    add husky

commit bc91674c4b
Author: Blake Joynes <blakejoynes@gmail.com>
Date:   Sat Apr 15 11:39:24 2023 -0400

    add husky

commit d1e87ba7be
Author: Blake <blakejoy@users.noreply.github.com>
Date:   Fri Apr 14 08:48:33 2023 -0400

    Update .prettierrc

commit d064d4d86f
Author: Blake Joynes <blakejoynes@gmail.com>
Date:   Fri Apr 14 03:09:39 2023 -0400

    turn off linebreak rules

commit 06155bd323
Author: Blake Joynes <blakejoynes@gmail.com>
Date:   Thu Apr 13 21:58:41 2023 -0400

    add linting and prettier
2023-04-15 18:32:06 +02:00

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',
}