Files
web/packages/trpc/lib/graphql/Query/ProfilingConsent.graphql.ts
Matilda Landström 29e81d9995 Merged in fix/LOY-483-only-english (pull request #3194)
Fix/LOY-483: Fix My Pages working in all languages

* fix(LOY-483): add back specific handling of profile pages

* fix(LOY-483): remove limit of 1 profiling consent config


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-24 10:14:57 +00:00

28 lines
538 B
TypeScript

import { gql } from "graphql-tag"
export const GetProfilingConsent = gql`
query GetProfilingConsent($locale: String!) {
all_profiling_consent(locale: $locale) {
items {
main_icon
profiling_consent_banner {
button_text
header
sub_header
}
profiling_consent_modal {
header
sub_header
cards {
card {
image_type
preamble
title
}
}
}
}
}
}
`