Merge develop

This commit is contained in:
Linus Flood
2024-09-27 14:20:53 +02:00
171 changed files with 3507 additions and 5188 deletions

View File

@@ -5,6 +5,9 @@
#import "../../Fragments/Blocks/DynamicContent.graphql"
#import "../../Fragments/Blocks/Shortcuts.graphql"
#import "../../Fragments/Blocks/TextCols.graphql"
#import "../../Fragments/Blocks/UspGrid.graphql"
#import "../../Fragments/ContentPage/NavigationLinks.graphql"
#import "../../Fragments/Sidebar/Content.graphql"
#import "../../Fragments/Sidebar/DynamicContent.graphql"
@@ -17,6 +20,7 @@ query GetContentPage($locale: String!, $uid: String!) {
header {
heading
preamble
...NavigationLinks
}
blocks {
__typename
@@ -25,6 +29,7 @@ query GetContentPage($locale: String!, $uid: String!) {
...DynamicContent_ContentPage
...Shortcuts_ContentPage
...TextCols_ContentPage
...UspGrid_ContentPage
}
sidebar {
__typename
@@ -45,6 +50,20 @@ query GetContentPage($locale: String!, $uid: String!) {
query GetContentPageRefs($locale: String!, $uid: String!) {
content_page(locale: $locale, uid: $uid) {
header {
navigation_links {
linkConnection {
edges {
node {
__typename
...ContentPageRef
...HotelPageRef
...LoyaltyPageRef
}
}
}
}
}
blocks {
__typename
...CardsGrid_ContentPageRefs
@@ -52,6 +71,7 @@ query GetContentPageRefs($locale: String!, $uid: String!) {
...DynamicContent_ContentPageRefs
...Shortcuts_ContentPageRefs
...TextCols_ContentPageRef
...UspGrid_ContentPageRefs
}
sidebar {
__typename

View File

@@ -0,0 +1,25 @@
query GetAllLoyaltyLevels($lang: String!, $level_ids: [String]!) {
all_loyalty_level(where: { level_id_in: $level_ids }, locale: $lang) {
items {
description
level_id
name
required_points
required_nights
user_facing_tag
}
}
}
query GetLoyaltyLevel($lang: String!, $level_id: String!) {
all_loyalty_level(where: { level_id: $level_id }, locale: $lang) {
items {
description
level_id
name
required_points
required_nights
user_facing_tag
}
}
}

View File

@@ -0,0 +1,15 @@
query GetRewards($locale: String!, $rewardIds: [String!]) {
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
items {
taxonomies {
term_uid
}
label
grouped_label
description
grouped_description
value
reward_id
}
}
}