UNPKG

@space-cow-media/spellbook-client

Version:

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

57 lines (43 loc) 1.28 kB
# ClassifiedVariant ## Properties Name | Type ------------ | ------------- `combo` | [Variant](Variant.md) `relevant` | boolean `borderlineRelevant` | boolean `arguablyTwoCard` | boolean `definitelyTwoCard` | boolean `speed` | number `massLandDenial` | boolean `extraTurn` | boolean `lock` | boolean `skipTurns` | boolean `controlAllOpponents` | boolean `controlSomeOpponents` | boolean ## Example ```typescript import type { ClassifiedVariant } from '' // TODO: Update the object below with actual values const example = { "combo": null, "relevant": null, "borderlineRelevant": null, "arguablyTwoCard": null, "definitelyTwoCard": null, "speed": null, "massLandDenial": null, "extraTurn": null, "lock": null, "skipTurns": null, "controlAllOpponents": null, "controlSomeOpponents": null, } satisfies ClassifiedVariant console.log(example) // Convert the instance to a JSON string const exampleJSON: string = JSON.stringify(example) console.log(exampleJSON) // Parse the JSON string back to an object const exampleParsed = JSON.parse(exampleJSON) as ClassifiedVariant console.log(exampleParsed) ``` [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)