update schema
This commit is contained in:
@@ -155,7 +155,7 @@ type User {
|
||||
username: String! # email
|
||||
createdAt: DateTime!
|
||||
slug: String!
|
||||
viewname: String # to display
|
||||
name: String # to display
|
||||
email: String
|
||||
password: String
|
||||
oauth: String # provider:token
|
||||
@@ -239,10 +239,11 @@ type Community {
|
||||
|
||||
type Topic {
|
||||
slug: String! # ID
|
||||
title: String
|
||||
body: String
|
||||
pic: String
|
||||
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