Renamed types
parent
f7bad33c1f
commit
583fe520ef
|
@ -1,9 +1,9 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Modules from files
|
// Modules from files
|
||||||
import { IAuthor, AnimationI, IRating } from "../../interfaces";
|
import { AuthorType, IAnimation, RatingType, CategoryType } from "../../interfaces";
|
||||||
|
|
||||||
export default class Animation implements AnimationI {
|
export default class Animation implements IAnimation {
|
||||||
|
|
||||||
//#region Properties
|
//#region Properties
|
||||||
Censored: boolean;
|
Censored: boolean;
|
||||||
|
@ -13,8 +13,8 @@ export default class Animation implements AnimationI {
|
||||||
Lenght: string;
|
Lenght: string;
|
||||||
Pages: string;
|
Pages: string;
|
||||||
Resolution: string[];
|
Resolution: string[];
|
||||||
Authors: IAuthor[];
|
Authors: AuthorType[];
|
||||||
Category: string;
|
Category: CategoryType;
|
||||||
Changelog: string[];
|
Changelog: string[];
|
||||||
Cover: string;
|
Cover: string;
|
||||||
ID: number;
|
ID: number;
|
||||||
|
@ -22,7 +22,7 @@ export default class Animation implements AnimationI {
|
||||||
Name: string;
|
Name: string;
|
||||||
Overview: string;
|
Overview: string;
|
||||||
Prefixes: string[];
|
Prefixes: string[];
|
||||||
Rating: IRating;
|
Rating: RatingType;
|
||||||
Tags: string[];
|
Tags: string[];
|
||||||
ThreadPublishingDate: Date;
|
ThreadPublishingDate: Date;
|
||||||
Url: string;
|
Url: string;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Modules from files
|
// Modules from files
|
||||||
import { IAuthor, AssetI, IRating } from "../../interfaces";
|
import { AuthorType, IAsset, RatingType, CategoryType } from "../../interfaces";
|
||||||
|
|
||||||
export default class Asset implements AssetI {
|
export default class Asset implements IAsset {
|
||||||
|
|
||||||
//#region Properties
|
//#region Properties
|
||||||
AssetLink: string;
|
AssetLink: string;
|
||||||
|
@ -12,8 +12,8 @@ export default class Asset implements AssetI {
|
||||||
IncludedAssets: string[];
|
IncludedAssets: string[];
|
||||||
OfficialLinks: string[];
|
OfficialLinks: string[];
|
||||||
SKU: string;
|
SKU: string;
|
||||||
Authors: IAuthor[];
|
Authors: AuthorType[];
|
||||||
Category: string;
|
Category: CategoryType;
|
||||||
Changelog: string[];
|
Changelog: string[];
|
||||||
Cover: string;
|
Cover: string;
|
||||||
ID: number;
|
ID: number;
|
||||||
|
@ -21,7 +21,7 @@ export default class Asset implements AssetI {
|
||||||
Name: string;
|
Name: string;
|
||||||
Overview: string;
|
Overview: string;
|
||||||
Prefixes: string[];
|
Prefixes: string[];
|
||||||
Rating: IRating;
|
Rating: RatingType;
|
||||||
Tags: string[];
|
Tags: string[];
|
||||||
ThreadPublishingDate: Date;
|
ThreadPublishingDate: Date;
|
||||||
Url: string;
|
Url: string;
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Modules from files
|
// Modules from files
|
||||||
import { IAuthor, ComicI, IRating } from "../../interfaces";
|
import { AuthorType, IComic, RatingType, CategoryType } from "../../interfaces";
|
||||||
|
|
||||||
export default class Comic implements ComicI {
|
export default class Comic implements IComic {
|
||||||
|
|
||||||
//#region Properties
|
//#region Properties
|
||||||
Genre: string[];
|
Genre: string[];
|
||||||
Pages: string;
|
Pages: string;
|
||||||
Resolution: string[];
|
Resolution: string[];
|
||||||
Authors: IAuthor[];
|
Authors: AuthorType[];
|
||||||
Category: string;
|
Category: CategoryType;
|
||||||
Changelog: string[];
|
Changelog: string[];
|
||||||
Cover: string;
|
Cover: string;
|
||||||
ID: number;
|
ID: number;
|
||||||
|
@ -18,7 +18,7 @@ export default class Comic implements ComicI {
|
||||||
Name: string;
|
Name: string;
|
||||||
Overview: string;
|
Overview: string;
|
||||||
Prefixes: string[];
|
Prefixes: string[];
|
||||||
Rating: IRating;
|
Rating: RatingType;
|
||||||
Tags: string[];
|
Tags: string[];
|
||||||
ThreadPublishingDate: Date;
|
ThreadPublishingDate: Date;
|
||||||
Url: string;
|
Url: string;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Modules from files
|
// Modules from files
|
||||||
import { IAuthor, GameI, IRating } from "../../interfaces";
|
import { AuthorType, EngineType, IGame, RatingType, StatusType, CategoryType } from "../../interfaces";
|
||||||
|
|
||||||
export default class Game implements GameI {
|
export default class Game implements IGame {
|
||||||
|
|
||||||
//#region Properties
|
//#region Properties
|
||||||
Censored: boolean;
|
Censored: boolean;
|
||||||
|
@ -13,8 +13,8 @@ export default class Game implements GameI {
|
||||||
LastRelease: Date;
|
LastRelease: Date;
|
||||||
OS: string[];
|
OS: string[];
|
||||||
Version: string;
|
Version: string;
|
||||||
Authors: IAuthor[];
|
Authors: AuthorType[];
|
||||||
Category: string;
|
Category: CategoryType;
|
||||||
Changelog: string[];
|
Changelog: string[];
|
||||||
Cover: string;
|
Cover: string;
|
||||||
ID: number;
|
ID: number;
|
||||||
|
@ -22,10 +22,13 @@ export default class Game implements GameI {
|
||||||
Name: string;
|
Name: string;
|
||||||
Overview: string;
|
Overview: string;
|
||||||
Prefixes: string[];
|
Prefixes: string[];
|
||||||
Rating: IRating;
|
Rating: RatingType;
|
||||||
Tags: string[];
|
Tags: string[];
|
||||||
ThreadPublishingDate: Date;
|
ThreadPublishingDate: Date;
|
||||||
Url: string;
|
Url: string;
|
||||||
|
Engine: EngineType;
|
||||||
|
Mod: boolean;
|
||||||
|
Status: StatusType;
|
||||||
//#endregion Properties
|
//#endregion Properties
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// Modules from files
|
// Modules from files
|
||||||
import { IAuthor, IRating, IHandiwork } from "../../interfaces";
|
import { AuthorType, RatingType, IHandiwork , EngineType, CategoryType, StatusType} from "../../interfaces";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* It represents a generic work, be it a game, a comic, an animation or an asset.
|
* It represents a generic work, be it a game, a comic, an animation or an asset.
|
||||||
|
@ -27,18 +27,21 @@ export default class HandiWork implements IHandiwork {
|
||||||
Resolution: string[];
|
Resolution: string[];
|
||||||
SKU: string;
|
SKU: string;
|
||||||
Version: string;
|
Version: string;
|
||||||
Authors: IAuthor[];
|
Authors: AuthorType[];
|
||||||
Category: string;
|
Category: CategoryType;
|
||||||
Cover: string;
|
Cover: string;
|
||||||
ID: number;
|
ID: number;
|
||||||
LastThreadUpdate: Date;
|
LastThreadUpdate: Date;
|
||||||
Name: string;
|
Name: string;
|
||||||
Overview: string;
|
Overview: string;
|
||||||
Prefixes: string[];
|
Prefixes: string[];
|
||||||
Rating: IRating;
|
Rating: RatingType;
|
||||||
Tags: string[];
|
Tags: string[];
|
||||||
ThreadPublishingDate: Date;
|
ThreadPublishingDate: Date;
|
||||||
Url: string;
|
Url: string;
|
||||||
|
Engine: EngineType;
|
||||||
|
Mod: boolean;
|
||||||
|
Status: StatusType;
|
||||||
//#endregion Properties
|
//#endregion Properties
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue