From 1def45b61c9578e9d5caf1158bd9a77417771999 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Tue, 15 Nov 2022 12:34:12 +0300 Subject: [PATCH] fix-schema --- schema.graphql | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/schema.graphql b/schema.graphql index 5a43479b..4156f160 100644 --- a/schema.graphql +++ b/schema.graphql @@ -191,27 +191,27 @@ type Mutation { unfollow(what: FollowingEntity!, slug: String!): Result! } -interface By { +input MessagesBy { + author: String + body: String + chat: String order: String days: Int stat: String } -input MessagesBy implements By { - author: String - body: String - chat: String -} - -input AuthorsBy implements By{ +input AuthorsBy { lastSeen: DateTime createdAt: DateTime slug: String name: String topic: String + order: String + days: Int + stat: String } -input ShoutsBy implements By { +input ShoutsBy { slug: String title: String body: String @@ -220,13 +220,19 @@ input ShoutsBy implements By { layout: String published: Boolean visibility: String + order: String + days: Int + stat: String } -input ReactionBy implements By { +input ReactionBy { shout: String body: String topic: String author: String + order: String + days: Int + stat: String } ################################### Query