@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
55 lines • 1.57 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* Commander Spellbook API
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
*
* The version of the OpenAPI document: 5.4.10
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* * `H` - Hand
* * `B` - Battlefield
* * `C` - Command Zone
* * `E` - Exile
* * `G` - Graveyard
* * `L` - Library
* @export
* @enum {string}
*/
export var ZoneLocationsEnum;
(function (ZoneLocationsEnum) {
ZoneLocationsEnum["H"] = "H";
ZoneLocationsEnum["B"] = "B";
ZoneLocationsEnum["C"] = "C";
ZoneLocationsEnum["E"] = "E";
ZoneLocationsEnum["G"] = "G";
ZoneLocationsEnum["L"] = "L";
})(ZoneLocationsEnum || (ZoneLocationsEnum = {}));
export function instanceOfZoneLocationsEnum(value) {
for (const key in ZoneLocationsEnum) {
if (Object.prototype.hasOwnProperty.call(ZoneLocationsEnum, key)) {
if (ZoneLocationsEnum[key] === value) {
return true;
}
}
}
return false;
}
export function ZoneLocationsEnumFromJSON(json) {
return ZoneLocationsEnumFromJSONTyped(json, false);
}
export function ZoneLocationsEnumFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
export function ZoneLocationsEnumToJSON(value) {
return value;
}
export function ZoneLocationsEnumToJSONTyped(value, ignoreDiscriminator) {
return value;
}
//# sourceMappingURL=ZoneLocationsEnum.js.map