UNPKG

@space-cow-media/spellbook-client

Version:

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

40 lines (39 loc) 1.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 { CardInDeck } from './cardInDeck'; /** * * @export * @interface Deck */ export interface Deck { /** * * @type {Array<CardInDeck>} * @memberof Deck */ main: Array<CardInDeck>; /** * * @type {Array<CardInDeck>} * @memberof Deck */ commanders: Array<CardInDeck>; } /** * Check if a given object implements the Deck interface. */ export declare function instanceOfDeck(value: object): value is Deck; export declare function DeckFromJSON(json: any): Deck; export declare function DeckFromJSONTyped(json: any, ignoreDiscriminator: boolean): Deck; export declare function DeckToJSON(json: any): Deck; export declare function DeckToJSONTyped(value?: Deck | null, ignoreDiscriminator?: boolean): any;