mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
add postType property to post type
This commit is contained in:
parent
6d377ecaaa
commit
a67482b94f
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user