Merged in revert-gql (pull request #3104)
Revert gql * Revert "Merged in fix/system-fragment (pull request #3102)" This reverts commit0d479eb337. * Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)" This reverts commite9bd159e98.
This commit is contained in:
96
packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql
Normal file
96
packages/trpc/lib/graphql/Query/RewardsWithRedeem.graphql
Normal file
@@ -0,0 +1,96 @@
|
||||
#import "../Fragments/System.graphql"
|
||||
|
||||
#import "../Fragments/PageLink/AccountPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CampaignPageLink.graphql"
|
||||
#import "../Fragments/PageLink/CollectionPageLink.graphql"
|
||||
#import "../Fragments/PageLink/ContentPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCityPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationCountryPageLink.graphql"
|
||||
#import "../Fragments/PageLink/DestinationOverviewPageLink.graphql"
|
||||
#import "../Fragments/PageLink/HotelPageLink.graphql"
|
||||
#import "../Fragments/PageLink/LoyaltyPageLink.graphql"
|
||||
#import "../Fragments/PageLink/StartPageLink.graphql"
|
||||
#import "../Fragments/PageLink/PromoCampaignPageLink.graphql"
|
||||
|
||||
#import "../Fragments/AccountPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/CampaignPage/Ref.graphql"
|
||||
#import "../Fragments/CollectionPage/Ref.graphql"
|
||||
#import "../Fragments/ContentPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCityPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationCountryPage/Ref.graphql"
|
||||
#import "../Fragments/DestinationOverviewPage/Ref.graphql"
|
||||
#import "../Fragments/HotelPage/Ref.graphql"
|
||||
#import "../Fragments/LoyaltyPage/Ref.graphql"
|
||||
#import "../Fragments/StartPage/Ref.graphql"
|
||||
#import "../Fragments/PromoCampaignPage/Ref.graphql"
|
||||
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
redeem_description {
|
||||
json
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageLink
|
||||
...CampaignOverviewPageLink
|
||||
...CampaignPageLink
|
||||
...CollectionPageLink
|
||||
...ContentPageLink
|
||||
...DestinationCityPageLink
|
||||
...DestinationCountryPageLink
|
||||
...DestinationOverviewPageLink
|
||||
...HotelPageLink
|
||||
...LoyaltyPageLink
|
||||
...StartPageLink
|
||||
...PromoCampaignPageLink
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetRewardsRef($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
redeem_description {
|
||||
embedded_itemsConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
...CampaignPageRef
|
||||
...CollectionPageRef
|
||||
...ContentPageRef
|
||||
...DestinationCityPageRef
|
||||
...DestinationCountryPageRef
|
||||
...DestinationOverviewPageRef
|
||||
...HotelPageRef
|
||||
...LoyaltyPageRef
|
||||
...StartPageRef
|
||||
...PromoCampaignPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user