merged
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
scalar DateTime
|
||||
|
||||
type _Service {
|
||||
sdl: String
|
||||
}
|
||||
@@ -224,7 +225,7 @@ type Query {
|
||||
userFollowedAuthors(slug: String!): [Author]!
|
||||
userFollowedTopics(slug: String!): [Topic]!
|
||||
authorsAll: [Author]!
|
||||
getAuthor(slug: String!): User
|
||||
getAuthor(slug: String!): Author
|
||||
myFeed(options: LoadShoutsOptions): [Shout]
|
||||
|
||||
# migrate
|
||||
@@ -236,6 +237,8 @@ type Query {
|
||||
topicsRandom(amount: Int): [Topic]!
|
||||
topicsByCommunity(community: String!): [Topic]!
|
||||
topicsByAuthor(author: String!): [Topic]!
|
||||
|
||||
# Apollo SDL
|
||||
_service: _Service!
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from ariadne import ScalarType, QueryType, MutationType
|
||||
|
||||
|
||||
datetime_scalar = ScalarType("DateTime")
|
||||
query = QueryType()
|
||||
mutation = MutationType()
|
||||
|
||||
Reference in New Issue
Block a user