Merged in chore/delete-unused-files (pull request #3346)
chore: Delete unused files * Delete unused files Ignore design-system for now Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Contact } from "../Contact.graphql"
|
||||
|
||||
export const ContactAside = gql`
|
||||
fragment ContactAside on CurrentBlocksPageAsideContact {
|
||||
contact {
|
||||
contactConnection {
|
||||
edges {
|
||||
node {
|
||||
...Contact
|
||||
}
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
}
|
||||
${Contact}
|
||||
`
|
||||
@@ -1,12 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Puff } from "../Puff.graphql"
|
||||
|
||||
export const PuffAside = gql`
|
||||
fragment PuffAside on CurrentBlocksPageAsidePuff {
|
||||
puff {
|
||||
...Puff
|
||||
}
|
||||
}
|
||||
${Puff}
|
||||
`
|
||||
@@ -1,39 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const ListItem = gql`
|
||||
fragment ListItem on CurrentBlocksPageBlocksListBlockListItemsListItem {
|
||||
list_item {
|
||||
list_item_style
|
||||
subtitle
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ListItemExternalLink = gql`
|
||||
fragment ListItemExternalLink on CurrentBlocksPageBlocksListBlockListItemsListItemExternalLink {
|
||||
list_item_external_link {
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
list_item_style
|
||||
subtitle
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ListBlock = gql`
|
||||
fragment ListBlock on CurrentBlocksPageBlocksList {
|
||||
list {
|
||||
list_items {
|
||||
__typename
|
||||
...ListItem
|
||||
...ListItemExternalLink
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
${ListItem}
|
||||
${ListItemExternalLink}
|
||||
`
|
||||
@@ -1,18 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Puff } from "../Puff.graphql"
|
||||
|
||||
export const PuffBlock = gql`
|
||||
fragment PuffBlock on CurrentBlocksPageBlocksPuffs {
|
||||
puffs {
|
||||
puffs {
|
||||
... on CurrentBlocksPageBlocksPuffsBlockPuffsPuff {
|
||||
puff {
|
||||
...Puff
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${Puff}
|
||||
`
|
||||
@@ -1,23 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const TextBlock = gql`
|
||||
fragment TextBlock on CurrentBlocksPageBlocksText {
|
||||
text {
|
||||
content {
|
||||
embedded_itemsConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
json
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,13 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const CurrentBlocksPageBreadcrumbs = gql`
|
||||
fragment CurrentBlocksPageBreadcrumbs on CurrentBlocksPage {
|
||||
breadcrumbs {
|
||||
parents {
|
||||
href
|
||||
title
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,32 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const PromoCampaignPageBreadcrumb = gql`
|
||||
fragment PromoCampaignPageBreadcrumb on PromoCampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
url
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const PromoCampaignPageBreadcrumbRef = gql`
|
||||
fragment PromoCampaignPageBreadcrumbRef on PromoCampaignPage {
|
||||
web {
|
||||
breadcrumbs {
|
||||
title
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,71 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const ContactExtraInfo = gql`
|
||||
fragment ContactExtraInfo on ContactBlockSectionsExtraInfo {
|
||||
extra_info {
|
||||
text
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactMailingAddress = gql`
|
||||
fragment ContactMailingAddress on ContactBlockSectionsMailingAddress {
|
||||
mailing_address {
|
||||
city
|
||||
country
|
||||
name
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactPhone = gql`
|
||||
fragment ContactPhone on ContactBlockSectionsPhone {
|
||||
phone {
|
||||
number
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactTitle = gql`
|
||||
fragment ContactTitle on ContactBlockSectionsTitle {
|
||||
title {
|
||||
text
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const ContactVisitingAddress = gql`
|
||||
fragment ContactVisitingAddress on ContactBlockSectionsVisitingAddress {
|
||||
visiting_address {
|
||||
city
|
||||
country
|
||||
street
|
||||
zip
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
export const Contact = gql`
|
||||
fragment Contact on ContactBlock {
|
||||
sections {
|
||||
__typename
|
||||
...ContactExtraInfo
|
||||
...ContactMailingAddress
|
||||
...ContactPhone
|
||||
...ContactTitle
|
||||
...ContactVisitingAddress
|
||||
}
|
||||
system {
|
||||
locale
|
||||
uid
|
||||
}
|
||||
}
|
||||
${ContactExtraInfo}
|
||||
${ContactMailingAddress}
|
||||
${ContactPhone}
|
||||
${ContactTitle}
|
||||
${ContactVisitingAddress}
|
||||
`
|
||||
@@ -1,32 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const CurrentFooterAppDownloads = gql`
|
||||
fragment CurrentFooterAppDownloads on CurrentFooter {
|
||||
app_downloads {
|
||||
title
|
||||
app_store {
|
||||
href
|
||||
imageConnection {
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
google_play {
|
||||
href
|
||||
imageConnection {
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${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,33 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const MainLinks = gql`
|
||||
fragment MainLinks on Footer {
|
||||
main_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on AccountPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
... on LoyaltyPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
... on ContentPage {
|
||||
title
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,13 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const Navigation = gql`
|
||||
fragment Navigation on CurrentFooter {
|
||||
navigation {
|
||||
links {
|
||||
href
|
||||
title
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -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}
|
||||
`
|
||||
@@ -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}
|
||||
`
|
||||
@@ -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,21 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const CurrentFooterSocialMedia = gql`
|
||||
fragment CurrentFooterSocialMedia on CurrentFooter {
|
||||
social_media {
|
||||
title
|
||||
facebook {
|
||||
href
|
||||
title
|
||||
}
|
||||
instagram {
|
||||
href
|
||||
title
|
||||
}
|
||||
twitter {
|
||||
href
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,19 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
|
||||
export const TripAdvisor = gql`
|
||||
fragment TripAdvisor on CurrentFooter {
|
||||
trip_advisor {
|
||||
logoConnection {
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
title
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,29 +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"
|
||||
|
||||
export const TertiaryLinksRef = gql`
|
||||
fragment TertiaryLinksRef on Footer {
|
||||
__typename
|
||||
tertiary_links {
|
||||
pageConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...LoyaltyPageRef
|
||||
...ContentPageRef
|
||||
...AccountPageRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${LoyaltyPageRef}
|
||||
${AccountPageRef}
|
||||
${ContentPageRef}
|
||||
`
|
||||
@@ -1,21 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const Grid = gql`
|
||||
fragment Grid on Grid {
|
||||
columns {
|
||||
span
|
||||
rows {
|
||||
rowConnection {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
... on Card {
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
@@ -1,17 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "./SysAsset.graphql"
|
||||
|
||||
export const Hero = gql`
|
||||
fragment Hero on Hero {
|
||||
imagesConnection {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,14 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CurrentBlocksPageLink = gql`
|
||||
fragment CurrentBlocksPageLink on CurrentBlocksPage {
|
||||
title
|
||||
url
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,14 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "../System.graphql"
|
||||
|
||||
export const CurrentBlocksPageLink = gql`
|
||||
fragment CurrentBlocksPageLink on CurrentBlocksPage {
|
||||
title
|
||||
url
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
@@ -1,22 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "./SysAsset.graphql"
|
||||
|
||||
export const Preamble = gql`
|
||||
fragment Preamble on CurrentBlocksPage {
|
||||
preamble {
|
||||
text {
|
||||
json
|
||||
embedded_itemsConnection(limit: 30) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,25 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { SysAsset } from "./SysAsset.graphql"
|
||||
|
||||
export const Puff = gql`
|
||||
fragment Puff on Puff {
|
||||
imageConnection {
|
||||
edges {
|
||||
node {
|
||||
...SysAsset
|
||||
}
|
||||
}
|
||||
}
|
||||
puff_style
|
||||
link {
|
||||
href
|
||||
title
|
||||
}
|
||||
text {
|
||||
json
|
||||
}
|
||||
title
|
||||
}
|
||||
${SysAsset}
|
||||
`
|
||||
@@ -1,19 +0,0 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
export const GetRewards = gql`
|
||||
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
||||
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
||||
items {
|
||||
taxonomies {
|
||||
term_uid
|
||||
}
|
||||
label
|
||||
grouped_label
|
||||
description
|
||||
grouped_description
|
||||
value
|
||||
reward_id
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user