Add GraphQL query name to other queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
da78410039
commit
f593867d8e
@ -17,7 +17,7 @@ export const ACTOR_FRAGMENT = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const FETCH_PERSON = gql`
|
export const FETCH_PERSON = gql`
|
||||||
query ($username: String!) {
|
query FetchPerson($username: String!) {
|
||||||
fetchPerson(preferredUsername: $username) {
|
fetchPerson(preferredUsername: $username) {
|
||||||
...ActorFragment
|
...ActorFragment
|
||||||
suspended
|
suspended
|
||||||
|
@ -2,7 +2,7 @@ import gql from "graphql-tag";
|
|||||||
import { ACTOR_FRAGMENT } from "./actor";
|
import { ACTOR_FRAGMENT } from "./actor";
|
||||||
|
|
||||||
export const GROUP_FOLLOWERS = gql`
|
export const GROUP_FOLLOWERS = gql`
|
||||||
query (
|
query GroupFollowers(
|
||||||
$name: String!
|
$name: String!
|
||||||
$followersPage: Int
|
$followersPage: Int
|
||||||
$followersLimit: Int
|
$followersLimit: Int
|
||||||
|
@ -44,7 +44,7 @@ export const REJECT_INVITATION = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const GROUP_MEMBERS = gql`
|
export const GROUP_MEMBERS = gql`
|
||||||
query (
|
query GroupMembers(
|
||||||
$groupName: String!
|
$groupName: String!
|
||||||
$name: String
|
$name: String
|
||||||
$roles: String
|
$roles: String
|
||||||
|
Loading…
Reference in New Issue
Block a user