@space-cow-media/spellbook-client 7.1.0 → 7.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 +1 -1
- package/dist/apis/EstimateBracketApi.js +1 -1
- package/dist/apis/ExplainQueryApi.d.ts +1 -1
- package/dist/apis/ExplainQueryApi.js +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/SaltVotesApi.d.ts +1 -1
- package/dist/apis/SaltVotesApi.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/VariantUpdateSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +1 -1
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +11 -21
- package/dist/models/Card.js +21 -31
- package/dist/models/Card.js.map +1 -1
- package/dist/models/CardDetail.d.ts +13 -23
- package/dist/models/CardDetail.js +23 -33
- 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 +9 -13
- package/dist/models/CardUsedInVariantSuggestion.js +9 -13
- package/dist/models/CardUsedInVariantSuggestion.js.map +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +9 -13
- package/dist/models/CardUsedInVariantSuggestionRequest.js +9 -13
- package/dist/models/CardUsedInVariantSuggestionRequest.js.map +1 -1
- package/dist/models/ClassifiedCard.d.ts +1 -1
- package/dist/models/ClassifiedCard.js +1 -1
- package/dist/models/ClassifiedVariant.d.ts +1 -1
- package/dist/models/ClassifiedVariant.js +1 -1
- package/dist/models/ColorEnum.d.ts +1 -1
- package/dist/models/ColorEnum.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 +1 -1
- package/dist/models/EstimateBracketResult.js +1 -1
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/FeatureOfCard.d.ts +9 -13
- package/dist/models/FeatureOfCard.js +9 -13
- package/dist/models/FeatureOfCard.js.map +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 +1 -1
- package/dist/models/FeatureStatusEnum.js +1 -1
- package/dist/models/FindMyCombosResponse.d.ts +1 -1
- package/dist/models/FindMyCombosResponse.js +1 -1
- package/dist/models/InvalidUrlResponse.d.ts +1 -1
- package/dist/models/InvalidUrlResponse.js +1 -1
- package/dist/models/KindEnum.d.ts +1 -1
- package/dist/models/KindEnum.js +1 -1
- package/dist/models/LayoutRotationEnum.d.ts +1 -1
- package/dist/models/LayoutRotationEnum.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/PaginatedSaltVoteList.d.ts +1 -1
- package/dist/models/PaginatedSaltVoteList.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/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.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 -13
- package/dist/models/PatchedVariantSuggestionRequest.js +9 -13
- package/dist/models/PatchedVariantSuggestionRequest.js.map +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +5 -7
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +5 -7
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/ProducedManaEnum.d.ts +1 -1
- package/dist/models/ProducedManaEnum.js +1 -1
- package/dist/models/QueryExplanation.d.ts +1 -1
- package/dist/models/QueryExplanation.js +1 -1
- package/dist/models/QueryExplanationValidationError.d.ts +1 -1
- package/dist/models/QueryExplanationValidationError.js +1 -1
- package/dist/models/SaltVote.d.ts +1 -1
- package/dist/models/SaltVote.js +1 -1
- package/dist/models/SaltVoteRequest.d.ts +1 -1
- package/dist/models/SaltVoteRequest.js +1 -1
- package/dist/models/SuggestionStatusEnum.d.ts +1 -1
- package/dist/models/SuggestionStatusEnum.js +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 +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestion.js +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +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 +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/VariantAlias.d.ts +1 -1
- package/dist/models/VariantAlias.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.d.ts +3 -4
- package/dist/models/VariantInVariantUpdateSuggestion.js +3 -4
- package/dist/models/VariantInVariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +3 -4
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +3 -4
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js.map +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 -13
- package/dist/models/VariantSuggestion.js +9 -13
- package/dist/models/VariantSuggestion.js.map +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +9 -13
- package/dist/models/VariantSuggestionRequest.js +9 -13
- package/dist/models/VariantSuggestionRequest.js.map +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +5 -7
- package/dist/models/VariantUpdateSuggestion.js +5 -7
- package/dist/models/VariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +5 -7
- package/dist/models/VariantUpdateSuggestionRequest.js +5 -7
- package/dist/models/VariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/VariantsQueryValidationError.d.ts +1 -1
- package/dist/models/VariantsQueryValidationError.js +1 -1
- package/dist/models/WebsiteProperty.d.ts +3 -4
- package/dist/models/WebsiteProperty.js +3 -4
- package/dist/models/WebsiteProperty.js.map +1 -1
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +0 -21
- package/dist/models/index.js +0 -21
- package/dist/models/index.js.map +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 +1 -1
- package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
- 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/SaltVotesApi.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/VariantUpdateSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/VariantsApi.ts +1 -1
- package/spellbook-client/docs/Card.md +10 -10
- package/spellbook-client/docs/CardDetail.md +10 -10
- package/spellbook-client/docs/CardUsedInVariantSuggestion.md +4 -4
- package/spellbook-client/docs/CardUsedInVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/FeatureOfCard.md +4 -4
- package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +2 -2
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestion.md +4 -4
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/VariantInVariantUpdateSuggestion.md +1 -1
- package/spellbook-client/docs/VariantInVariantUpdateSuggestionRequest.md +1 -1
- package/spellbook-client/docs/VariantSuggestion.md +4 -4
- package/spellbook-client/docs/VariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/VariantUpdateSuggestion.md +2 -2
- package/spellbook-client/docs/VariantUpdateSuggestionRequest.md +2 -2
- package/spellbook-client/docs/WebsiteProperty.md +1 -1
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +31 -101
- package/spellbook-client/models/CardDetail.ts +45 -115
- 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 +17 -45
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/ClassifiedCard.ts +1 -1
- package/spellbook-client/models/ClassifiedVariant.ts +1 -1
- package/spellbook-client/models/ColorEnum.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 +1 -1
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +17 -45
- 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 +1 -1
- package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
- package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
- package/spellbook-client/models/KindEnum.ts +1 -1
- package/spellbook-client/models/LayoutRotationEnum.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/PaginatedSaltVoteList.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/PaginatedVariantUpdateSuggestionList.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 +17 -45
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +9 -23
- package/spellbook-client/models/ProducedManaEnum.ts +1 -1
- package/spellbook-client/models/QueryExplanation.ts +1 -1
- package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
- package/spellbook-client/models/SaltVote.ts +1 -1
- package/spellbook-client/models/SaltVoteRequest.ts +1 -1
- package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/Template.ts +1 -1
- package/spellbook-client/models/TemplateInVariant.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +17 -45
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +17 -45
- 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 +1 -1
- package/spellbook-client/models/VariantAlias.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +5 -13
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +5 -13
- 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 +17 -45
- package/spellbook-client/models/VariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/VariantUpdateSuggestion.ts +9 -23
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +9 -23
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +5 -13
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +0 -21
- package/spellbook-client/runtime.ts +1 -1
- package/dist/models/BattlefieldStartingCardState.d.ts +0 -21
- package/dist/models/BattlefieldStartingCardState.js +0 -44
- package/dist/models/BattlefieldStartingCardState.js.map +0 -1
- package/dist/models/ExileStartingCardState.d.ts +0 -21
- package/dist/models/ExileStartingCardState.js +0 -44
- package/dist/models/ExileStartingCardState.js.map +0 -1
- package/dist/models/GraveyardStartingCardState.d.ts +0 -21
- package/dist/models/GraveyardStartingCardState.js +0 -44
- package/dist/models/GraveyardStartingCardState.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheCardArtCrop.d.ts +0 -21
- package/dist/models/ImageURIOfTheCardArtCrop.js +0 -44
- package/dist/models/ImageURIOfTheCardArtCrop.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js.map +0 -1
- package/dist/models/LibraryStartingCardState.d.ts +0 -21
- package/dist/models/LibraryStartingCardState.js +0 -44
- package/dist/models/LibraryStartingCardState.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestComment.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestComment.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js.map +0 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +0 -21
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +0 -44
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js.map +0 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +0 -21
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js +0 -44
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js.map +0 -1
- package/dist/models/WebsitePropertyValue.d.ts +0 -21
- package/dist/models/WebsitePropertyValue.js +0 -44
- package/dist/models/WebsitePropertyValue.js.map +0 -1
- package/spellbook-client/docs/BattlefieldStartingCardState.md +0 -33
- package/spellbook-client/docs/ExileStartingCardState.md +0 -33
- package/spellbook-client/docs/GraveyardStartingCardState.md +0 -33
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardArtCrop.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInLargeFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInNormalFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInPNGFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInSmallFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheCardArtCrop.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInLargeFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInNormalFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInPNGFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInSmallFormat.md +0 -32
- package/spellbook-client/docs/LibraryStartingCardState.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestComment.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestEasyPrerequisites.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestManaNeeded.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestNotablePrerequisites.md +0 -33
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequestSolution.md +0 -33
- package/spellbook-client/docs/VariantInVariantUpdateSuggestionIssue.md +0 -33
- package/spellbook-client/docs/WebsitePropertyValue.md +0 -33
- package/spellbook-client/models/BattlefieldStartingCardState.ts +0 -56
- package/spellbook-client/models/ExileStartingCardState.ts +0 -56
- package/spellbook-client/models/GraveyardStartingCardState.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +0 -56
- package/spellbook-client/models/LibraryStartingCardState.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +0 -56
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +0 -56
- package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +0 -56
- package/spellbook-client/models/WebsitePropertyValue.ts +0 -56
package/dist/models/Card.js
CHANGED
|
@@ -4,23 +4,13 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ImageURIOfTheBackOfTheCardInPNGFormatFromJSON, ImageURIOfTheBackOfTheCardInPNGFormatToJSON, } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
15
|
-
import { ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON, ImageURIOfTheFrontOfTheCardInLargeFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
16
|
-
import { ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON, ImageURIOfTheFrontOfTheCardInPNGFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
17
|
-
import { ImageURIOfTheBackOfTheCardArtCropFromJSON, ImageURIOfTheBackOfTheCardArtCropToJSON, } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
18
|
-
import { ImageURIOfTheBackOfTheCardInLargeFormatFromJSON, ImageURIOfTheBackOfTheCardInLargeFormatToJSON, } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
19
|
-
import { ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON, ImageURIOfTheFrontOfTheCardInNormalFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
20
|
-
import { ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON, ImageURIOfTheFrontOfTheCardInSmallFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
21
|
-
import { ImageURIOfTheBackOfTheCardInSmallFormatFromJSON, ImageURIOfTheBackOfTheCardInSmallFormatToJSON, } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
22
|
-
import { ImageURIOfTheBackOfTheCardInNormalFormatFromJSON, ImageURIOfTheBackOfTheCardInNormalFormatToJSON, } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
23
|
-
import { ImageURIOfTheCardArtCropFromJSON, ImageURIOfTheCardArtCropToJSON, } from './ImageURIOfTheCardArtCrop.js';
|
|
24
14
|
import { LayoutRotationEnumFromJSON, LayoutRotationEnumToJSON, } from './LayoutRotationEnum.js';
|
|
25
15
|
/**
|
|
26
16
|
* Check if a given object implements the Card interface.
|
|
@@ -76,17 +66,17 @@ export function CardFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
66
|
'spoiler': json['spoiler'],
|
|
77
67
|
'faces': json['faces'],
|
|
78
68
|
'typeLine': json['typeLine'],
|
|
79
|
-
'imageUriFrontPng':
|
|
80
|
-
'imageUriFrontLarge':
|
|
81
|
-
'imageUriFrontNormal':
|
|
82
|
-
'imageUriFrontSmall':
|
|
83
|
-
'imageUriFrontArtCrop':
|
|
69
|
+
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
70
|
+
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
71
|
+
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
72
|
+
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
73
|
+
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
84
74
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
85
|
-
'imageUriBackPng':
|
|
86
|
-
'imageUriBackLarge':
|
|
87
|
-
'imageUriBackNormal':
|
|
88
|
-
'imageUriBackSmall':
|
|
89
|
-
'imageUriBackArtCrop':
|
|
75
|
+
'imageUriBackPng': json['imageUriBackPng'],
|
|
76
|
+
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
77
|
+
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
78
|
+
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
79
|
+
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
90
80
|
};
|
|
91
81
|
}
|
|
92
82
|
export function CardToJSON(json) {
|
|
@@ -102,17 +92,17 @@ export function CardToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
102
92
|
'spoiler': value['spoiler'],
|
|
103
93
|
'faces': value['faces'],
|
|
104
94
|
'typeLine': value['typeLine'],
|
|
105
|
-
'imageUriFrontPng':
|
|
106
|
-
'imageUriFrontLarge':
|
|
107
|
-
'imageUriFrontNormal':
|
|
108
|
-
'imageUriFrontSmall':
|
|
109
|
-
'imageUriFrontArtCrop':
|
|
95
|
+
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
96
|
+
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
97
|
+
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
98
|
+
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
99
|
+
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
110
100
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
111
|
-
'imageUriBackPng':
|
|
112
|
-
'imageUriBackLarge':
|
|
113
|
-
'imageUriBackNormal':
|
|
114
|
-
'imageUriBackSmall':
|
|
115
|
-
'imageUriBackArtCrop':
|
|
101
|
+
'imageUriBackPng': value['imageUriBackPng'],
|
|
102
|
+
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
103
|
+
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
104
|
+
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
105
|
+
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
116
106
|
};
|
|
117
107
|
}
|
|
118
108
|
//# sourceMappingURL=Card.js.map
|
package/dist/models/Card.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../spellbook-client/models/Card.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../spellbook-client/models/Card.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,0BAA0B,EAE1B,wBAAwB,GAE3B,MAAM,yBAAyB,CAAC;AAgFjC;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa;IACxC,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;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 +2,19 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.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 { ImageURIOfTheFrontOfTheCardInLargeFormat } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
13
|
-
import type { ImageURIOfTheFrontOfTheCardInPNGFormat } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
14
|
-
import type { ImageURIOfTheBackOfTheCardInLargeFormat } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
15
|
-
import type { CardLegalities } from './CardLegalities.js';
|
|
16
|
-
import type { CardPrices } from './CardPrices.js';
|
|
17
|
-
import type { ImageURIOfTheBackOfTheCardInPNGFormat } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
18
12
|
import type { ProducedManaEnum } from './ProducedManaEnum.js';
|
|
19
|
-
import type { ImageURIOfTheBackOfTheCardArtCrop } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
20
|
-
import type { ImageURIOfTheFrontOfTheCardInNormalFormat } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
21
|
-
import type { ImageURIOfTheFrontOfTheCardInSmallFormat } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
22
|
-
import type { ImageURIOfTheBackOfTheCardInSmallFormat } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
23
|
-
import type { ImageURIOfTheBackOfTheCardInNormalFormat } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
24
|
-
import type { ImageURIOfTheCardArtCrop } from './ImageURIOfTheCardArtCrop.js';
|
|
25
13
|
import type { ColorEnum } from './ColorEnum.js';
|
|
26
14
|
import type { FeatureOfCard } from './FeatureOfCard.js';
|
|
27
15
|
import type { LayoutRotationEnum } from './LayoutRotationEnum.js';
|
|
16
|
+
import type { CardLegalities } from './CardLegalities.js';
|
|
17
|
+
import type { CardPrices } from './CardPrices.js';
|
|
28
18
|
/**
|
|
29
19
|
*
|
|
30
20
|
* @export
|
|
@@ -146,23 +136,23 @@ export interface CardDetail {
|
|
|
146
136
|
/**
|
|
147
137
|
*
|
|
148
138
|
*/
|
|
149
|
-
imageUriFrontPng:
|
|
139
|
+
imageUriFrontPng: string | null;
|
|
150
140
|
/**
|
|
151
141
|
*
|
|
152
142
|
*/
|
|
153
|
-
imageUriFrontLarge:
|
|
143
|
+
imageUriFrontLarge: string | null;
|
|
154
144
|
/**
|
|
155
145
|
*
|
|
156
146
|
*/
|
|
157
|
-
imageUriFrontNormal:
|
|
147
|
+
imageUriFrontNormal: string | null;
|
|
158
148
|
/**
|
|
159
149
|
*
|
|
160
150
|
*/
|
|
161
|
-
imageUriFrontSmall:
|
|
151
|
+
imageUriFrontSmall: string | null;
|
|
162
152
|
/**
|
|
163
153
|
*
|
|
164
154
|
*/
|
|
165
|
-
imageUriFrontArtCrop:
|
|
155
|
+
imageUriFrontArtCrop: string | null;
|
|
166
156
|
/**
|
|
167
157
|
*
|
|
168
158
|
*/
|
|
@@ -170,23 +160,23 @@ export interface CardDetail {
|
|
|
170
160
|
/**
|
|
171
161
|
*
|
|
172
162
|
*/
|
|
173
|
-
imageUriBackPng:
|
|
163
|
+
imageUriBackPng: string | null;
|
|
174
164
|
/**
|
|
175
165
|
*
|
|
176
166
|
*/
|
|
177
|
-
imageUriBackLarge:
|
|
167
|
+
imageUriBackLarge: string | null;
|
|
178
168
|
/**
|
|
179
169
|
*
|
|
180
170
|
*/
|
|
181
|
-
imageUriBackNormal:
|
|
171
|
+
imageUriBackNormal: string | null;
|
|
182
172
|
/**
|
|
183
173
|
*
|
|
184
174
|
*/
|
|
185
|
-
imageUriBackSmall:
|
|
175
|
+
imageUriBackSmall: string | null;
|
|
186
176
|
/**
|
|
187
177
|
*
|
|
188
178
|
*/
|
|
189
|
-
imageUriBackArtCrop:
|
|
179
|
+
imageUriBackArtCrop: string | null;
|
|
190
180
|
/**
|
|
191
181
|
*
|
|
192
182
|
*/
|
|
@@ -4,29 +4,19 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON, ImageURIOfTheFrontOfTheCardInLargeFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
15
|
-
import { ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON, ImageURIOfTheFrontOfTheCardInPNGFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
16
|
-
import { ImageURIOfTheBackOfTheCardInLargeFormatFromJSON, ImageURIOfTheBackOfTheCardInLargeFormatToJSON, } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
17
|
-
import { CardLegalitiesFromJSON, } from './CardLegalities.js';
|
|
18
|
-
import { CardPricesFromJSON, } from './CardPrices.js';
|
|
19
|
-
import { ImageURIOfTheBackOfTheCardInPNGFormatFromJSON, ImageURIOfTheBackOfTheCardInPNGFormatToJSON, } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
20
14
|
import { ProducedManaEnumFromJSON, ProducedManaEnumToJSON, } from './ProducedManaEnum.js';
|
|
21
|
-
import { ImageURIOfTheBackOfTheCardArtCropFromJSON, ImageURIOfTheBackOfTheCardArtCropToJSON, } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
22
|
-
import { ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON, ImageURIOfTheFrontOfTheCardInNormalFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
23
|
-
import { ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON, ImageURIOfTheFrontOfTheCardInSmallFormatToJSON, } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
24
|
-
import { ImageURIOfTheBackOfTheCardInSmallFormatFromJSON, ImageURIOfTheBackOfTheCardInSmallFormatToJSON, } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
25
|
-
import { ImageURIOfTheBackOfTheCardInNormalFormatFromJSON, ImageURIOfTheBackOfTheCardInNormalFormatToJSON, } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
26
|
-
import { ImageURIOfTheCardArtCropFromJSON, ImageURIOfTheCardArtCropToJSON, } from './ImageURIOfTheCardArtCrop.js';
|
|
27
15
|
import { ColorEnumFromJSON, ColorEnumToJSON, } from './ColorEnum.js';
|
|
28
16
|
import { FeatureOfCardFromJSON, } from './FeatureOfCard.js';
|
|
29
17
|
import { LayoutRotationEnumFromJSON, LayoutRotationEnumToJSON, } from './LayoutRotationEnum.js';
|
|
18
|
+
import { CardLegalitiesFromJSON, } from './CardLegalities.js';
|
|
19
|
+
import { CardPricesFromJSON, } from './CardPrices.js';
|
|
30
20
|
/**
|
|
31
21
|
* Check if a given object implements the CardDetail interface.
|
|
32
22
|
*/
|
|
@@ -153,17 +143,17 @@ export function CardDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
153
143
|
'tutor': json['tutor'],
|
|
154
144
|
'massLandDenial': json['massLandDenial'],
|
|
155
145
|
'extraTurn': json['extraTurn'],
|
|
156
|
-
'imageUriFrontPng':
|
|
157
|
-
'imageUriFrontLarge':
|
|
158
|
-
'imageUriFrontNormal':
|
|
159
|
-
'imageUriFrontSmall':
|
|
160
|
-
'imageUriFrontArtCrop':
|
|
146
|
+
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
147
|
+
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
148
|
+
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
149
|
+
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
150
|
+
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
161
151
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
162
|
-
'imageUriBackPng':
|
|
163
|
-
'imageUriBackLarge':
|
|
164
|
-
'imageUriBackNormal':
|
|
165
|
-
'imageUriBackSmall':
|
|
166
|
-
'imageUriBackArtCrop':
|
|
152
|
+
'imageUriBackPng': json['imageUriBackPng'],
|
|
153
|
+
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
154
|
+
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
155
|
+
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
156
|
+
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
167
157
|
'features': (json['features'].map(FeatureOfCardFromJSON)),
|
|
168
158
|
'legalities': CardLegalitiesFromJSON(json['legalities']),
|
|
169
159
|
'prices': CardPricesFromJSON(json['prices']),
|
|
@@ -203,17 +193,17 @@ export function CardDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
203
193
|
'tutor': value['tutor'],
|
|
204
194
|
'massLandDenial': value['massLandDenial'],
|
|
205
195
|
'extraTurn': value['extraTurn'],
|
|
206
|
-
'imageUriFrontPng':
|
|
207
|
-
'imageUriFrontLarge':
|
|
208
|
-
'imageUriFrontNormal':
|
|
209
|
-
'imageUriFrontSmall':
|
|
210
|
-
'imageUriFrontArtCrop':
|
|
196
|
+
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
197
|
+
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
198
|
+
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
199
|
+
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
200
|
+
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
211
201
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
212
|
-
'imageUriBackPng':
|
|
213
|
-
'imageUriBackLarge':
|
|
214
|
-
'imageUriBackNormal':
|
|
215
|
-
'imageUriBackSmall':
|
|
216
|
-
'imageUriBackArtCrop':
|
|
202
|
+
'imageUriBackPng': value['imageUriBackPng'],
|
|
203
|
+
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
204
|
+
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
205
|
+
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
206
|
+
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
217
207
|
};
|
|
218
208
|
}
|
|
219
209
|
//# sourceMappingURL=CardDetail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDetail.js","sourceRoot":"","sources":["../../spellbook-client/models/CardDetail.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"CardDetail.js","sourceRoot":"","sources":["../../spellbook-client/models/CardDetail.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,wBAAwB,EAExB,sBAAsB,GAEzB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,iBAAiB,EAEjB,eAAe,GAElB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,qBAAqB,GAIxB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,0BAA0B,EAE1B,wBAAwB,GAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACH,sBAAsB,GAIzB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,kBAAkB,GAIrB,MAA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,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,sBAAsB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACrD,qBAAqB,EAAE,wBAAwB,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAC7E,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;KACtD,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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.1.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 7.1.
|
|
5
|
+
* The version of the OpenAPI document: 7.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 { BattlefieldStartingCardState } from './BattlefieldStartingCardState.js';
|
|
13
|
-
import type { GraveyardStartingCardState } from './GraveyardStartingCardState.js';
|
|
14
|
-
import type { LibraryStartingCardState } from './LibraryStartingCardState.js';
|
|
15
|
-
import type { ExileStartingCardState } from './ExileStartingCardState.js';
|
|
16
12
|
import type { ZoneLocationsEnum } from './ZoneLocationsEnum.js';
|
|
17
13
|
/**
|
|
18
14
|
*
|
|
@@ -33,21 +29,21 @@ export interface CardUsedInVariantSuggestion {
|
|
|
33
29
|
*/
|
|
34
30
|
zoneLocations: Array<ZoneLocationsEnum>;
|
|
35
31
|
/**
|
|
36
|
-
*
|
|
32
|
+
* State of the card on the battlefield, if present.
|
|
37
33
|
*/
|
|
38
|
-
battlefieldCardState:
|
|
34
|
+
battlefieldCardState: string;
|
|
39
35
|
/**
|
|
40
|
-
*
|
|
36
|
+
* State of the card in exile, if present.
|
|
41
37
|
*/
|
|
42
|
-
exileCardState:
|
|
38
|
+
exileCardState: string;
|
|
43
39
|
/**
|
|
44
|
-
*
|
|
40
|
+
* State of the card in the library, if present.
|
|
45
41
|
*/
|
|
46
|
-
libraryCardState:
|
|
42
|
+
libraryCardState: string;
|
|
47
43
|
/**
|
|
48
|
-
*
|
|
44
|
+
* State of the card in the graveyard, if present.
|
|
49
45
|
*/
|
|
50
|
-
graveyardCardState:
|
|
46
|
+
graveyardCardState: string;
|
|
51
47
|
/**
|
|
52
48
|
* Does the card have to be a commander?
|
|
53
49
|
*/
|
|
@@ -4,17 +4,13 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { BattlefieldStartingCardStateFromJSON, BattlefieldStartingCardStateToJSON, } from './BattlefieldStartingCardState.js';
|
|
15
|
-
import { GraveyardStartingCardStateFromJSON, GraveyardStartingCardStateToJSON, } from './GraveyardStartingCardState.js';
|
|
16
|
-
import { LibraryStartingCardStateFromJSON, LibraryStartingCardStateToJSON, } from './LibraryStartingCardState.js';
|
|
17
|
-
import { ExileStartingCardStateFromJSON, ExileStartingCardStateToJSON, } from './ExileStartingCardState.js';
|
|
18
14
|
import { ZoneLocationsEnumFromJSON, ZoneLocationsEnumToJSON, } from './ZoneLocationsEnum.js';
|
|
19
15
|
/**
|
|
20
16
|
* Check if a given object implements the CardUsedInVariantSuggestion interface.
|
|
@@ -49,10 +45,10 @@ export function CardUsedInVariantSuggestionFromJSONTyped(json, ignoreDiscriminat
|
|
|
49
45
|
'card': json['card'],
|
|
50
46
|
'quantity': json['quantity'],
|
|
51
47
|
'zoneLocations': (json['zoneLocations'].map(ZoneLocationsEnumFromJSON)),
|
|
52
|
-
'battlefieldCardState':
|
|
53
|
-
'exileCardState':
|
|
54
|
-
'libraryCardState':
|
|
55
|
-
'graveyardCardState':
|
|
48
|
+
'battlefieldCardState': json['battlefieldCardState'],
|
|
49
|
+
'exileCardState': json['exileCardState'],
|
|
50
|
+
'libraryCardState': json['libraryCardState'],
|
|
51
|
+
'graveyardCardState': json['graveyardCardState'],
|
|
56
52
|
'mustBeCommander': json['mustBeCommander'],
|
|
57
53
|
};
|
|
58
54
|
}
|
|
@@ -67,10 +63,10 @@ export function CardUsedInVariantSuggestionToJSONTyped(value, ignoreDiscriminato
|
|
|
67
63
|
'card': value['card'],
|
|
68
64
|
'quantity': value['quantity'],
|
|
69
65
|
'zoneLocations': (value['zoneLocations'].map(ZoneLocationsEnumToJSON)),
|
|
70
|
-
'battlefieldCardState':
|
|
71
|
-
'exileCardState':
|
|
72
|
-
'libraryCardState':
|
|
73
|
-
'graveyardCardState':
|
|
66
|
+
'battlefieldCardState': value['battlefieldCardState'],
|
|
67
|
+
'exileCardState': value['exileCardState'],
|
|
68
|
+
'libraryCardState': value['libraryCardState'],
|
|
69
|
+
'graveyardCardState': value['graveyardCardState'],
|
|
74
70
|
'mustBeCommander': value['mustBeCommander'],
|
|
75
71
|
};
|
|
76
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardUsedInVariantSuggestion.js","sourceRoot":"","sources":["../../spellbook-client/models/CardUsedInVariantSuggestion.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"CardUsedInVariantSuggestion.js","sourceRoot":"","sources":["../../spellbook-client/models/CardUsedInVariantSuggestion.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,yBAAyB,EAEzB,uBAAuB,GAE1B,MAAM,wBAAwB,CAAC;AA0ChC;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,sBAAsB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpG,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,IAAI,CAAC,CAAC,kBAAkB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,kBAAkB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5F,IAAI,CAAC,CAAC,oBAAoB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,oBAAoB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IA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