UNPKG

@space-cow-media/spellbook-client

Version:

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

58 lines (57 loc) 1.81 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 { FeatureStatusEnum } from './featureStatusEnum'; /** * * @export * @interface Feature */ export interface Feature { /** * * @type {number} * @memberof Feature */ readonly id: number; /** * Short name for a produced effect * @type {string} * @memberof Feature */ name: string; /** * Is this an uncountable feature? Uncountable features can only appear in one copy and speed up variant generation. * @type {boolean} * @memberof Feature */ uncountable: boolean; /** * Is this feature an utility for variant generation, a helper to be exploited somehow, or a standalone, probably impactful effect? (public utilities are visible to combo submitters) * * * `HU` - Hidden Utility * * `PU` - Public Utility * * `H` - Helper * * `C` - Contextual * * `S` - Standalone * @type {FeatureStatusEnum} * @memberof Feature */ status: FeatureStatusEnum; } /** * Check if a given object implements the Feature interface. */ export declare function instanceOfFeature(value: object): value is Feature; export declare function FeatureFromJSON(json: any): Feature; export declare function FeatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): Feature; export declare function FeatureToJSON(json: any): Feature; export declare function FeatureToJSONTyped(value?: Omit<Feature, 'id'> | null, ignoreDiscriminator?: boolean): any;