more optional shout

This commit is contained in:
Untone 2021-08-20 17:28:29 +03:00
parent f756cb9fb6
commit 90c552a8f3

View File

@ -178,24 +178,25 @@ type Message {
# is publication # is publication
type Shout { type Shout {
org_id: Int!
slug: String! slug: String!
authors: [Int!]! authors: [Int!]!
body: String!
org_id: Int
cover: String cover: String
layout: String layout: String
body: String!
createdAt: DateTime! createdAt: DateTime!
updatedAt: DateTime! updatedAt: DateTime
deletedAt: DateTime deletedAt: DateTime
deletedBy: Int deletedBy: Int
rating: Int rating: Int
ratigns: [Rating] ratigns: [Rating]
published: Boolean! published: Boolean
publishedAt: DateTime # if there is no published field - it is not published publishedAt: DateTime # if there is no published field - it is not published
replyTo: String # another shout replyTo: String # another shout
tags: [String] # actual values tags: [String] # actual values
topics: [String] # topic-slugs, order has matter topics: [String] # topic-slugs, order has matter
title: String title: String
subtitle: String
versionOf: String versionOf: String
visibleForRoles: [String] # role ids are strings visibleForRoles: [String] # role ids are strings
visibleForUsers: [Int] visibleForUsers: [Int]