Merged in revert-gql (pull request #3104)

Revert gql

* Revert "Merged in fix/system-fragment (pull request #3102)"

This reverts commit 0d479eb337.

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

This reverts commit e9bd159e98.
This commit is contained in:
Linus Flood
2025-11-07 13:13:28 +00:00
parent cab85f3ffd
commit 5770dcdd9c
291 changed files with 8000 additions and 11733 deletions

View File

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

View File

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

View File

@@ -1,16 +0,0 @@
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,6 +1,3 @@
import { gql } from "graphql-tag"
export const MainLinks = gql`
fragment MainLinks on Footer {
main_links {
title
@@ -30,4 +27,3 @@ fragment MainLinks on Footer {
}
}
}
`

View File

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

View File

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

View File

@@ -1,31 +0,0 @@
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

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

View File

@@ -1,33 +0,0 @@
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

@@ -0,0 +1,24 @@
#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

@@ -1,24 +0,0 @@
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,6 +1,3 @@
import { gql } from "graphql-tag"
export const CurrentFooterSocialMedia = gql`
fragment CurrentFooterSocialMedia on CurrentFooter {
social_media {
title
@@ -18,4 +15,3 @@ fragment CurrentFooterSocialMedia on CurrentFooter {
}
}
}
`

View File

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