update schema

This commit is contained in:
2021-10-03 19:19:48 +03:00
parent 0a9949caa3
commit 633c07d58d
4 changed files with 15 additions and 14 deletions

View File

@@ -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
}