Merged in feature/turbopack (pull request #3117)
Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
This commit is contained in:
31
packages/trpc/lib/graphql/Query/LoyaltyLevels.graphql.ts
Normal file
31
packages/trpc/lib/graphql/Query/LoyaltyLevels.graphql.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user