UNPKG

@space-cow-media/spellbook-client

Version:

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

57 lines (56 loc) 1.72 kB
/** * Commander Spellbook API * API for Commander Spellbook, the combo database engine for Magic: The Gathering * * The version of the OpenAPI document: 4.2.2 * * * 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? * * * `U` - 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;