Front: renamed model file to follow kebab case

This commit is contained in:
X4Lo committed 2024-09-13 22:22:57 +01:00
1 parent f7cb2bed53
commit 75de013f82
12 files changed
+13 -13

No files matched your search

@@ -1,4 +1,4 @@
export interface UserCollectionEntry {
export interface CollectionEntry {
user_collection_id: number;
entry_id: number;
@@ -1,8 +1,8 @@
import { CollectionEntry } from './dtos/collection-entry.dto';
import { Media } from './media.model';
import { UserCollectionEntry } from './userCollectionEntry.model';
import { CollectionEntry } from './collection-entry.model';
import { CollectionEntryDTO } from './dtos/collection-entry-dto.model';
export interface UserCollection {
export interface Collection {
id: number;
tmdbId: number;
imdbId: number;
@@ -18,8 +18,8 @@ export interface UserCollection {
backdropPath: string;
isLocal: boolean;
userCollectionEntries: UserCollectionEntry[];
entries: CollectionEntry[];
collectionEntries: CollectionEntry[];
entries: CollectionEntryDTO[];
changed: boolean;
isChecked: boolean;
@@ -1,5 +1,5 @@
import { Entry } from '../entry.model';
export interface CollectionEntry extends Entry {
export interface CollectionEntryDTO extends Entry {
order: number;
}
@@ -1,5 +1,5 @@
import { Entry } from '../entry.model';
import { EpisodeSeen } from '../episodeSeen.model';
import { EpisodeSeen } from '../episode-seen.model';
import { Season } from '../season.model';
export interface EpisodeDTO {
@@ -1,9 +1,9 @@
import { EntryId } from './entryId.model';
import { EntryRating } from './entryRating.model';
import { EntrySeen } from './entrySeen.model';
import { EntryRating } from './entry-rating.model';
import { EntrySeen } from './entry-seen.model';
import { Media } from './media.model';
import { Season } from './season.model';
import { UserCollection } from './userCollection.model';
import { Collection } from './collection.model';
export interface Entry {
id: number;
@@ -12,7 +12,7 @@ export interface Entry {
entryRating: EntryRating;
entrySeen: EntrySeen[];
seasons: Season[];
collections: UserCollection[];
collections: Collection[];
title: string;
original_title: string;
@@ -1,4 +1,4 @@
import { EpisodeSeen } from "./episodeSeen.model";
import { EpisodeSeen } from "./episode-seen.model";
export interface Episode {
id: number;