@space-cow-media/spellbook-client 3.15.4 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/cardListFromTextApi.d.ts +1 -1
- package/dist/apis/cardListFromTextApi.js +1 -1
- package/dist/apis/cardListFromUrlApi.d.ts +1 -1
- package/dist/apis/cardListFromUrlApi.js +1 -1
- package/dist/apis/cardsApi.d.ts +1 -1
- package/dist/apis/cardsApi.js +1 -1
- package/dist/apis/defaultApi.d.ts +1 -1
- package/dist/apis/defaultApi.js +1 -1
- package/dist/apis/estimateBracketApi.d.ts +3 -7
- package/dist/apis/estimateBracketApi.js +5 -11
- package/dist/apis/estimateBracketApi.js.map +1 -1
- package/dist/apis/featuresApi.d.ts +1 -1
- package/dist/apis/featuresApi.js +1 -1
- package/dist/apis/findMyCombosApi.d.ts +1 -1
- package/dist/apis/findMyCombosApi.js +1 -1
- package/dist/apis/propertiesApi.d.ts +1 -1
- package/dist/apis/propertiesApi.js +1 -1
- package/dist/apis/templatesApi.d.ts +1 -1
- package/dist/apis/templatesApi.js +1 -1
- package/dist/apis/tokenApi.d.ts +1 -1
- package/dist/apis/tokenApi.js +1 -1
- package/dist/apis/usersApi.d.ts +1 -1
- package/dist/apis/usersApi.js +1 -1
- package/dist/apis/variantAliasesApi.d.ts +1 -1
- package/dist/apis/variantAliasesApi.js +1 -1
- package/dist/apis/variantSuggestionsApi.d.ts +1 -1
- package/dist/apis/variantSuggestionsApi.js +1 -1
- package/dist/apis/variantsApi.d.ts +1 -1
- package/dist/apis/variantsApi.js +1 -1
- package/dist/models/bracketEnum.d.ts +34 -0
- package/dist/models/bracketEnum.js +63 -0
- package/dist/models/bracketEnum.js.map +1 -0
- package/dist/models/card.d.ts +1 -1
- package/dist/models/card.js +1 -1
- package/dist/models/cardDetail.d.ts +9 -9
- package/dist/models/cardDetail.js +8 -8
- package/dist/models/cardDetail.js.map +1 -1
- package/dist/models/cardInDeck.d.ts +1 -1
- package/dist/models/cardInDeck.js +1 -1
- package/dist/models/cardInDeckRequest.d.ts +1 -1
- package/dist/models/cardInDeckRequest.js +1 -1
- package/dist/models/cardInVariant.d.ts +1 -1
- package/dist/models/cardInVariant.js +1 -1
- package/dist/models/cardLegalities.d.ts +1 -1
- package/dist/models/cardLegalities.js +1 -1
- package/dist/models/cardPrices.d.ts +1 -1
- package/dist/models/cardPrices.js +1 -1
- package/dist/models/cardUsedInVariantSuggestion.d.ts +1 -1
- package/dist/models/cardUsedInVariantSuggestion.js +1 -1
- package/dist/models/cardUsedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/cardUsedInVariantSuggestionRequest.js +1 -1
- package/dist/models/combo.d.ts +1 -1
- package/dist/models/combo.js +1 -1
- package/dist/models/deck.d.ts +1 -1
- package/dist/models/deck.js +1 -1
- package/dist/models/deckRequest.d.ts +1 -1
- package/dist/models/deckRequest.js +1 -1
- package/dist/models/estimateBracketResult.d.ts +61 -12
- package/dist/models/estimateBracketResult.js +57 -24
- package/dist/models/estimateBracketResult.js.map +1 -1
- package/dist/models/feature.d.ts +13 -1
- package/dist/models/feature.js +6 -1
- package/dist/models/feature.js.map +1 -1
- package/dist/models/featureOfCard.d.ts +1 -1
- package/dist/models/featureOfCard.js +1 -1
- package/dist/models/featureProducedByVariant.d.ts +1 -1
- package/dist/models/featureProducedByVariant.js +1 -1
- package/dist/models/featureProducedInVariantSuggestion.d.ts +1 -1
- package/dist/models/featureProducedInVariantSuggestion.js +1 -1
- package/dist/models/featureProducedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/featureProducedInVariantSuggestionRequest.js +1 -1
- package/dist/models/featureStatusEnum.d.ts +30 -0
- package/dist/models/featureStatusEnum.js +59 -0
- package/dist/models/featureStatusEnum.js.map +1 -0
- package/dist/models/findMyCombosResponse.d.ts +1 -1
- package/dist/models/findMyCombosResponse.js +1 -1
- package/dist/models/identityEnum.d.ts +1 -1
- package/dist/models/identityEnum.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -1
- package/dist/models/invalidUrlResponse.d.ts +1 -1
- package/dist/models/invalidUrlResponse.js +1 -1
- package/dist/models/paginatedCardDetailList.d.ts +1 -1
- package/dist/models/paginatedCardDetailList.js +1 -1
- package/dist/models/paginatedFeatureList.d.ts +1 -1
- package/dist/models/paginatedFeatureList.js +1 -1
- package/dist/models/paginatedFindMyCombosResponseList.d.ts +1 -1
- package/dist/models/paginatedFindMyCombosResponseList.js +1 -1
- package/dist/models/paginatedFindMyCombosResponseListResults.d.ts +1 -1
- package/dist/models/paginatedFindMyCombosResponseListResults.js +1 -1
- package/dist/models/paginatedTemplateList.d.ts +1 -1
- package/dist/models/paginatedTemplateList.js +1 -1
- package/dist/models/paginatedUserDetailList.d.ts +1 -1
- package/dist/models/paginatedUserDetailList.js +1 -1
- package/dist/models/paginatedVariantAliasList.d.ts +1 -1
- package/dist/models/paginatedVariantAliasList.js +1 -1
- package/dist/models/paginatedVariantList.d.ts +1 -1
- package/dist/models/paginatedVariantList.js +1 -1
- package/dist/models/paginatedVariantSuggestionList.d.ts +1 -1
- package/dist/models/paginatedVariantSuggestionList.js +1 -1
- package/dist/models/paginatedWebsitePropertyList.d.ts +1 -1
- package/dist/models/paginatedWebsitePropertyList.js +1 -1
- package/dist/models/patchedUserDetailRequest.d.ts +1 -1
- package/dist/models/patchedUserDetailRequest.js +1 -1
- package/dist/models/patchedVariantSuggestionRequest.d.ts +9 -3
- package/dist/models/patchedVariantSuggestionRequest.js +5 -3
- package/dist/models/patchedVariantSuggestionRequest.js.map +1 -1
- package/dist/models/template.d.ts +1 -1
- package/dist/models/template.js +1 -1
- package/dist/models/templateInVariant.d.ts +1 -1
- package/dist/models/templateInVariant.js +1 -1
- package/dist/models/templateRequiredInVariantSuggestion.d.ts +1 -1
- package/dist/models/templateRequiredInVariantSuggestion.js +1 -1
- package/dist/models/templateRequiredInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/templateRequiredInVariantSuggestionRequest.js +1 -1
- package/dist/models/tokenObtainPair.d.ts +1 -1
- package/dist/models/tokenObtainPair.js +1 -1
- package/dist/models/tokenObtainPairRequest.d.ts +1 -1
- package/dist/models/tokenObtainPairRequest.js +1 -1
- package/dist/models/tokenRefresh.d.ts +1 -1
- package/dist/models/tokenRefresh.js +1 -1
- package/dist/models/tokenRefreshRequest.d.ts +1 -1
- package/dist/models/tokenRefreshRequest.js +1 -1
- package/dist/models/tokenVerifyRequest.d.ts +1 -1
- package/dist/models/tokenVerifyRequest.js +1 -1
- package/dist/models/user.d.ts +1 -1
- package/dist/models/user.js +1 -1
- package/dist/models/userDetail.d.ts +1 -1
- package/dist/models/userDetail.js +1 -1
- package/dist/models/userDetailRequest.d.ts +1 -1
- package/dist/models/userDetailRequest.js +1 -1
- package/dist/models/userRequest.d.ts +1 -1
- package/dist/models/userRequest.js +1 -1
- package/dist/models/variant.d.ts +12 -6
- package/dist/models/variant.js +8 -5
- package/dist/models/variant.js.map +1 -1
- package/dist/models/variantAlias.d.ts +1 -1
- package/dist/models/variantAlias.js +1 -1
- package/dist/models/variantLegalities.d.ts +1 -1
- package/dist/models/variantLegalities.js +1 -1
- package/dist/models/variantPrices.d.ts +1 -1
- package/dist/models/variantPrices.js +1 -1
- package/dist/models/variantStatusEnum.d.ts +1 -1
- package/dist/models/variantStatusEnum.js +1 -1
- package/dist/models/variantSuggestion.d.ts +9 -3
- package/dist/models/variantSuggestion.js +8 -4
- package/dist/models/variantSuggestion.js.map +1 -1
- package/dist/models/variantSuggestionRequest.d.ts +9 -3
- package/dist/models/variantSuggestionRequest.js +5 -3
- package/dist/models/variantSuggestionRequest.js.map +1 -1
- package/dist/models/variantSuggestionStatusEnum.d.ts +1 -1
- package/dist/models/variantSuggestionStatusEnum.js +1 -1
- package/dist/models/variantsQueryValidationError.d.ts +1 -1
- package/dist/models/variantsQueryValidationError.js +1 -1
- package/dist/models/websiteProperty.d.ts +1 -1
- package/dist/models/websiteProperty.js +1 -1
- package/dist/models/zoneLocationsEnum.d.ts +1 -1
- package/dist/models/zoneLocationsEnum.js +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/spellbook-client/apis/cardListFromTextApi.ts +1 -1
- package/spellbook-client/apis/cardListFromUrlApi.ts +1 -1
- package/spellbook-client/apis/cardsApi.ts +1 -1
- package/spellbook-client/apis/defaultApi.ts +1 -1
- package/spellbook-client/apis/estimateBracketApi.ts +4 -17
- package/spellbook-client/apis/featuresApi.ts +1 -1
- package/spellbook-client/apis/findMyCombosApi.ts +1 -1
- package/spellbook-client/apis/propertiesApi.ts +1 -1
- package/spellbook-client/apis/templatesApi.ts +1 -1
- package/spellbook-client/apis/tokenApi.ts +1 -1
- package/spellbook-client/apis/usersApi.ts +1 -1
- package/spellbook-client/apis/variantAliasesApi.ts +1 -1
- package/spellbook-client/apis/variantSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/variantsApi.ts +1 -1
- package/spellbook-client/models/bracketEnum.ts +61 -0
- package/spellbook-client/models/card.ts +1 -1
- package/spellbook-client/models/cardDetail.ts +15 -15
- package/spellbook-client/models/cardInDeck.ts +1 -1
- package/spellbook-client/models/cardInDeckRequest.ts +1 -1
- package/spellbook-client/models/cardInVariant.ts +1 -1
- package/spellbook-client/models/cardLegalities.ts +1 -1
- package/spellbook-client/models/cardPrices.ts +1 -1
- package/spellbook-client/models/cardUsedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/cardUsedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/combo.ts +1 -1
- package/spellbook-client/models/deck.ts +1 -1
- package/spellbook-client/models/deckRequest.ts +1 -1
- package/spellbook-client/models/estimateBracketResult.ts +116 -35
- package/spellbook-client/models/feature.ts +25 -1
- package/spellbook-client/models/featureOfCard.ts +1 -1
- package/spellbook-client/models/featureProducedByVariant.ts +1 -1
- package/spellbook-client/models/featureProducedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/featureProducedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/featureStatusEnum.ts +57 -0
- package/spellbook-client/models/findMyCombosResponse.ts +1 -1
- package/spellbook-client/models/identityEnum.ts +1 -1
- package/spellbook-client/models/index.ts +2 -0
- package/spellbook-client/models/invalidUrlResponse.ts +1 -1
- package/spellbook-client/models/paginatedCardDetailList.ts +1 -1
- package/spellbook-client/models/paginatedFeatureList.ts +1 -1
- package/spellbook-client/models/paginatedFindMyCombosResponseList.ts +1 -1
- package/spellbook-client/models/paginatedFindMyCombosResponseListResults.ts +1 -1
- package/spellbook-client/models/paginatedTemplateList.ts +1 -1
- package/spellbook-client/models/paginatedUserDetailList.ts +1 -1
- package/spellbook-client/models/paginatedVariantAliasList.ts +1 -1
- package/spellbook-client/models/paginatedVariantList.ts +1 -1
- package/spellbook-client/models/paginatedVariantSuggestionList.ts +1 -1
- package/spellbook-client/models/paginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/patchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/patchedVariantSuggestionRequest.ts +13 -5
- package/spellbook-client/models/template.ts +1 -1
- package/spellbook-client/models/templateInVariant.ts +1 -1
- package/spellbook-client/models/templateRequiredInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/templateRequiredInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/tokenObtainPair.ts +1 -1
- package/spellbook-client/models/tokenObtainPairRequest.ts +1 -1
- package/spellbook-client/models/tokenRefresh.ts +1 -1
- package/spellbook-client/models/tokenRefreshRequest.ts +1 -1
- package/spellbook-client/models/tokenVerifyRequest.ts +1 -1
- package/spellbook-client/models/user.ts +1 -1
- package/spellbook-client/models/userDetail.ts +1 -1
- package/spellbook-client/models/userDetailRequest.ts +1 -1
- package/spellbook-client/models/userRequest.ts +1 -1
- package/spellbook-client/models/variant.ts +18 -10
- package/spellbook-client/models/variantAlias.ts +1 -1
- package/spellbook-client/models/variantLegalities.ts +1 -1
- package/spellbook-client/models/variantPrices.ts +1 -1
- package/spellbook-client/models/variantStatusEnum.ts +1 -1
- package/spellbook-client/models/variantSuggestion.ts +15 -6
- package/spellbook-client/models/variantSuggestionRequest.ts +13 -5
- package/spellbook-client/models/variantSuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/variantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/websiteProperty.ts +1 -1
- package/spellbook-client/models/zoneLocationsEnum.ts +1 -1
- package/spellbook-client/runtime.ts +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
VariantToJSON,
|
|
21
21
|
VariantToJSONTyped,
|
|
22
22
|
} from './variant';
|
|
23
|
+
import type { BracketEnum } from './bracketEnum';
|
|
24
|
+
import {
|
|
25
|
+
BracketEnumFromJSON,
|
|
26
|
+
BracketEnumFromJSONTyped,
|
|
27
|
+
BracketEnumToJSON,
|
|
28
|
+
BracketEnumToJSONTyped,
|
|
29
|
+
} from './bracketEnum';
|
|
23
30
|
import type { Card } from './card';
|
|
24
31
|
import {
|
|
25
32
|
CardFromJSON,
|
|
@@ -36,66 +43,124 @@ import {
|
|
|
36
43
|
export interface EstimateBracketResult {
|
|
37
44
|
/**
|
|
38
45
|
*
|
|
39
|
-
* @type {
|
|
46
|
+
* @type {BracketEnum}
|
|
40
47
|
* @memberof EstimateBracketResult
|
|
41
48
|
*/
|
|
42
|
-
bracket:
|
|
49
|
+
bracket: BracketEnum;
|
|
43
50
|
/**
|
|
44
51
|
*
|
|
45
|
-
* @type {
|
|
52
|
+
* @type {Array<Card>}
|
|
46
53
|
* @memberof EstimateBracketResult
|
|
47
54
|
*/
|
|
48
|
-
|
|
55
|
+
gameChangerCards: Array<Card>;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
58
|
* @type {Array<Card>}
|
|
52
59
|
* @memberof EstimateBracketResult
|
|
53
60
|
*/
|
|
54
|
-
|
|
61
|
+
massLandDenialCards: Array<Card>;
|
|
55
62
|
/**
|
|
56
63
|
*
|
|
57
|
-
* @type {Array<
|
|
64
|
+
* @type {Array<Variant>}
|
|
65
|
+
* @memberof EstimateBracketResult
|
|
66
|
+
*/
|
|
67
|
+
massLandDenialTemplates: Array<Variant>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Array<Variant>}
|
|
58
71
|
* @memberof EstimateBracketResult
|
|
59
72
|
*/
|
|
60
|
-
|
|
73
|
+
massLandDenialCombos: Array<Variant>;
|
|
61
74
|
/**
|
|
62
75
|
*
|
|
63
76
|
* @type {Array<Card>}
|
|
64
77
|
* @memberof EstimateBracketResult
|
|
65
78
|
*/
|
|
66
|
-
|
|
79
|
+
extraTurnCards: Array<Card>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<Variant>}
|
|
83
|
+
* @memberof EstimateBracketResult
|
|
84
|
+
*/
|
|
85
|
+
extraTurnTemplates: Array<Variant>;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {Array<Variant>}
|
|
89
|
+
* @memberof EstimateBracketResult
|
|
90
|
+
*/
|
|
91
|
+
extraTurnsCombos: Array<Variant>;
|
|
67
92
|
/**
|
|
68
93
|
*
|
|
69
94
|
* @type {Array<Card>}
|
|
70
95
|
* @memberof EstimateBracketResult
|
|
71
96
|
*/
|
|
72
|
-
|
|
97
|
+
tutorCards: Array<Card>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<Variant>}
|
|
101
|
+
* @memberof EstimateBracketResult
|
|
102
|
+
*/
|
|
103
|
+
tutorTemplates: Array<Variant>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<Variant>}
|
|
107
|
+
* @memberof EstimateBracketResult
|
|
108
|
+
*/
|
|
109
|
+
lockCombos: Array<Variant>;
|
|
73
110
|
/**
|
|
74
111
|
*
|
|
75
112
|
* @type {Array<Variant>}
|
|
76
113
|
* @memberof EstimateBracketResult
|
|
77
114
|
*/
|
|
78
|
-
|
|
115
|
+
skipTurnsCombos: Array<Variant>;
|
|
79
116
|
/**
|
|
80
117
|
*
|
|
81
118
|
* @type {Array<Variant>}
|
|
82
119
|
* @memberof EstimateBracketResult
|
|
83
120
|
*/
|
|
84
|
-
|
|
121
|
+
definitelyEarlyGameTwoCardCombos: Array<Variant>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Array<Variant>}
|
|
125
|
+
* @memberof EstimateBracketResult
|
|
126
|
+
*/
|
|
127
|
+
arguablyEarlyGameTwoCardCombos: Array<Variant>;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {Array<Variant>}
|
|
131
|
+
* @memberof EstimateBracketResult
|
|
132
|
+
*/
|
|
133
|
+
definitelyLateGameTwoCardCombos: Array<Variant>;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<Variant>}
|
|
137
|
+
* @memberof EstimateBracketResult
|
|
138
|
+
*/
|
|
139
|
+
borderlineLateGameTwoCardCombos: Array<Variant>;
|
|
85
140
|
}
|
|
86
141
|
|
|
142
|
+
|
|
143
|
+
|
|
87
144
|
/**
|
|
88
145
|
* Check if a given object implements the EstimateBracketResult interface.
|
|
89
146
|
*/
|
|
90
147
|
export function instanceOfEstimateBracketResult(value: object): value is EstimateBracketResult {
|
|
91
148
|
if (!('bracket' in value) || value['bracket'] === undefined) return false;
|
|
92
|
-
if (!('
|
|
93
|
-
if (!('
|
|
94
|
-
if (!('
|
|
95
|
-
if (!('
|
|
96
|
-
if (!('
|
|
97
|
-
if (!('
|
|
98
|
-
if (!('
|
|
149
|
+
if (!('gameChangerCards' in value) || value['gameChangerCards'] === undefined) return false;
|
|
150
|
+
if (!('massLandDenialCards' in value) || value['massLandDenialCards'] === undefined) return false;
|
|
151
|
+
if (!('massLandDenialTemplates' in value) || value['massLandDenialTemplates'] === undefined) return false;
|
|
152
|
+
if (!('massLandDenialCombos' in value) || value['massLandDenialCombos'] === undefined) return false;
|
|
153
|
+
if (!('extraTurnCards' in value) || value['extraTurnCards'] === undefined) return false;
|
|
154
|
+
if (!('extraTurnTemplates' in value) || value['extraTurnTemplates'] === undefined) return false;
|
|
155
|
+
if (!('extraTurnsCombos' in value) || value['extraTurnsCombos'] === undefined) return false;
|
|
156
|
+
if (!('tutorCards' in value) || value['tutorCards'] === undefined) return false;
|
|
157
|
+
if (!('tutorTemplates' in value) || value['tutorTemplates'] === undefined) return false;
|
|
158
|
+
if (!('lockCombos' in value) || value['lockCombos'] === undefined) return false;
|
|
159
|
+
if (!('skipTurnsCombos' in value) || value['skipTurnsCombos'] === undefined) return false;
|
|
160
|
+
if (!('definitelyEarlyGameTwoCardCombos' in value) || value['definitelyEarlyGameTwoCardCombos'] === undefined) return false;
|
|
161
|
+
if (!('arguablyEarlyGameTwoCardCombos' in value) || value['arguablyEarlyGameTwoCardCombos'] === undefined) return false;
|
|
162
|
+
if (!('definitelyLateGameTwoCardCombos' in value) || value['definitelyLateGameTwoCardCombos'] === undefined) return false;
|
|
163
|
+
if (!('borderlineLateGameTwoCardCombos' in value) || value['borderlineLateGameTwoCardCombos'] === undefined) return false;
|
|
99
164
|
return true;
|
|
100
165
|
}
|
|
101
166
|
|
|
@@ -109,14 +174,22 @@ export function EstimateBracketResultFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
109
174
|
}
|
|
110
175
|
return {
|
|
111
176
|
|
|
112
|
-
'bracket': json['bracket'],
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
177
|
+
'bracket': BracketEnumFromJSON(json['bracket']),
|
|
178
|
+
'gameChangerCards': ((json['gameChangerCards'] as Array<any>).map(CardFromJSON)),
|
|
179
|
+
'massLandDenialCards': ((json['massLandDenialCards'] as Array<any>).map(CardFromJSON)),
|
|
180
|
+
'massLandDenialTemplates': ((json['massLandDenialTemplates'] as Array<any>).map(VariantFromJSON)),
|
|
181
|
+
'massLandDenialCombos': ((json['massLandDenialCombos'] as Array<any>).map(VariantFromJSON)),
|
|
182
|
+
'extraTurnCards': ((json['extraTurnCards'] as Array<any>).map(CardFromJSON)),
|
|
183
|
+
'extraTurnTemplates': ((json['extraTurnTemplates'] as Array<any>).map(VariantFromJSON)),
|
|
184
|
+
'extraTurnsCombos': ((json['extraTurnsCombos'] as Array<any>).map(VariantFromJSON)),
|
|
185
|
+
'tutorCards': ((json['tutorCards'] as Array<any>).map(CardFromJSON)),
|
|
186
|
+
'tutorTemplates': ((json['tutorTemplates'] as Array<any>).map(VariantFromJSON)),
|
|
187
|
+
'lockCombos': ((json['lockCombos'] as Array<any>).map(VariantFromJSON)),
|
|
188
|
+
'skipTurnsCombos': ((json['skipTurnsCombos'] as Array<any>).map(VariantFromJSON)),
|
|
189
|
+
'definitelyEarlyGameTwoCardCombos': ((json['definitelyEarlyGameTwoCardCombos'] as Array<any>).map(VariantFromJSON)),
|
|
190
|
+
'arguablyEarlyGameTwoCardCombos': ((json['arguablyEarlyGameTwoCardCombos'] as Array<any>).map(VariantFromJSON)),
|
|
191
|
+
'definitelyLateGameTwoCardCombos': ((json['definitelyLateGameTwoCardCombos'] as Array<any>).map(VariantFromJSON)),
|
|
192
|
+
'borderlineLateGameTwoCardCombos': ((json['borderlineLateGameTwoCardCombos'] as Array<any>).map(VariantFromJSON)),
|
|
120
193
|
};
|
|
121
194
|
}
|
|
122
195
|
|
|
@@ -131,14 +204,22 @@ export function EstimateBracketResultToJSONTyped(value?: EstimateBracketResult |
|
|
|
131
204
|
|
|
132
205
|
return {
|
|
133
206
|
|
|
134
|
-
'bracket': value['bracket'],
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'
|
|
139
|
-
'
|
|
140
|
-
'
|
|
141
|
-
'
|
|
207
|
+
'bracket': BracketEnumToJSON(value['bracket']),
|
|
208
|
+
'gameChangerCards': ((value['gameChangerCards'] as Array<any>).map(CardToJSON)),
|
|
209
|
+
'massLandDenialCards': ((value['massLandDenialCards'] as Array<any>).map(CardToJSON)),
|
|
210
|
+
'massLandDenialTemplates': ((value['massLandDenialTemplates'] as Array<any>).map(VariantToJSON)),
|
|
211
|
+
'massLandDenialCombos': ((value['massLandDenialCombos'] as Array<any>).map(VariantToJSON)),
|
|
212
|
+
'extraTurnCards': ((value['extraTurnCards'] as Array<any>).map(CardToJSON)),
|
|
213
|
+
'extraTurnTemplates': ((value['extraTurnTemplates'] as Array<any>).map(VariantToJSON)),
|
|
214
|
+
'extraTurnsCombos': ((value['extraTurnsCombos'] as Array<any>).map(VariantToJSON)),
|
|
215
|
+
'tutorCards': ((value['tutorCards'] as Array<any>).map(CardToJSON)),
|
|
216
|
+
'tutorTemplates': ((value['tutorTemplates'] as Array<any>).map(VariantToJSON)),
|
|
217
|
+
'lockCombos': ((value['lockCombos'] as Array<any>).map(VariantToJSON)),
|
|
218
|
+
'skipTurnsCombos': ((value['skipTurnsCombos'] as Array<any>).map(VariantToJSON)),
|
|
219
|
+
'definitelyEarlyGameTwoCardCombos': ((value['definitelyEarlyGameTwoCardCombos'] as Array<any>).map(VariantToJSON)),
|
|
220
|
+
'arguablyEarlyGameTwoCardCombos': ((value['arguablyEarlyGameTwoCardCombos'] as Array<any>).map(VariantToJSON)),
|
|
221
|
+
'definitelyLateGameTwoCardCombos': ((value['definitelyLateGameTwoCardCombos'] as Array<any>).map(VariantToJSON)),
|
|
222
|
+
'borderlineLateGameTwoCardCombos': ((value['borderlineLateGameTwoCardCombos'] as Array<any>).map(VariantToJSON)),
|
|
142
223
|
};
|
|
143
224
|
}
|
|
144
225
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FeatureStatusEnum } from './featureStatusEnum';
|
|
17
|
+
import {
|
|
18
|
+
FeatureStatusEnumFromJSON,
|
|
19
|
+
FeatureStatusEnumFromJSONTyped,
|
|
20
|
+
FeatureStatusEnumToJSON,
|
|
21
|
+
FeatureStatusEnumToJSONTyped,
|
|
22
|
+
} from './featureStatusEnum';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -37,8 +45,21 @@ export interface Feature {
|
|
|
37
45
|
* @memberof Feature
|
|
38
46
|
*/
|
|
39
47
|
uncountable: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Is this feature an utility for variant generation, a helper to be exploited somehow, or a standalone, probably impactful effect?
|
|
50
|
+
*
|
|
51
|
+
* * `U` - Utility
|
|
52
|
+
* * `H` - Helper
|
|
53
|
+
* * `C` - Contextual
|
|
54
|
+
* * `S` - Standalone
|
|
55
|
+
* @type {FeatureStatusEnum}
|
|
56
|
+
* @memberof Feature
|
|
57
|
+
*/
|
|
58
|
+
status: FeatureStatusEnum;
|
|
40
59
|
}
|
|
41
60
|
|
|
61
|
+
|
|
62
|
+
|
|
42
63
|
/**
|
|
43
64
|
* Check if a given object implements the Feature interface.
|
|
44
65
|
*/
|
|
@@ -46,6 +67,7 @@ export function instanceOfFeature(value: object): value is Feature {
|
|
|
46
67
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
68
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
48
69
|
if (!('uncountable' in value) || value['uncountable'] === undefined) return false;
|
|
70
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
71
|
return true;
|
|
50
72
|
}
|
|
51
73
|
|
|
@@ -62,6 +84,7 @@ export function FeatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): F
|
|
|
62
84
|
'id': json['id'],
|
|
63
85
|
'name': json['name'],
|
|
64
86
|
'uncountable': json['uncountable'],
|
|
87
|
+
'status': FeatureStatusEnumFromJSON(json['status']),
|
|
65
88
|
};
|
|
66
89
|
}
|
|
67
90
|
|
|
@@ -78,6 +101,7 @@ export function FeatureToJSONTyped(value?: Omit<Feature, 'id'> | null, ignoreDis
|
|
|
78
101
|
|
|
79
102
|
'name': value['name'],
|
|
80
103
|
'uncountable': value['uncountable'],
|
|
104
|
+
'status': FeatureStatusEnumToJSON(value['status']),
|
|
81
105
|
};
|
|
82
106
|
}
|
|
83
107
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* * `U` - Utility
|
|
17
|
+
* * `H` - Helper
|
|
18
|
+
* * `C` - Contextual
|
|
19
|
+
* * `S` - Standalone
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
export enum FeatureStatusEnum {
|
|
24
|
+
U = 'U',
|
|
25
|
+
H = 'H',
|
|
26
|
+
C = 'C',
|
|
27
|
+
S = 'S'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export function instanceOfFeatureStatusEnum(value: any): boolean {
|
|
32
|
+
for (const key in FeatureStatusEnum) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(FeatureStatusEnum, key)) {
|
|
34
|
+
if (FeatureStatusEnum[key as keyof typeof FeatureStatusEnum] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function FeatureStatusEnumFromJSON(json: any): FeatureStatusEnum {
|
|
43
|
+
return FeatureStatusEnumFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function FeatureStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureStatusEnum {
|
|
47
|
+
return json as FeatureStatusEnum;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function FeatureStatusEnumToJSON(value?: FeatureStatusEnum | null): any {
|
|
51
|
+
return value as any;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function FeatureStatusEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): FeatureStatusEnum {
|
|
55
|
+
return value as FeatureStatusEnum;
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './bracketEnum';
|
|
3
4
|
export * from './card';
|
|
4
5
|
export * from './cardDetail';
|
|
5
6
|
export * from './cardInDeck';
|
|
@@ -18,6 +19,7 @@ export * from './featureOfCard';
|
|
|
18
19
|
export * from './featureProducedByVariant';
|
|
19
20
|
export * from './featureProducedInVariantSuggestion';
|
|
20
21
|
export * from './featureProducedInVariantSuggestionRequest';
|
|
22
|
+
export * from './featureStatusEnum';
|
|
21
23
|
export * from './findMyCombosResponse';
|
|
22
24
|
export * from './identityEnum';
|
|
23
25
|
export * from './invalidUrlResponse';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,11 +72,17 @@ export interface PatchedVariantSuggestionRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
manaNeeded?: string;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Easily achievable prerequisites for this combo.
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof PatchedVariantSuggestionRequest
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
easyPrerequisites?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Notable prerequisites for this combo.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof PatchedVariantSuggestionRequest
|
|
84
|
+
*/
|
|
85
|
+
notablePrerequisites?: string;
|
|
80
86
|
/**
|
|
81
87
|
* Long description, in steps
|
|
82
88
|
* @type {string}
|
|
@@ -119,7 +125,8 @@ export function PatchedVariantSuggestionRequestFromJSONTyped(json: any, ignoreDi
|
|
|
119
125
|
'requires': json['requires'] == null ? undefined : ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
|
|
120
126
|
'produces': json['produces'] == null ? undefined : ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestFromJSON)),
|
|
121
127
|
'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
|
|
122
|
-
'
|
|
128
|
+
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
|
|
129
|
+
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
|
|
123
130
|
'description': json['description'] == null ? undefined : json['description'],
|
|
124
131
|
'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
|
|
125
132
|
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
@@ -142,7 +149,8 @@ export function PatchedVariantSuggestionRequestToJSONTyped(value?: PatchedVarian
|
|
|
142
149
|
'requires': value['requires'] == null ? undefined : ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestToJSON)),
|
|
143
150
|
'produces': value['produces'] == null ? undefined : ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestToJSON)),
|
|
144
151
|
'manaNeeded': value['manaNeeded'],
|
|
145
|
-
'
|
|
152
|
+
'easyPrerequisites': value['easyPrerequisites'],
|
|
153
|
+
'notablePrerequisites': value['notablePrerequisites'],
|
|
146
154
|
'description': value['description'],
|
|
147
155
|
'spoiler': value['spoiler'],
|
|
148
156
|
'comment': value['comment'],
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|