Created
July 8, 2019 23:58
-
-
Save luandevpro/14aa6b251dca4fb306d7a03b845fdf35 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
const getProject = gql` | |
query project($workspaceId: uuid!) { | |
project(where: {workspaceId: {_eq: $workspaceId}}) { | |
id | |
title | |
owner { | |
userId | |
photoURL | |
} | |
createdAt | |
workspace { | |
id | |
name | |
} | |
project_users { | |
id | |
user { | |
userId | |
photoURL | |
displayName | |
} | |
} | |
} | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment