From 90c552a8f398c0eed501bb6c892516e4234d1b27 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 20 Aug 2021 17:28:29 +0300 Subject: [PATCH] more optional shout --- schema.graphql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/schema.graphql b/schema.graphql index bef45f26..3c1cc85e 100644 --- a/schema.graphql +++ b/schema.graphql @@ -178,24 +178,25 @@ type Message { # is publication type Shout { - org_id: Int! slug: String! authors: [Int!]! + body: String! + org_id: Int cover: String layout: String - body: String! createdAt: DateTime! - updatedAt: DateTime! + updatedAt: DateTime deletedAt: DateTime deletedBy: Int rating: Int ratigns: [Rating] - published: Boolean! + published: Boolean publishedAt: DateTime # if there is no published field - it is not published replyTo: String # another shout tags: [String] # actual values topics: [String] # topic-slugs, order has matter title: String + subtitle: String versionOf: String visibleForRoles: [String] # role ids are strings visibleForUsers: [Int]