Merge branch 'dev' into feature/email-templates

This commit is contained in:
Untone 2024-02-24 11:20:23 +03:00
commit 3a71161da9
3 changed files with 40 additions and 6 deletions

View File

@ -0,0 +1,18 @@
import { gql } from '@urql/core'
export default gql`
query GetAuthorFollowsAuthors($slug: String, $user: String, $author_id: Int) {
get_author_follows_authors(slug: $slug, user: $user, author_id: $author_id) {
id
slug
name
pic
bio
stat {
shouts
authors
followers
}
}
}
`

View File

@ -0,0 +1,16 @@
import { gql } from '@urql/core'
export default gql`
query GetAuthorFollowsTopics($slug: String, $user: String, $author_id: Int) {
get_author_follows_topics(slug: $slug, user: $user, author_id: $author_id) {
id
slug
title
stat {
shouts
authors
followers
}
}
}
`

View File

@ -25,12 +25,12 @@ export default gql`
followers followers
} }
} }
communities { #communities {
id # id
slug # slug
name # name
pic # pic
} #}
} }
} }
` `