Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
20 lines
369 B
TypeScript
20 lines
369 B
TypeScript
import { gql } from "graphql-tag"
|
|
|
|
export const GetRewards = gql`
|
|
query GetRewards($locale: String!, $rewardIds: [String!]) {
|
|
all_reward(locale: $locale, where: { reward_id_in: $rewardIds }) {
|
|
items {
|
|
taxonomies {
|
|
term_uid
|
|
}
|
|
label
|
|
grouped_label
|
|
description
|
|
grouped_description
|
|
value
|
|
reward_id
|
|
}
|
|
}
|
|
}
|
|
`
|