Merged in revert-gql (pull request #3104)
Revert gql * Revert "Merged in fix/system-fragment (pull request #3102)" This reverts commit0d479eb337. * Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)" This reverts commite9bd159e98.
This commit is contained in:
@@ -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}
|
||||
`
|
||||
@@ -0,0 +1,11 @@
|
||||
#import "../SysAsset.graphql"
|
||||
|
||||
fragment Logo on CurrentFooter {
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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}
|
||||
`
|
||||
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -0,0 +1,18 @@
|
||||
fragment MainLinksRef on Footer {
|
||||
__typename
|
||||
main_links {
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...LoyaltyPageRef
|
||||
...ContentPageRef
|
||||
...AccountPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -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}
|
||||
`
|
||||
@@ -0,0 +1,20 @@
|
||||
fragment SecondaryLinksRef on Footer {
|
||||
__typename
|
||||
secondary_links {
|
||||
links {
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...LoyaltyPageRef
|
||||
...ContentPageRef
|
||||
...AccountPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
@@ -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}
|
||||
`
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -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}
|
||||
`
|
||||
Reference in New Issue
Block a user