create release type enum
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tmdb-ts",
|
"name": "tmdb-ts",
|
||||||
"version": "0.0.9",
|
"version": "0.0.10",
|
||||||
"description": "TMDB v3 library wrapper",
|
"description": "TMDB v3 library wrapper",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -28,12 +28,20 @@ export interface MovieDetails {
|
|||||||
vote_count: number;
|
vote_count: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum ReleaseDateType {
|
||||||
|
'Premiere' = 1,
|
||||||
|
'Theatrical (limited)',
|
||||||
|
'Theatrical',
|
||||||
|
'Digital',
|
||||||
|
'Physical',
|
||||||
|
'TV'
|
||||||
|
}
|
||||||
|
|
||||||
export interface ReleaseDate {
|
export interface ReleaseDate {
|
||||||
certification: string;
|
certification: string;
|
||||||
iso_639_1: string;
|
iso_639_1: string;
|
||||||
release_date: Date;
|
release_date: Date;
|
||||||
type: number;
|
type: ReleaseDateType;
|
||||||
note: string;
|
note: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user