mirror of
https://github.com/vercel/commerce.git
synced 2025-07-28 20:51:23 +00:00
feat: get-blog-detail and relevant blogs
This commit is contained in:
11
framework/vendure/utils/queries/get-all-blog-paths-query.ts
Normal file
11
framework/vendure/utils/queries/get-all-blog-paths-query.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export const getAllBlogPathsQuery = /* GraphQL */ `
|
||||
query getAllBlogPaths($excludeBlogIds: [ID]! = [],$options:BlogListOptions){
|
||||
blogs(excludeBlogIds: $excludeBlogIds,options: $options){
|
||||
items{
|
||||
translations {
|
||||
slug
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
Reference in New Issue
Block a user