igdb-types
Version:
TypeScript type definitions for IGDB API responses
24 lines (23 loc) • 908 B
TypeScript
import { CollectionType } from "./CollectionType";
/**
* Represents collection relation type information.
*
* Request Path: https://api.igdb.com/v4/collection_relation_types
* Description: Collection Relation Types.
*/
export type CollectionRelationType = {
/** Reference ID for Collection Type. The allowed child collection type. */
allowed_child_type: number | CollectionType;
/** Reference ID for Collection Type. The allowed parent collection type. */
allowed_parent_type: number | CollectionType;
/** UUID hash of the object. */
checksum: string;
/** Date this was initially added to the IGDB database. */
created_at: number | Date;
/** The relationship type description. */
description?: string;
/** The relationship type name. */
name: string;
/** The last date this entry was updated in the IGDB database. */
updated_at: number | Date;
};