classic comments entity wip

This commit is contained in:
2021-09-03 19:01:31 +03:00
parent abefcf5039
commit 8b8942225b
3 changed files with 53 additions and 6 deletions

View File

@@ -180,6 +180,21 @@ type Message {
visibleForUsers: [Int]!
}
type Comment {
id: Int!
author: Int!
body: String!
createdAt: DateTime!
updatedAt: DateTime!
shout: Int!
deletedAt: DateTime
deletedBy: Int
rating: Int
ratigns: [Rating]
views: Int
old_id: String
}
# is publication
type Shout {
id: Int!