Merged in feature/turbopack (pull request #3117)

Feature/turbopack

* .

* .

* pin import-in-the-middle

* update marker

* revert back to using *.graphql.ts


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-11 09:51:40 +00:00
parent ecb25cf6cd
commit bc5a606289
347 changed files with 12780 additions and 9059 deletions

View File

@@ -0,0 +1,51 @@
import { gql } from "graphql-tag"
import { Alert, AlertRef } from "../Fragments/Alert.graphql"
import { System } from "../Fragments/System.graphql"
export const GetSiteConfig = gql`
query GetSiteConfig($locale: String!) {
all_site_config(limit: 1, locale: $locale) {
items {
sitewide_alert {
alerts {
booking_widget_disabled
alertConnection {
edges {
node {
...Alert
}
}
}
}
}
}
}
}
${Alert}
`
export const GetSiteConfigRef = gql`
query GetSiteConfigRef($locale: String!) {
all_site_config(limit: 1, locale: $locale) {
items {
sitewide_alert {
alerts {
alertConnection {
edges {
node {
...AlertRef
}
}
}
}
}
system {
...System
}
}
}
}
${System}
${AlertRef}
`