From b5a7c239a746a1388ac37d06e79726aaa768fc58 Mon Sep 17 00:00:00 2001 From: Untone Date: Tue, 12 Oct 2021 22:37:15 +0300 Subject: [PATCH] udpate schema --- schema.graphql | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/schema.graphql b/schema.graphql index b93b115f..7e1933f5 100644 --- a/schema.graphql +++ b/schema.graphql @@ -161,7 +161,7 @@ type User { oauth: String # provider:token userpic: String links: [String] - emailConfirmed: Boolean # should contain all emails too # TODO: pagination here + emailConfirmed: Boolean # should contain all emails too muted: Boolean roles: [Role] updatedAt: DateTime @@ -172,6 +172,7 @@ type User { notifications: [Int] topics: [String] # user subscribed topics communities: [Int] # user participating communities + old_id: String } type Message { @@ -198,6 +199,7 @@ type Comment { ratigns: [Rating] views: Int old_id: String + deleted: Boolean } # is publication @@ -210,7 +212,7 @@ type Shout { comments: [Comment] ratigns: [Rating] visibleFor: [User] - community: Community + community: Int cover: String layout: String rating: Int