rename model list to usercollection & fixed redlated errors
This commit is contained in:
1 parent
60b517500f
commit
b48b395574
37 files changed
+2479
-1210
No files matched your search
@@ -0,0 +1,11 @@
|
||||
export interface EpisodeSeen {
|
||||
id: number;
|
||||
|
||||
episode_id: number;
|
||||
|
||||
date_seen: Date;
|
||||
seen_with: string;
|
||||
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Entry } from './entry.model';
|
||||
import { ListEntry } from './listEntry.model';
|
||||
import { UserCollectionEntry } from './userCollectionEntry.model';
|
||||
|
||||
export interface UserCollection {
|
||||
id: number;
|
||||
@@ -10,7 +10,7 @@ export interface UserCollection {
|
||||
|
||||
poster_path: string;
|
||||
|
||||
listEntries: ListEntry[];
|
||||
userCollectionEntries: UserCollectionEntry[];
|
||||
entries: Entry[];
|
||||
changed: boolean;
|
||||
isChecked: boolean;
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
export interface ListEntry {
|
||||
list_id: number;
|
||||
export interface UserCollectionEntry {
|
||||
user_collection_id: number;
|
||||
entry_id: number;
|
||||
|
||||
order: number;
|
||||
Reference in new issue
Block a user