model upgrade
This commit is contained in:
@@ -178,7 +178,9 @@ type Message {
|
||||
type Shout {
|
||||
org_id: Int!
|
||||
slug: String!
|
||||
author: Int!
|
||||
authors: [Int!]!
|
||||
cover: String
|
||||
layout: String
|
||||
body: String!
|
||||
createdAt: DateTime!
|
||||
updatedAt: DateTime!
|
||||
@@ -186,7 +188,8 @@ type Shout {
|
||||
deletedBy: Int
|
||||
rating: Int
|
||||
ratigns: [Rating]
|
||||
published: DateTime # if there is no published field - it is not published
|
||||
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
|
||||
@@ -202,6 +205,7 @@ type Topic {
|
||||
createdBy: Int! # User
|
||||
createdAt: DateTime!
|
||||
value: String
|
||||
desc: String
|
||||
parents: [String] # NOTE: topic can have parent topics
|
||||
children: [String] # and children
|
||||
}
|
||||
|
Reference in New Issue
Block a user