UNPKG

igdb-ts

Version:

Unofficial IGDB API TypeScript wrapper.

45 lines (44 loc) 1.11 kB
import { Identifiable } from "../utility"; export interface PlatformWebsite extends Identifiable { category: PlatformWebsiteCategory; trusted: boolean; url: string; } export declare enum PlatformWebsiteCategory { "official" = 1, "wikia" = 2, "wikipedia" = 3, "facebook" = 4, "twitter" = 5, "twitch" = 6, "instagram" = 7, "youtube" = 8, "iphone" = 9, "ipad" = 10, "android" = 11, "steam" = 12, "reddit" = 13, "discord" = 14, "google_plus" = 15, "tumblr" = 16, "linkedin" = 17, "pinterest" = 18, "soundcloud" = 19 } export declare enum PlatformWebsiteFields { "ID" = "id", "CHECKSUM" = "checksum", "CATEGORY" = "category", "TRUSTED" = "trusted", "URL" = "url" } /** * Referenced from [Platform]({@link Platform.ts}) - websites field */ export declare enum PlatformWebsiteReferenceFields { "ID" = "websites.id", "CHECKSUM" = "websites.checksum", "CATEGORY" = "websites.category", "TRUSTED" = "websites.trusted", "URL" = "websites.url" }