light weight graphql query to fetch data to construct post URL
This commit is contained in:
@ -8,6 +8,7 @@ query GetPost($id: ID!) {
|
||||
name
|
||||
id
|
||||
imageId
|
||||
username
|
||||
}
|
||||
previewImage {
|
||||
id
|
||||
@ -49,3 +50,12 @@ query GetPost($id: ID!) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetPostLight($id: ID!) {
|
||||
post(id: $id) {
|
||||
uniqueSlug
|
||||
creator {
|
||||
username
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user