open-critic-node
Version:
A NodeJS Wrapper for the Open Critic API
62 lines • 1.41 kB
TypeScript
import { GameTier } from "../enums";
import { IPlatform } from "./platform.interface";
export interface IGameDetails {
reviewSummary: {
completed: boolean;
};
mastheadScreenshot: {
fullRes: string;
thumbnail: string;
};
bannerScreenshot: {
fullRes: string;
};
mainChannel: any;
Rating: {
value: string;
};
newsSearchEnabled: true;
type: string;
Skus: any[];
percentRecommended: number;
numReviews: number;
numTopCriticReviews: number;
numUserReviews: number;
medianScore: number;
averageScore: number;
topCriticScore: number;
percentile: number;
tier: GameTier;
hasLootBoxes: boolean;
isMajorTitle: boolean;
name: string;
screenshots: Array<{
fullRes: string;
thumbnail: string;
}>;
trailers: any[];
Companies: Array<{
name: string;
type: string;
}>;
Platforms: IPlatform[];
Genres: Array<{
id: number;
name: string;
}>;
id: number;
firstReleaseDate: Date;
Affiliates: Array<{
externalUrl: string;
name: string;
}>;
createdAt: Date;
updatedAt: Date;
description: string;
monetizationFeatures: {
hasLootBoxes: boolean;
};
firstReviewDate: Date;
latestReviewDate: Date;
}
//# sourceMappingURL=game-details.interface.d.ts.map