Files
web/packages/trpc/lib/graphql/Query/ResolveEntry.graphql
Matilda Landström 0e30a2d218 Merged in feat/LOY-361-add-promo-campaign-page-type (pull request #2826)
Feat/LOY-361 add promo campaign page type

* feat(LOY-361): add Pomo Campaign page type

* chore(SW-361): remove campaign page flag

* fix(LOY-361): cleanup

* fix(LOY-361): add promo code


Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-19 07:20:17 +00:00

115 lines
2.0 KiB
GraphQL

#import "../Fragments/System.graphql"
query EntryByUrlBatch1($locale: String!, $url: String!) {
all_account_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_collection_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_content_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_current_blocks_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_loyalty_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_hotel_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
}
query EntryByUrlBatch2($locale: String!, $url: String!) {
all_destination_overview_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_destination_country_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_destination_city_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_start_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_campaign_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
all_campaign_overview_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
}
query EntryByUrlBatch3($locale: String!, $url: String!) {
all_promo_campaign_page(where: { url: $url }, locale: $locale) {
items {
system {
...System
}
}
total
}
}