UNPKG

@space-cow-media/spellbook-client

Version:

An Open Api generated client for the Commander Spellbook backend REST API.

107 lines 2.58 kB
/* 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. */ /** * * `C` - C * * `W` - W * * `U` - U * * `B` - B * * `R` - R * * `G` - G * * `WU` - WU * * `WB` - WB * * `RW` - RW * * `GW` - GW * * `UB` - UB * * `UR` - UR * * `GU` - GU * * `BR` - BR * * `BG` - BG * * `RG` - RG * * `WUB` - WUB * * `URW` - URW * * `GWU` - GWU * * `RWB` - RWB * * `WBG` - WBG * * `RGW` - RGW * * `UBR` - UBR * * `BGU` - BGU * * `GUR` - GUR * * `BRG` - BRG * * `WUBR` - WUBR * * `UBRG` - UBRG * * `BRGW` - BRGW * * `RGWU` - RGWU * * `GWUB` - GWUB * * `WUBRG` - WUBRG * @export * @enum {string} */ export var ColorEnum; (function (ColorEnum) { ColorEnum["C"] = "C"; ColorEnum["W"] = "W"; ColorEnum["U"] = "U"; ColorEnum["B"] = "B"; ColorEnum["R"] = "R"; ColorEnum["G"] = "G"; ColorEnum["Wu"] = "WU"; ColorEnum["Wb"] = "WB"; ColorEnum["Rw"] = "RW"; ColorEnum["Gw"] = "GW"; ColorEnum["Ub"] = "UB"; ColorEnum["Ur"] = "UR"; ColorEnum["Gu"] = "GU"; ColorEnum["Br"] = "BR"; ColorEnum["Bg"] = "BG"; ColorEnum["Rg"] = "RG"; ColorEnum["Wub"] = "WUB"; ColorEnum["Urw"] = "URW"; ColorEnum["Gwu"] = "GWU"; ColorEnum["Rwb"] = "RWB"; ColorEnum["Wbg"] = "WBG"; ColorEnum["Rgw"] = "RGW"; ColorEnum["Ubr"] = "UBR"; ColorEnum["Bgu"] = "BGU"; ColorEnum["Gur"] = "GUR"; ColorEnum["Brg"] = "BRG"; ColorEnum["Wubr"] = "WUBR"; ColorEnum["Ubrg"] = "UBRG"; ColorEnum["Brgw"] = "BRGW"; ColorEnum["Rgwu"] = "RGWU"; ColorEnum["Gwub"] = "GWUB"; ColorEnum["Wubrg"] = "WUBRG"; })(ColorEnum || (ColorEnum = {})); export function instanceOfColorEnum(value) { for (const key in ColorEnum) { if (Object.prototype.hasOwnProperty.call(ColorEnum, key)) { if (ColorEnum[key] === value) { return true; } } } return false; } export function ColorEnumFromJSON(json) { return ColorEnumFromJSONTyped(json, false); } export function ColorEnumFromJSONTyped(json, ignoreDiscriminator) { return json; } export function ColorEnumToJSON(value) { return value; } export function ColorEnumToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=ColorEnum.js.map