big changes; we have a good TS config now

This commit is contained in:
Moritz Jung 2025-01-14 22:30:28 +01:00
parent cbbaf54b33
commit 4497991344
54 changed files with 750 additions and 671 deletions

View file

@ -1,4 +1,4 @@
import { MediaType } from '../utils/MediaType';
import type { MediaType } from '../utils/MediaType';
export abstract class MediaTypeModel {
type: string;
@ -13,14 +13,14 @@ export abstract class MediaTypeModel {
userData: object;
protected constructor() {
this.type = undefined;
this.subType = undefined;
this.title = undefined;
this.englishTitle = undefined;
this.year = undefined;
this.dataSource = undefined;
this.url = undefined;
this.id = undefined;
this.type = '';
this.subType = '';
this.title = '';
this.englishTitle = '';
this.year = '';
this.dataSource = '';
this.url = '';
this.id = '';
this.userData = {};
}