Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
32 lines
701 B
TypeScript
32 lines
701 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
export const GetAllLoyaltyLevels = gql`
|
|
query GetAllLoyaltyLevels($lang: String!, $level_ids: [String]!) {
|
|
all_loyalty_level(where: { level_id_in: $level_ids }, locale: $lang) {
|
|
items {
|
|
description
|
|
level_id
|
|
name
|
|
required_points
|
|
required_nights
|
|
user_facing_tag
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export const GetLoyaltyLevel = gql`
|
|
query GetLoyaltyLevel($lang: String!, $level_id: String!) {
|
|
all_loyalty_level(where: { level_id: $level_id }, locale: $lang) {
|
|
items {
|
|
description
|
|
level_id
|
|
name
|
|
required_points
|
|
required_nights
|
|
user_facing_tag
|
|
}
|
|
}
|
|
}
|
|
`
|