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

View File

@@ -1,5 +1,8 @@
#import "../SysAsset.graphql"
import { gql } from "graphql-tag"
import { SysAsset } from "../SysAsset.graphql"
export const CurrentFooterAppDownloads = gql`
fragment CurrentFooterAppDownloads on CurrentFooter {
app_downloads {
title
@@ -25,3 +28,5 @@ fragment CurrentFooterAppDownloads on CurrentFooter {
}
}
}
${SysAsset}
`

View File

@@ -1,11 +0,0 @@
#import "../SysAsset.graphql"
fragment Logo on CurrentFooter {
logoConnection {
edges {
node {
...SysAsset
}
}
}
}

View File

@@ -0,0 +1,16 @@
import { gql } from "graphql-tag"
import { SysAsset } from "../SysAsset.graphql"
export const Logo = gql`
fragment Logo on CurrentFooter {
logoConnection {
edges {
node {
...SysAsset
}
}
}
}
${SysAsset}
`

View File

@@ -1,3 +1,6 @@
import { gql } from "graphql-tag"
export const MainLinks = gql`
fragment MainLinks on Footer {
main_links {
title
@@ -27,3 +30,4 @@ fragment MainLinks on Footer {
}
}
}
`

View File

@@ -1,3 +1,6 @@
import { gql } from "graphql-tag"
export const Navigation = gql`
fragment Navigation on CurrentFooter {
navigation {
links {
@@ -7,3 +10,4 @@ fragment Navigation on CurrentFooter {
title
}
}
`

View File

@@ -1,18 +0,0 @@
fragment MainLinksRef on Footer {
__typename
main_links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
system {
...System
}
}

View File

@@ -0,0 +1,31 @@
import { gql } from "graphql-tag"
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
import { System } from "../../System.graphql"
export const MainLinksRef = gql`
fragment MainLinksRef on Footer {
__typename
main_links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
system {
...System
}
}
${System}
${LoyaltyPageRef}
${AccountPageRef}
${ContentPageRef}
`

View File

@@ -1,20 +0,0 @@
fragment SecondaryLinksRef on Footer {
__typename
secondary_links {
links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
}
system {
...System
}
}

View File

@@ -0,0 +1,33 @@
import { gql } from "graphql-tag"
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
import { System } from "../../System.graphql"
export const SecondaryLinksRef = gql`
fragment SecondaryLinksRef on Footer {
__typename
secondary_links {
links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
}
system {
...System
}
}
${System}
${LoyaltyPageRef}
${AccountPageRef}
${ContentPageRef}
`

View File

@@ -1,24 +0,0 @@
#import "../Refs/MyPages/AccountPage.graphql"
#import "../Refs/ContentPage/ContentPage.graphql"
#import "../Refs/LoyaltyPage/LoyaltyPage.graphql"
fragment SecondaryLinks on Footer {
secondary_links {
title
links {
title
open_in_new_tab
pageConnection {
edges {
node {
__typename
}
}
}
link {
href
title
}
}
}
}

View File

@@ -0,0 +1,24 @@
import { gql } from "graphql-tag"
export const SecondaryLinks = gql`
fragment SecondaryLinks on Footer {
secondary_links {
title
links {
title
open_in_new_tab
pageConnection {
edges {
node {
__typename
}
}
}
link {
href
title
}
}
}
}
`

View File

@@ -1,3 +1,6 @@
import { gql } from "graphql-tag"
export const CurrentFooterSocialMedia = gql`
fragment CurrentFooterSocialMedia on CurrentFooter {
social_media {
title
@@ -15,3 +18,4 @@ fragment CurrentFooterSocialMedia on CurrentFooter {
}
}
}
`

View File

@@ -1,5 +1,8 @@
#import "../SysAsset.graphql"
import { gql } from "graphql-tag"
import { SysAsset } from "../SysAsset.graphql"
export const TripAdvisor = gql`
fragment TripAdvisor on CurrentFooter {
trip_advisor {
logoConnection {
@@ -12,3 +15,5 @@ fragment TripAdvisor on CurrentFooter {
title
}
}
${SysAsset}
`