feat(stores): EA and Ubisoft stores browse their catalogs, and EA's Get for free works in the app (#2527)

* feat(stores): EA and Ubisoft stores browse their catalogs with prices, deals and search

* feat(stores): Get for free adds EA's free games to the account in the app

* fix(stores): an owned EA game matches its store card by its full product name
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-12 12:08:33 -05:00
1 parent 08a8de9bc4
commit a5712c0d20
47 files changed
+614 -12

No files matched your search

@@ -0,0 +1,15 @@
query GetGameProductOfferIds($slug: String!, $locale: Locale!, $overrideCountryCode: String!) {
game(slug: $slug, locale: $locale) {
id
isFreeToPlay
slug
lowestPriceGameProduct(availabilities: [ACQUIRABLE], overrideCountryCode: $overrideCountryCode) {
id
isFree
name
originOfferId
__typename
}
__typename
}
}
@@ -0,0 +1,23 @@
mutation grantEntitlement($input: GrantEntitlementInput!) {
grantEntitlement(input: $input) {
success
entitledOfferIds
entitlementType
errors {
... on GrantEntitlementOfferDoesNotExistError {
__typename
}
... on GrantEntitlementNotQualifiedError {
__typename
}
... on GrantEntitlementNotFreeOrNoAppropriateSubscriptionError {
__typename
}
... on GrantEntitlementUpstreamConflictError {
__typename
}
__typename
}
__typename
}
}