Spaces:
Paused
Paused
File size: 808 Bytes
3c3f089 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
import { gql } from "@apollo/client";
export const UsersIDsQuery = gql(`query UsersIDsQuery($input: UsersInput!) {
users(input: $input) {
message
status
data {
username
}
}
}`);
export const UserQuery = gql(`query User($input: UserInput!) {
user(input: $input) {
message
status
data {
id
email
username
firstname
lastname
avatar
bio
website
jobTitle
country
showProfession
points
projects {
id
title
slug
tags {
id
value
}
}
}
}
}`);
export const MostActiveUsersQuery = gql(`query MostActiveUsers {
mostActiveUsers {
status
message
data {
id
avatar
username
bio
}
}
}`);
|