storage and collection fixes

This commit is contained in:
2022-08-13 13:05:46 +03:00
parent f0b625af53
commit bdc864f443
3 changed files with 21 additions and 35 deletions

View File

@@ -252,9 +252,9 @@ type Query {
topicsByCommunity(community: String!): [Topic]!
topicsByAuthor(author: String!): [Topic]!
# collection
getCollection(author: String!, slug: String!): Collection!
shoutsByCollection(collection: String, page: Int, size: Int): [Shout]!
# collections
getUserCollections(author: String!): [Collection]!
shoutsByCollection(collection: String!, page: Int, size: Int): [Shout]!
# communities
getCommunity(slug: String): Community!
@@ -429,6 +429,7 @@ type Collection {
title: String!
desc: String
pic: String!
publishedAt: DateTime
createdAt: DateTime!
createdBy: User!
}