Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created July 8, 2019 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/14aa6b251dca4fb306d7a03b845fdf35 to your computer and use it in GitHub Desktop.
Save luandevpro/14aa6b251dca4fb306d7a03b845fdf35 to your computer and use it in GitHub Desktop.
const getProject = gql`
query project($workspaceId: uuid!) {
project(where: {workspaceId: {_eq: $workspaceId}}) {
id
title
owner {
email
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