Add some names to the GQL queries

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-17 18:19:24 +02:00
parent bab751591f
commit 732785919a
5 changed files with 18 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ export const COMMENT_RECURSIVE_FRAGMENT = gql`
`;
export const FETCH_THREAD_REPLIES = gql`
query ($threadId: ID!) {
query FetchThreadReplies($threadId: ID!) {
thread(id: $threadId) {
...CommentRecursive
}
@@ -62,7 +62,7 @@ export const FETCH_THREAD_REPLIES = gql`
`;
export const COMMENTS_THREADS = gql`
query ($eventUUID: UUID!) {
query CommentThreads($eventUUID: UUID!) {
event(uuid: $eventUUID) {
id
uuid
@@ -75,7 +75,7 @@ export const COMMENTS_THREADS = gql`
`;
export const COMMENTS_THREADS_WITH_REPLIES = gql`
query($eventUUID: UUID!) {
query CommentThreadsWithReplies($eventUUID: UUID!) {
event(uuid: $eventUUID) {
id
uuid