Merged in chore/replace-graphql-tag/loader (pull request #3096)

Use turbopack for dev builds.
Remove graphql-tag/loader, replaced by gql`` tag literals instead.



Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-07 12:33:17 +00:00
parent ae3537e008
commit e9bd159e98
291 changed files with 11734 additions and 8000 deletions
@@ -0,0 +1,128 @@
import { gql } from "graphql-tag"
import { SystemFragment } from "../Fragments/SystemFragment.graphql"
export const EntryByUrlBatch1 = gql`
query EntryByUrlBatch1($locale: String!, $url: String!) {
all_account_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_collection_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_content_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_current_blocks_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_loyalty_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_hotel_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
}
${SystemFragment}
`
export const EntryByUrlBatch2 = gql`
query EntryByUrlBatch2($locale: String!, $url: String!) {
all_destination_overview_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_destination_country_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_destination_city_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_start_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_campaign_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
all_campaign_overview_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
}
${SystemFragment}
`
export const EntryByUrlBatch3 = gql`
query EntryByUrlBatch3($locale: String!, $url: String!) {
all_promo_campaign_page(where: { url: $url }, locale: $locale) {
items {
system {
...SystemFragment
}
}
total
}
}
${SystemFragment}
`