Created
December 18, 2017 21:50
-
-
Save esokullu/7590892aec23ad41aec4cc2ed1b11587 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# pho-graphql-v1 | |
type Tweet implements ObjectNode | |
@edges(in:"User:Post, User:Like, User:Consume", out:"Mention") | |
@permissions(mod: "0x07555", mask:"0xfffff") | |
@properties(expires: 0, editable: false, volatile: false, revisionable: false) | |
{ | |
id: ID!, | |
content: String! @constraints(maxLength: 140), | |
create_time: Date! @now | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment