add createdAt and modifiedAt properties to models
This commit is contained in:
1 parent
65fa3e9fe5
commit
c36149eb74
6 files changed
+18
No files matched your search
@@ -33,4 +33,7 @@ export interface Entry {
|
|||||||
|
|
||||||
// front specific
|
// front specific
|
||||||
poster_path: string;
|
poster_path: string;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
@@ -6,4 +6,7 @@ export interface EntryId {
|
|||||||
tmdb_id: string;
|
tmdb_id: string;
|
||||||
imdb_id: string;
|
imdb_id: string;
|
||||||
tvdb_id: string;
|
tvdb_id: string;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
@@ -7,4 +7,7 @@ export interface EntryRating {
|
|||||||
tmdb_rating: number;
|
tmdb_rating: number;
|
||||||
imdb_rating: number;
|
imdb_rating: number;
|
||||||
rotten_tomatoes_rating: number;
|
rotten_tomatoes_rating: number;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
@@ -5,4 +5,7 @@ export interface EntrySeen {
|
|||||||
|
|
||||||
date_seen: Date;
|
date_seen: Date;
|
||||||
seen_with: string;
|
seen_with: string;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
@@ -6,4 +6,7 @@ export interface List {
|
|||||||
user_rating: number;
|
user_rating: number;
|
||||||
|
|
||||||
poster_path: string;
|
poster_path: string;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
@@ -3,4 +3,7 @@ export interface ListEntry {
|
|||||||
entry_id: number;
|
entry_id: number;
|
||||||
|
|
||||||
order: number;
|
order: number;
|
||||||
|
|
||||||
|
createdAt: Date;
|
||||||
|
modifiedAt: Date;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user