UNPKG

@space-cow-media/spellbook-client

Version:

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

90 lines (89 loc) 3.1 kB
/** * Commander Spellbook API * API for Commander Spellbook, the combo database engine for Magic: The Gathering * * The version of the OpenAPI document: 4.8.19 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CardUsedInVariantSuggestionRequest } from './cardUsedInVariantSuggestionRequest'; import type { FeatureProducedInVariantSuggestionRequest } from './featureProducedInVariantSuggestionRequest'; import type { TemplateRequiredInVariantSuggestionRequest } from './templateRequiredInVariantSuggestionRequest'; /** * * @export * @interface VariantSuggestionRequest */ export interface VariantSuggestionRequest { /** * * @type {Array<CardUsedInVariantSuggestionRequest>} * @memberof VariantSuggestionRequest */ uses: Array<CardUsedInVariantSuggestionRequest>; /** * * @type {Array<TemplateRequiredInVariantSuggestionRequest>} * @memberof VariantSuggestionRequest */ requires: Array<TemplateRequiredInVariantSuggestionRequest>; /** * * @type {Array<FeatureProducedInVariantSuggestionRequest>} * @memberof VariantSuggestionRequest */ produces: Array<FeatureProducedInVariantSuggestionRequest>; /** * If this suggestion is a variant of an existing one, link it here. * @type {string} * @memberof VariantSuggestionRequest */ variantOf?: string | null; /** * Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format. * @type {string} * @memberof VariantSuggestionRequest */ manaNeeded?: string; /** * Easily achievable prerequisites for this combo. * @type {string} * @memberof VariantSuggestionRequest */ easyPrerequisites?: string; /** * Notable prerequisites for this combo. * @type {string} * @memberof VariantSuggestionRequest */ notablePrerequisites?: string; /** * Long description, in steps * @type {string} * @memberof VariantSuggestionRequest */ description: string; /** * Is this combo a spoiler? * @type {boolean} * @memberof VariantSuggestionRequest */ spoiler?: boolean; /** * Comment written by the user that suggested this * @type {string} * @memberof VariantSuggestionRequest */ comment?: string; } /** * Check if a given object implements the VariantSuggestionRequest interface. */ export declare function instanceOfVariantSuggestionRequest(value: object): value is VariantSuggestionRequest; export declare function VariantSuggestionRequestFromJSON(json: any): VariantSuggestionRequest; export declare function VariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantSuggestionRequest; export declare function VariantSuggestionRequestToJSON(json: any): VariantSuggestionRequest; export declare function VariantSuggestionRequestToJSONTyped(value?: VariantSuggestionRequest | null, ignoreDiscriminator?: boolean): any;