@space-cow-media/spellbook-client 3.15.5 → 4.1.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/bracketTagEnum.d.ts +34 -0
- package/dist/models/bracketTagEnum.js +63 -0
- package/dist/models/bracketTagEnum.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 +3 -3
- package/dist/models/cardDetail.js +4 -4
- 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 +58 -25
- 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 +13 -6
- package/dist/models/variant.js +10 -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/bracketTagEnum.ts +61 -0
- package/spellbook-client/models/card.ts +1 -1
- package/spellbook-client/models/cardDetail.ts +6 -6
- 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 +117 -36
- 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 +26 -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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/combo.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/combo.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/deck.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/deck.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Variant } from './variant';
|
|
13
|
+
import type { BracketTagEnum } from './bracketTagEnum';
|
|
13
14
|
import type { Card } from './card';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -19,52 +20,100 @@ import type { Card } from './card';
|
|
|
19
20
|
export interface EstimateBracketResult {
|
|
20
21
|
/**
|
|
21
22
|
*
|
|
22
|
-
* @type {
|
|
23
|
+
* @type {BracketTagEnum}
|
|
23
24
|
* @memberof EstimateBracketResult
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
+
bracketTag: BracketTagEnum;
|
|
26
27
|
/**
|
|
27
28
|
*
|
|
28
|
-
* @type {
|
|
29
|
+
* @type {Array<Card>}
|
|
29
30
|
* @memberof EstimateBracketResult
|
|
30
31
|
*/
|
|
31
|
-
|
|
32
|
+
gameChangerCards: Array<Card>;
|
|
32
33
|
/**
|
|
33
34
|
*
|
|
34
35
|
* @type {Array<Card>}
|
|
35
36
|
* @memberof EstimateBracketResult
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
+
massLandDenialCards: Array<Card>;
|
|
38
39
|
/**
|
|
39
40
|
*
|
|
40
|
-
* @type {Array<
|
|
41
|
+
* @type {Array<Variant>}
|
|
41
42
|
* @memberof EstimateBracketResult
|
|
42
43
|
*/
|
|
43
|
-
|
|
44
|
+
massLandDenialTemplates: Array<Variant>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<Variant>}
|
|
48
|
+
* @memberof EstimateBracketResult
|
|
49
|
+
*/
|
|
50
|
+
massLandDenialCombos: Array<Variant>;
|
|
44
51
|
/**
|
|
45
52
|
*
|
|
46
53
|
* @type {Array<Card>}
|
|
47
54
|
* @memberof EstimateBracketResult
|
|
48
55
|
*/
|
|
49
|
-
|
|
56
|
+
extraTurnCards: Array<Card>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<Variant>}
|
|
60
|
+
* @memberof EstimateBracketResult
|
|
61
|
+
*/
|
|
62
|
+
extraTurnTemplates: Array<Variant>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Array<Variant>}
|
|
66
|
+
* @memberof EstimateBracketResult
|
|
67
|
+
*/
|
|
68
|
+
extraTurnsCombos: Array<Variant>;
|
|
50
69
|
/**
|
|
51
70
|
*
|
|
52
71
|
* @type {Array<Card>}
|
|
53
72
|
* @memberof EstimateBracketResult
|
|
54
73
|
*/
|
|
55
|
-
|
|
74
|
+
tutorCards: Array<Card>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {Array<Variant>}
|
|
78
|
+
* @memberof EstimateBracketResult
|
|
79
|
+
*/
|
|
80
|
+
tutorTemplates: Array<Variant>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {Array<Variant>}
|
|
84
|
+
* @memberof EstimateBracketResult
|
|
85
|
+
*/
|
|
86
|
+
lockCombos: Array<Variant>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {Array<Variant>}
|
|
90
|
+
* @memberof EstimateBracketResult
|
|
91
|
+
*/
|
|
92
|
+
skipTurnsCombos: Array<Variant>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {Array<Variant>}
|
|
96
|
+
* @memberof EstimateBracketResult
|
|
97
|
+
*/
|
|
98
|
+
definitelyEarlyGameTwoCardCombos: Array<Variant>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {Array<Variant>}
|
|
102
|
+
* @memberof EstimateBracketResult
|
|
103
|
+
*/
|
|
104
|
+
arguablyEarlyGameTwoCardCombos: Array<Variant>;
|
|
56
105
|
/**
|
|
57
106
|
*
|
|
58
107
|
* @type {Array<Variant>}
|
|
59
108
|
* @memberof EstimateBracketResult
|
|
60
109
|
*/
|
|
61
|
-
|
|
110
|
+
definitelyLateGameTwoCardCombos: Array<Variant>;
|
|
62
111
|
/**
|
|
63
112
|
*
|
|
64
113
|
* @type {Array<Variant>}
|
|
65
114
|
* @memberof EstimateBracketResult
|
|
66
115
|
*/
|
|
67
|
-
|
|
116
|
+
borderlineLateGameTwoCardCombos: Array<Variant>;
|
|
68
117
|
}
|
|
69
118
|
/**
|
|
70
119
|
* Check if a given object implements the EstimateBracketResult interface.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,26 +19,43 @@ exports.EstimateBracketResultFromJSONTyped = EstimateBracketResultFromJSONTyped;
|
|
|
19
19
|
exports.EstimateBracketResultToJSON = EstimateBracketResultToJSON;
|
|
20
20
|
exports.EstimateBracketResultToJSONTyped = EstimateBracketResultToJSONTyped;
|
|
21
21
|
const variant_1 = require("./variant");
|
|
22
|
+
const bracketTagEnum_1 = require("./bracketTagEnum");
|
|
22
23
|
const card_1 = require("./card");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the EstimateBracketResult interface.
|
|
25
26
|
*/
|
|
26
27
|
function instanceOfEstimateBracketResult(value) {
|
|
27
|
-
if (!('
|
|
28
|
+
if (!('bracketTag' in value) || value['bracketTag'] === undefined)
|
|
28
29
|
return false;
|
|
29
|
-
if (!('
|
|
30
|
+
if (!('gameChangerCards' in value) || value['gameChangerCards'] === undefined)
|
|
30
31
|
return false;
|
|
31
|
-
if (!('
|
|
32
|
+
if (!('massLandDenialCards' in value) || value['massLandDenialCards'] === undefined)
|
|
32
33
|
return false;
|
|
33
|
-
if (!('
|
|
34
|
+
if (!('massLandDenialTemplates' in value) || value['massLandDenialTemplates'] === undefined)
|
|
34
35
|
return false;
|
|
35
|
-
if (!('
|
|
36
|
+
if (!('massLandDenialCombos' in value) || value['massLandDenialCombos'] === undefined)
|
|
36
37
|
return false;
|
|
37
|
-
if (!('
|
|
38
|
+
if (!('extraTurnCards' in value) || value['extraTurnCards'] === undefined)
|
|
38
39
|
return false;
|
|
39
|
-
if (!('
|
|
40
|
+
if (!('extraTurnTemplates' in value) || value['extraTurnTemplates'] === undefined)
|
|
40
41
|
return false;
|
|
41
|
-
if (!('
|
|
42
|
+
if (!('extraTurnsCombos' in value) || value['extraTurnsCombos'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('tutorCards' in value) || value['tutorCards'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('tutorTemplates' in value) || value['tutorTemplates'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('lockCombos' in value) || value['lockCombos'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('skipTurnsCombos' in value) || value['skipTurnsCombos'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('definitelyEarlyGameTwoCardCombos' in value) || value['definitelyEarlyGameTwoCardCombos'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('arguablyEarlyGameTwoCardCombos' in value) || value['arguablyEarlyGameTwoCardCombos'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('definitelyLateGameTwoCardCombos' in value) || value['definitelyLateGameTwoCardCombos'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('borderlineLateGameTwoCardCombos' in value) || value['borderlineLateGameTwoCardCombos'] === undefined)
|
|
42
59
|
return false;
|
|
43
60
|
return true;
|
|
44
61
|
}
|
|
@@ -50,14 +67,22 @@ function EstimateBracketResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
67
|
return json;
|
|
51
68
|
}
|
|
52
69
|
return {
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
70
|
+
'bracketTag': (0, bracketTagEnum_1.BracketTagEnumFromJSON)(json['bracketTag']),
|
|
71
|
+
'gameChangerCards': (json['gameChangerCards'].map(card_1.CardFromJSON)),
|
|
72
|
+
'massLandDenialCards': (json['massLandDenialCards'].map(card_1.CardFromJSON)),
|
|
73
|
+
'massLandDenialTemplates': (json['massLandDenialTemplates'].map(variant_1.VariantFromJSON)),
|
|
74
|
+
'massLandDenialCombos': (json['massLandDenialCombos'].map(variant_1.VariantFromJSON)),
|
|
75
|
+
'extraTurnCards': (json['extraTurnCards'].map(card_1.CardFromJSON)),
|
|
76
|
+
'extraTurnTemplates': (json['extraTurnTemplates'].map(variant_1.VariantFromJSON)),
|
|
77
|
+
'extraTurnsCombos': (json['extraTurnsCombos'].map(variant_1.VariantFromJSON)),
|
|
78
|
+
'tutorCards': (json['tutorCards'].map(card_1.CardFromJSON)),
|
|
79
|
+
'tutorTemplates': (json['tutorTemplates'].map(variant_1.VariantFromJSON)),
|
|
80
|
+
'lockCombos': (json['lockCombos'].map(variant_1.VariantFromJSON)),
|
|
81
|
+
'skipTurnsCombos': (json['skipTurnsCombos'].map(variant_1.VariantFromJSON)),
|
|
82
|
+
'definitelyEarlyGameTwoCardCombos': (json['definitelyEarlyGameTwoCardCombos'].map(variant_1.VariantFromJSON)),
|
|
83
|
+
'arguablyEarlyGameTwoCardCombos': (json['arguablyEarlyGameTwoCardCombos'].map(variant_1.VariantFromJSON)),
|
|
84
|
+
'definitelyLateGameTwoCardCombos': (json['definitelyLateGameTwoCardCombos'].map(variant_1.VariantFromJSON)),
|
|
85
|
+
'borderlineLateGameTwoCardCombos': (json['borderlineLateGameTwoCardCombos'].map(variant_1.VariantFromJSON)),
|
|
61
86
|
};
|
|
62
87
|
}
|
|
63
88
|
function EstimateBracketResultToJSON(json) {
|
|
@@ -68,14 +93,22 @@ function EstimateBracketResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
93
|
return value;
|
|
69
94
|
}
|
|
70
95
|
return {
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
96
|
+
'bracketTag': (0, bracketTagEnum_1.BracketTagEnumToJSON)(value['bracketTag']),
|
|
97
|
+
'gameChangerCards': (value['gameChangerCards'].map(card_1.CardToJSON)),
|
|
98
|
+
'massLandDenialCards': (value['massLandDenialCards'].map(card_1.CardToJSON)),
|
|
99
|
+
'massLandDenialTemplates': (value['massLandDenialTemplates'].map(variant_1.VariantToJSON)),
|
|
100
|
+
'massLandDenialCombos': (value['massLandDenialCombos'].map(variant_1.VariantToJSON)),
|
|
101
|
+
'extraTurnCards': (value['extraTurnCards'].map(card_1.CardToJSON)),
|
|
102
|
+
'extraTurnTemplates': (value['extraTurnTemplates'].map(variant_1.VariantToJSON)),
|
|
103
|
+
'extraTurnsCombos': (value['extraTurnsCombos'].map(variant_1.VariantToJSON)),
|
|
104
|
+
'tutorCards': (value['tutorCards'].map(card_1.CardToJSON)),
|
|
105
|
+
'tutorTemplates': (value['tutorTemplates'].map(variant_1.VariantToJSON)),
|
|
106
|
+
'lockCombos': (value['lockCombos'].map(variant_1.VariantToJSON)),
|
|
107
|
+
'skipTurnsCombos': (value['skipTurnsCombos'].map(variant_1.VariantToJSON)),
|
|
108
|
+
'definitelyEarlyGameTwoCardCombos': (value['definitelyEarlyGameTwoCardCombos'].map(variant_1.VariantToJSON)),
|
|
109
|
+
'arguablyEarlyGameTwoCardCombos': (value['arguablyEarlyGameTwoCardCombos'].map(variant_1.VariantToJSON)),
|
|
110
|
+
'definitelyLateGameTwoCardCombos': (value['definitelyLateGameTwoCardCombos'].map(variant_1.VariantToJSON)),
|
|
111
|
+
'borderlineLateGameTwoCardCombos': (value['borderlineLateGameTwoCardCombos'].map(variant_1.VariantToJSON)),
|
|
79
112
|
};
|
|
80
113
|
}
|
|
81
114
|
//# sourceMappingURL=estimateBracketResult.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"estimateBracketResult.js","sourceRoot":"","sources":["../../spellbook-client/models/estimateBracketResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"estimateBracketResult.js","sourceRoot":"","sources":["../../spellbook-client/models/estimateBracketResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsIH,0EAkBC;AAED,sEAEC;AAED,gFAuBC;AAED,kEAEC;AAED,4EAwBC;AA/MD,uCAKmB;AAEnB,qDAK0B;AAE1B,iCAKgB;AA4GhB;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,kBAAkB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,kBAAkB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5F,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,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,KAAK,CAAC,iCAAiC,CAAgB,CAAC,GAAG,CAAC,uBAAa,CAAC,CAAC;KACnH,CAAC;AACN,CAAC"}
|
package/dist/models/feature.d.ts
CHANGED
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { FeatureStatusEnum } from './featureStatusEnum';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,17 @@ export interface Feature {
|
|
|
33
34
|
* @memberof Feature
|
|
34
35
|
*/
|
|
35
36
|
uncountable: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Is this feature an utility for variant generation, a helper to be exploited somehow, or a standalone, probably impactful effect?
|
|
39
|
+
*
|
|
40
|
+
* * `U` - Utility
|
|
41
|
+
* * `H` - Helper
|
|
42
|
+
* * `C` - Contextual
|
|
43
|
+
* * `S` - Standalone
|
|
44
|
+
* @type {FeatureStatusEnum}
|
|
45
|
+
* @memberof Feature
|
|
46
|
+
*/
|
|
47
|
+
status: FeatureStatusEnum;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the Feature interface.
|
package/dist/models/feature.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,7 @@ exports.FeatureFromJSON = FeatureFromJSON;
|
|
|
18
18
|
exports.FeatureFromJSONTyped = FeatureFromJSONTyped;
|
|
19
19
|
exports.FeatureToJSON = FeatureToJSON;
|
|
20
20
|
exports.FeatureToJSONTyped = FeatureToJSONTyped;
|
|
21
|
+
const featureStatusEnum_1 = require("./featureStatusEnum");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Feature interface.
|
|
23
24
|
*/
|
|
@@ -28,6 +29,8 @@ function instanceOfFeature(value) {
|
|
|
28
29
|
return false;
|
|
29
30
|
if (!('uncountable' in value) || value['uncountable'] === undefined)
|
|
30
31
|
return false;
|
|
32
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
33
|
+
return false;
|
|
31
34
|
return true;
|
|
32
35
|
}
|
|
33
36
|
function FeatureFromJSON(json) {
|
|
@@ -41,6 +44,7 @@ function FeatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
44
|
'id': json['id'],
|
|
42
45
|
'name': json['name'],
|
|
43
46
|
'uncountable': json['uncountable'],
|
|
47
|
+
'status': (0, featureStatusEnum_1.FeatureStatusEnumFromJSON)(json['status']),
|
|
44
48
|
};
|
|
45
49
|
}
|
|
46
50
|
function FeatureToJSON(json) {
|
|
@@ -53,6 +57,7 @@ function FeatureToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
57
|
return {
|
|
54
58
|
'name': value['name'],
|
|
55
59
|
'uncountable': value['uncountable'],
|
|
60
|
+
'status': (0, featureStatusEnum_1.FeatureStatusEnumToJSON)(value['status']),
|
|
56
61
|
};
|
|
57
62
|
}
|
|
58
63
|
//# sourceMappingURL=feature.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../spellbook-client/models/feature.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;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aAAa,CAAC,IAAS;IACnC,OAAO,kBAAkB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,kBAAkB,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACvG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,QAAQ,EAAE,IAAA,2CAAuB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACrD,CAAC;AACN,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 4.1.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commander Spellbook API
|
|
3
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 4.1.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* * `U` - Utility
|
|
14
|
+
* * `H` - Helper
|
|
15
|
+
* * `C` - Contextual
|
|
16
|
+
* * `S` - Standalone
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum FeatureStatusEnum {
|
|
21
|
+
U = "U",
|
|
22
|
+
H = "H",
|
|
23
|
+
C = "C",
|
|
24
|
+
S = "S"
|
|
25
|
+
}
|
|
26
|
+
export declare function instanceOfFeatureStatusEnum(value: any): boolean;
|
|
27
|
+
export declare function FeatureStatusEnumFromJSON(json: any): FeatureStatusEnum;
|
|
28
|
+
export declare function FeatureStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureStatusEnum;
|
|
29
|
+
export declare function FeatureStatusEnumToJSON(value?: FeatureStatusEnum | null): any;
|
|
30
|
+
export declare function FeatureStatusEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): FeatureStatusEnum;
|