Created classes for every work
							parent
							
								
									5caa3c28a8
								
							
						
					
					
						commit
						3380885bcb
					
				| 
						 | 
				
			
			@ -0,0 +1,31 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Modules from files
 | 
			
		||||
import { AuthorI, AnimationI, RatingI } from "../../interfaces";
 | 
			
		||||
 | 
			
		||||
export default class Animation implements AnimationI {
 | 
			
		||||
    
 | 
			
		||||
    //#region Properties
 | 
			
		||||
    Censored: boolean;
 | 
			
		||||
    Genre: string[];
 | 
			
		||||
    Installation: string;
 | 
			
		||||
    Language: string[];
 | 
			
		||||
    Lenght: string;
 | 
			
		||||
    Pages: string;
 | 
			
		||||
    Resolution: string[];
 | 
			
		||||
    Authors: AuthorI[];
 | 
			
		||||
    Category: string;
 | 
			
		||||
    Changelog: string[];
 | 
			
		||||
    Cover: string;
 | 
			
		||||
    ID: number;
 | 
			
		||||
    LastThreadUpdate: Date;
 | 
			
		||||
    Name: string;
 | 
			
		||||
    Overview: string;
 | 
			
		||||
    Prefixes: string[];
 | 
			
		||||
    Rating: RatingI;
 | 
			
		||||
    Tags: string[];
 | 
			
		||||
    ThreadPublishingDate: Date;
 | 
			
		||||
    Url: string;
 | 
			
		||||
    //#endregion Properties
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,30 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Modules from files
 | 
			
		||||
import { AuthorI, AssetI, RatingI } from "../../interfaces";
 | 
			
		||||
 | 
			
		||||
export default class Asset implements AssetI {
 | 
			
		||||
 | 
			
		||||
    //#region Properties
 | 
			
		||||
    AssetLink: string;
 | 
			
		||||
    AssociatedAssets: string[];
 | 
			
		||||
    CompatibleSoftware: string;
 | 
			
		||||
    IncludedAssets: string[];
 | 
			
		||||
    OfficialLinks: string[];
 | 
			
		||||
    SKU: string;
 | 
			
		||||
    Authors: AuthorI[];
 | 
			
		||||
    Category: string;
 | 
			
		||||
    Changelog: string[];
 | 
			
		||||
    Cover: string;
 | 
			
		||||
    ID: number;
 | 
			
		||||
    LastThreadUpdate: Date;
 | 
			
		||||
    Name: string;
 | 
			
		||||
    Overview: string;
 | 
			
		||||
    Prefixes: string[];
 | 
			
		||||
    Rating: RatingI;
 | 
			
		||||
    Tags: string[];
 | 
			
		||||
    ThreadPublishingDate: Date;
 | 
			
		||||
    Url: string;
 | 
			
		||||
    //#endregion Properties
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Modules from files
 | 
			
		||||
import { AuthorI, ComicI, RatingI } from "../../interfaces";
 | 
			
		||||
 | 
			
		||||
export default class Comic implements ComicI {
 | 
			
		||||
    
 | 
			
		||||
    //#region Properties
 | 
			
		||||
    Genre: string[];
 | 
			
		||||
    Pages: string;
 | 
			
		||||
    Resolution: string[];
 | 
			
		||||
    Authors: AuthorI[];
 | 
			
		||||
    Category: string;
 | 
			
		||||
    Changelog: string[];
 | 
			
		||||
    Cover: string;
 | 
			
		||||
    ID: number;
 | 
			
		||||
    LastThreadUpdate: Date;
 | 
			
		||||
    Name: string;
 | 
			
		||||
    Overview: string;
 | 
			
		||||
    Prefixes: string[];
 | 
			
		||||
    Rating: RatingI;
 | 
			
		||||
    Tags: string[];
 | 
			
		||||
    ThreadPublishingDate: Date;
 | 
			
		||||
    Url: string;
 | 
			
		||||
    //#endregion Properties
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,31 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Modules from files
 | 
			
		||||
import { AuthorI, GameI, RatingI } from "../../interfaces";
 | 
			
		||||
 | 
			
		||||
export default class Game implements GameI {
 | 
			
		||||
 | 
			
		||||
    //#region Properties
 | 
			
		||||
    Censored: boolean;
 | 
			
		||||
    Genre: string[];
 | 
			
		||||
    Installation: string;
 | 
			
		||||
    Language: string[];
 | 
			
		||||
    LastRelease: Date;
 | 
			
		||||
    OS: string[];
 | 
			
		||||
    Version: string;
 | 
			
		||||
    Authors: AuthorI[];
 | 
			
		||||
    Category: string;
 | 
			
		||||
    Changelog: string[];
 | 
			
		||||
    Cover: string;
 | 
			
		||||
    ID: number;
 | 
			
		||||
    LastThreadUpdate: Date;
 | 
			
		||||
    Name: string;
 | 
			
		||||
    Overview: string;
 | 
			
		||||
    Prefixes: string[];
 | 
			
		||||
    Rating: RatingI;
 | 
			
		||||
    Tags: string[];
 | 
			
		||||
    ThreadPublishingDate: Date;
 | 
			
		||||
    Url: string;
 | 
			
		||||
    //#endregion Properties
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,44 @@
 | 
			
		|||
"use strict";
 | 
			
		||||
 | 
			
		||||
// Modules from files
 | 
			
		||||
import { AuthorI, RatingI, HandiworkI } from "../../interfaces";
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * It represents a generic work, be it a game, a comic, an animation or an asset.
 | 
			
		||||
 */
 | 
			
		||||
export default class HandiWork implements HandiworkI  {
 | 
			
		||||
 | 
			
		||||
    //#region Properties
 | 
			
		||||
    AssetLink: string;
 | 
			
		||||
    AssociatedAssets: string[];
 | 
			
		||||
    Censored: boolean;
 | 
			
		||||
    Changelog: string[];
 | 
			
		||||
    CompatibleSoftware: string;
 | 
			
		||||
    Genre: string[];
 | 
			
		||||
    IncludedAssets: string[];
 | 
			
		||||
    Installation: string;
 | 
			
		||||
    Language: string[];
 | 
			
		||||
    LastRelease: Date;
 | 
			
		||||
    Lenght: string;
 | 
			
		||||
    OfficialLinks: string[];
 | 
			
		||||
    OS: string[];
 | 
			
		||||
    Pages: string;
 | 
			
		||||
    Password: string;
 | 
			
		||||
    Resolution: string[];
 | 
			
		||||
    SKU: string;
 | 
			
		||||
    Version: string;
 | 
			
		||||
    Authors: AuthorI[];
 | 
			
		||||
    Category: string;
 | 
			
		||||
    Cover: string;
 | 
			
		||||
    ID: number;
 | 
			
		||||
    LastThreadUpdate: Date;
 | 
			
		||||
    Name: string;
 | 
			
		||||
    Overview: string;
 | 
			
		||||
    Prefixes: string[];
 | 
			
		||||
    Rating: RatingI;
 | 
			
		||||
    Tags: string[];
 | 
			
		||||
    ThreadPublishingDate: Date;
 | 
			
		||||
    Url: string;
 | 
			
		||||
    //#endregion Properties
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue