From e723b2f8fa072e8e7d30cff21700de26c4e7bbf3 Mon Sep 17 00:00:00 2001 From: Blake Joynes Date: Sat, 30 Mar 2024 15:49:47 -0400 Subject: [PATCH] update const enums --- package.json | 2 +- src/types/configuration.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 9b72ff0..991f17a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tmdb-ts", - "version": "1.7.1", + "version": "1.8.0", "description": "TMDB v3 library wrapper", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/types/configuration.ts b/src/types/configuration.ts index d5cad86..bbae961 100644 --- a/src/types/configuration.ts +++ b/src/types/configuration.ts @@ -13,7 +13,7 @@ export interface Configuration { change_keys: ChangeKeys[]; } -export const enum BackdropSizes { +export enum BackdropSizes { W300 = 'w300', W500 = 'w500', W780 = 'w780', @@ -21,7 +21,7 @@ export const enum BackdropSizes { ORIGINAL = 'original', } -export const enum LogoSizes { +export enum LogoSizes { W45 = 'w45', W92 = 'w92', W154 = 'w154', @@ -31,7 +31,7 @@ export const enum LogoSizes { ORIGINAL = 'original', } -export const enum PosterSizes { +export enum PosterSizes { W92 = 'w92', W154 = 'w154', W185 = 'w185', @@ -41,21 +41,21 @@ export const enum PosterSizes { ORIGINAL = 'original', } -export const enum ProfileSizes { +export enum ProfileSizes { W45 = 'w45', W185 = 'w185', W632 = 'w632', ORIGINAL = 'original', } -export const enum StillSizes { +export enum StillSizes { W92 = 'w92', W185 = 'w185', W300 = 'w300', ORIGINAL = 'original', } -export const enum ChangeKeys { +export enum ChangeKeys { ADULT = 'adult', AIR_DATE = 'air_date', ALSO_KNOWN_AS = 'also_known_as',