Created
February 5, 2021 00:42
-
-
Save nossila/33f76ff711fc46afb4d4c4d2e9188055 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type UseCase implements Asset { | |
uuid: ID! | |
image: [Image] @relation(name: "HAS_IMAGE", direction: "OUT") | |
name: String | |
slug: String | |
summary: String | |
graphgist: GraphGist @relation(name: "FOR_USE_CASE", direction: "IN") | |
num_graphgists: Int @cypher(statement: "RETURN this") | |
my_perms: [String] | |
} | |
type Challenge implements Asset { | |
uuid: ID! | |
image: [Image] @relation(name: "HAS_IMAGE", direction: "OUT") | |
name: String | |
slug: String | |
summary: String | |
start_date: DateTime | |
end_date: DateTime | |
graphgist: GraphGist @relation(name: "FOR_CHALLENGE", direction: "IN") | |
num_graphgists: Int @cypher(statement: "RETURN this") | |
my_perms: [String] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment