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,123 +0,0 @@
import { gql } from "graphql-tag"
import {
CardsGrid_CollectionPage,
CardsGrid_CollectionPageRefs,
} from "../../Fragments/Blocks/CardsGrid.graphql"
import {
DynamicContent_CollectionPage,
DynamicContent_CollectionPageRefs,
} from "../../Fragments/Blocks/DynamicContent.graphql"
import {
Shortcuts_CollectionPage,
Shortcuts_CollectionPageRefs,
} from "../../Fragments/Blocks/Shortcuts.graphql"
import {
UspGrid_CollectionPage,
UspGrid_CollectionPageRefs,
} from "../../Fragments/Blocks/UspGrid.graphql"
import {
NavigationLinks_CollectionPage,
NavigationLinksRef_CollectionPage,
} from "../../Fragments/CollectionPage/NavigationLinks.graphql"
import {
TopPrimaryButton_CollectionPage,
TopPrimaryButtonRef_CollectionPage,
} from "../../Fragments/CollectionPage/TopPrimaryButton.graphql"
import { System } from "../../Fragments/System.graphql"
export const GetCollectionPage = gql`
query GetCollectionPage($locale: String!, $uid: String!) {
collection_page(uid: $uid, locale: $locale) {
hero_image
title
header {
heading
preamble
...TopPrimaryButton_CollectionPage
...NavigationLinks_CollectionPage
}
meeting_package {
show_widget
location
}
blocks {
__typename
...CardsGrid_CollectionPage
...Shortcuts_CollectionPage
...UspGrid_CollectionPage
...DynamicContent_CollectionPage
}
system {
...System
created_at
updated_at
}
}
trackingProps: collection_page(locale: "en", uid: $uid) {
url
}
}
${TopPrimaryButton_CollectionPage}
${NavigationLinks_CollectionPage}
${CardsGrid_CollectionPage}
${Shortcuts_CollectionPage}
${UspGrid_CollectionPage}
${DynamicContent_CollectionPage}
`
export const GetCollectionPageRefs = gql`
query GetCollectionPageRefs($locale: String!, $uid: String!) {
collection_page(locale: $locale, uid: $uid) {
header {
...TopPrimaryButtonRef_CollectionPage
...NavigationLinksRef_CollectionPage
}
blocks {
__typename
...CardsGrid_CollectionPageRefs
...Shortcuts_CollectionPageRefs
...UspGrid_CollectionPageRefs
...DynamicContent_CollectionPageRefs
}
system {
...System
}
}
}
${System}
${TopPrimaryButtonRef_CollectionPage}
${NavigationLinksRef_CollectionPage}
${CardsGrid_CollectionPageRefs}
${Shortcuts_CollectionPageRefs}
${UspGrid_CollectionPageRefs}
${DynamicContent_CollectionPageRefs}
`
export const GetDaDeEnUrlsCollectionPage = gql`
query GetDaDeEnUrlsCollectionPage($uid: String!) {
de: collection_page(locale: "de", uid: $uid) {
url
}
en: collection_page(locale: "en", uid: $uid) {
url
}
da: collection_page(locale: "da", uid: $uid) {
url
}
}
`
export const GetFiNoSvUrlsCollectionPage = gql`
query GetFiNoSvUrlsCollectionPage($uid: String!) {
fi: collection_page(locale: "fi", uid: $uid) {
url
}
no: collection_page(locale: "no", uid: $uid) {
url
}
sv: collection_page(locale: "sv", uid: $uid) {
url
}
}
`