feat(SW-497): Added global alerts query and typings

This commit is contained in:
Erik Tiekstra
2024-09-30 13:11:27 +02:00
parent fb68759720
commit 78569fcb21
7 changed files with 297 additions and 89 deletions

View File

@@ -0,0 +1,18 @@
#import "../Fragments/GlobalAlert.graphql"
query GetSiteConfiguration($locale: String!) {
all_site_configuration(limit: 1, locale: $locale) {
items {
sitewide_alert {
booking_widget_disabled
alertConnection {
edges {
node {
...GlobalAlert
}
}
}
}
}
}
}