mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-03-01 12:44:28 +00:00
* autoselect badges when rewarding and the suer still have free slots * improve semantics --------- Co-authored-by: Hendrik-cpu <62690517+Hendrik-cpu@users.noreply.github.com> Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
18 lines
380 B
TypeScript
18 lines
380 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const setTrophyBadgeSelected = gql`
|
|
mutation setTrophyBadgeSelected($slot: Int!, $badgeId: ID) {
|
|
setTrophyBadgeSelected(slot: $slot, badgeId: $badgeId) {
|
|
badgeTrophiesCount
|
|
badgeTrophiesSelected {
|
|
id
|
|
isDefault
|
|
}
|
|
badgeTrophiesUnused {
|
|
id
|
|
}
|
|
badgeTrophiesUnusedCount
|
|
}
|
|
}
|
|
`
|