UNPKG

@space-cow-media/spellbook-client

Version:

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

53 lines (39 loc) 1.46 kB
# PatchedVariantSuggestionRequest ## Properties Name | Type ------------ | ------------- `uses` | [Array<CardUsedInVariantSuggestionRequest>](CardUsedInVariantSuggestionRequest.md) `requires` | [Array<TemplateRequiredInVariantSuggestionRequest>](TemplateRequiredInVariantSuggestionRequest.md) `produces` | [Array<FeatureProducedInVariantSuggestionRequest>](FeatureProducedInVariantSuggestionRequest.md) `variantOf` | string `manaNeeded` | string `easyPrerequisites` | string `notablePrerequisites` | string `description` | string `spoiler` | boolean `comment` | string ## Example ```typescript import type { PatchedVariantSuggestionRequest } from '' // TODO: Update the object below with actual values const example = { "uses": null, "requires": null, "produces": null, "variantOf": null, "manaNeeded": null, "easyPrerequisites": null, "notablePrerequisites": null, "description": null, "spoiler": null, "comment": null, } satisfies PatchedVariantSuggestionRequest 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 PatchedVariantSuggestionRequest 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)