feat(SW-2863): Move contentstack router to trpc package * Add exports to packages and lint rule to prevent relative imports * Add env to trpc package * Add eslint to trpc package * Apply lint rules * Use direct imports from trpc package * Add lint-staged config to trpc * Move lang enum to common * Restructure trpc package folder structure * WIP first step * update internal imports in trpc * Fix most errors in scandic-web Just 100 left... * Move Props type out of trpc * Fix CategorizedFilters types * Move more schemas in hotel router * Fix deps * fix getNonContentstackUrls * Fix import error * Fix entry error handling * Fix generateMetadata metrics * Fix alertType enum * Fix duplicated types * lint:fix * Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package * Fix broken imports * Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package Approved-by: Linus Flood
142 lines
2.5 KiB
GraphQL
142 lines
2.5 KiB
GraphQL
#import "./Card.graphql"
|
|
#import "./InfoCard.graphql"
|
|
#import "./LoyaltyCard.graphql"
|
|
#import "./TeaserCard.graphql"
|
|
|
|
#import "./Refs/Card.graphql"
|
|
#import "./Refs/InfoCard.graphql"
|
|
#import "./Refs/LoyaltyCard.graphql"
|
|
#import "./Refs/TeaserCard.graphql"
|
|
|
|
fragment CardsGrid_ContentPage on ContentPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...LoyaltyCardBlock
|
|
...TeaserCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_ContentPageRefs on ContentPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...LoyaltyCardBlockRef
|
|
...TeaserCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_CollectionPage on CollectionPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...TeaserCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_CollectionPageRefs on CollectionPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...TeaserCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_LoyaltyPage on LoyaltyPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...LoyaltyCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_LoyaltyPageRefs on LoyaltyPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...LoyaltyCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_StartPage on StartPageBlocksCardsGrid {
|
|
cards_grid {
|
|
layout
|
|
preamble
|
|
theme
|
|
title
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlock
|
|
...TeaserCardBlock
|
|
...InfoCardBlock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment CardsGrid_StartPageRefs on StartPageBlocksCardsGrid {
|
|
cards_grid {
|
|
cardConnection(limit: 10) {
|
|
edges {
|
|
node {
|
|
__typename
|
|
...CardBlockRef
|
|
...TeaserCardBlockRef
|
|
...InfoCardBlockRef
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|