igdb-types
Version:
TypeScript type definitions for IGDB API responses
21 lines (20 loc) • 598 B
TypeScript
/**
* Represents genre information.
*
* Request Path: https://api.igdb.com/v4/genres
* Description: Genres of video game.
*/
export type Genre = {
/** UUID hash of the object. */
checksum: string;
/** Date this was initially added to the IGDB database. */
created_at: number | Date;
/** Genre name. */
name: string;
/** A url-safe, unique, lower-case version of the name. */
slug: string;
/** The last date this entry was updated in the IGDB database. */
updated_at: number | Date;
/** The website address (URL) of the item. */
url?: string;
};