Skip to content

Instantly share code, notes, and snippets.

@nossila
Created February 5, 2021 00:42
Show Gist options
  • Save nossila/33f76ff711fc46afb4d4c4d2e9188055 to your computer and use it in GitHub Desktop.
Save nossila/33f76ff711fc46afb4d4c4d2e9188055 to your computer and use it in GitHub Desktop.
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