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