igdb-ts
Version:
Unofficial IGDB API TypeScript wrapper.
79 lines • 4.53 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchPlatformReferenceFields = exports.PlatformReferenceFields = exports.PlatformFields = exports.PlatformCategory = void 0;
var PlatformCategory;
(function (PlatformCategory) {
PlatformCategory[PlatformCategory["console"] = 1] = "console";
PlatformCategory[PlatformCategory["arcade"] = 2] = "arcade";
PlatformCategory[PlatformCategory["platform"] = 3] = "platform";
PlatformCategory[PlatformCategory["operating_system"] = 4] = "operating_system";
PlatformCategory[PlatformCategory["portable_console"] = 5] = "portable_console";
PlatformCategory[PlatformCategory["computer"] = 6] = "computer";
})(PlatformCategory = exports.PlatformCategory || (exports.PlatformCategory = {}));
var PlatformFields;
(function (PlatformFields) {
PlatformFields["ID"] = "id";
PlatformFields["CHECKSUM"] = "checksum";
PlatformFields["ABBREVIATION"] = "abbreviation";
PlatformFields["ALTERNATIVE_NAME"] = "alternative_name";
PlatformFields["CATEGORY"] = "category";
PlatformFields["CREATED_AT"] = "created_at";
PlatformFields["GENERATION"] = "generation";
PlatformFields["NAME"] = "name";
PlatformFields["PLATFORM_FAMILY"] = "platform_family";
PlatformFields["PLATFORM_LOGO"] = "platform_logo";
PlatformFields["SLUG"] = "slug";
PlatformFields["SUMMARY"] = "summary";
PlatformFields["UPDATED_AT"] = "updated_at";
PlatformFields["URL"] = "url";
PlatformFields["VERSIONS"] = "versions";
PlatformFields["WEBSITES"] = "websites";
})(PlatformFields = exports.PlatformFields || (exports.PlatformFields = {}));
/**
* Referenced from [Game]({@link Game.ts}) - platforms field
*
*
* Referenced from [Game Engine]({@link GameEngine.ts}) - platforms field
*/
var PlatformReferenceFields;
(function (PlatformReferenceFields) {
PlatformReferenceFields["ID"] = "platforms.id";
PlatformReferenceFields["CHECKSUM"] = "platforms.checksum";
PlatformReferenceFields["ABBREVIATION"] = "platforms.abbreviation";
PlatformReferenceFields["ALTERNATIVE_NAME"] = "platforms.alternative_name";
PlatformReferenceFields["CATEGORY"] = "platforms.category";
PlatformReferenceFields["CREATED_AT"] = "platforms.created_at";
PlatformReferenceFields["GENERATION"] = "platforms.generation";
PlatformReferenceFields["NAME"] = "platforms.name";
PlatformReferenceFields["PLATFORM_FAMILY"] = "platforms.platform_family";
PlatformReferenceFields["PLATFORM_LOGO"] = "platforms.platform_logo";
PlatformReferenceFields["SLUG"] = "platforms.slug";
PlatformReferenceFields["SUMMARY"] = "platforms.summary";
PlatformReferenceFields["UPDATED_AT"] = "platforms.updated_at";
PlatformReferenceFields["URL"] = "platforms.url";
PlatformReferenceFields["VERSIONS"] = "platforms.versions";
PlatformReferenceFields["WEBSITES"] = "platforms.websites";
})(PlatformReferenceFields = exports.PlatformReferenceFields || (exports.PlatformReferenceFields = {}));
/**
* Referenced from [Search]({@link Search.ts}) - platform field
*/
var SearchPlatformReferenceFields;
(function (SearchPlatformReferenceFields) {
SearchPlatformReferenceFields["ID"] = "platform.id";
SearchPlatformReferenceFields["CHECKSUM"] = "platform.checksum";
SearchPlatformReferenceFields["ABBREVIATION"] = "platform.abbreviation";
SearchPlatformReferenceFields["ALTERNATIVE_NAME"] = "platform.alternative_name";
SearchPlatformReferenceFields["CATEGORY"] = "platform.category";
SearchPlatformReferenceFields["CREATED_AT"] = "platform.created_at";
SearchPlatformReferenceFields["GENERATION"] = "platform.generation";
SearchPlatformReferenceFields["NAME"] = "platform.name";
SearchPlatformReferenceFields["PLATFORM_FAMILY"] = "platform.platform_family";
SearchPlatformReferenceFields["PLATFORM_LOGO"] = "platform.platform_logo";
SearchPlatformReferenceFields["SLUG"] = "platform.slug";
SearchPlatformReferenceFields["SUMMARY"] = "platform.summary";
SearchPlatformReferenceFields["UPDATED_AT"] = "platform.updated_at";
SearchPlatformReferenceFields["URL"] = "platform.url";
SearchPlatformReferenceFields["VERSIONS"] = "platform.versions";
SearchPlatformReferenceFields["WEBSITES"] = "platform.websites";
})(SearchPlatformReferenceFields = exports.SearchPlatformReferenceFields || (exports.SearchPlatformReferenceFields = {}));
//# sourceMappingURL=Platform.js.map