Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds. Remove graphql-tag/loader, replaced by gql`` tag literals instead. Approved-by: Linus Flood
This commit is contained in:
19
packages/trpc/lib/graphql/Query/Rewards.graphql.ts
Normal file
19
packages/trpc/lib/graphql/Query/Rewards.graphql.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user