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