udpate schema

This commit is contained in:
Untone 2021-10-12 22:37:15 +03:00
parent b5ab1efc6a
commit b5a7c239a7

View File

@ -161,7 +161,7 @@ type User {
oauth: String # provider:token oauth: String # provider:token
userpic: String userpic: String
links: [String] links: [String]
emailConfirmed: Boolean # should contain all emails too # TODO: pagination here emailConfirmed: Boolean # should contain all emails too
muted: Boolean muted: Boolean
roles: [Role] roles: [Role]
updatedAt: DateTime updatedAt: DateTime
@ -172,6 +172,7 @@ type User {
notifications: [Int] notifications: [Int]
topics: [String] # user subscribed topics topics: [String] # user subscribed topics
communities: [Int] # user participating communities communities: [Int] # user participating communities
old_id: String
} }
type Message { type Message {
@ -198,6 +199,7 @@ type Comment {
ratigns: [Rating] ratigns: [Rating]
views: Int views: Int
old_id: String old_id: String
deleted: Boolean
} }
# is publication # is publication
@ -210,7 +212,7 @@ type Shout {
comments: [Comment] comments: [Comment]
ratigns: [Rating] ratigns: [Rating]
visibleFor: [User] visibleFor: [User]
community: Community community: Int
cover: String cover: String
layout: String layout: String
rating: Int rating: Int