add postType property to post type

This commit is contained in:
Moriz Wahl 2023-03-29 16:21:51 +02:00
parent 6d377ecaaa
commit a67482b94f

View File

@ -171,6 +171,8 @@ type Post {
@cypher(statement: "MATCH (this)<-[emoted:EMOTED]-(:User) RETURN COUNT(DISTINCT emoted)")
group: Group @relation(name: "IN", direction: "OUT")
postType: [PostType]
@cypher(statement: "RETURN filter(l IN labels(this) WHERE NOT l = 'Post')")
}
input _PostInput {