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