This commit is contained in:
Quangnhankie
2021-10-18 22:54:55 +07:00
parent 111e831d3d
commit dd31beb260
18 changed files with 236 additions and 54 deletions

View File

@@ -12,6 +12,7 @@ import getSiteInfo from './operations/get-site-info'
import login from './operations/login'
import fetchGraphqlApi from './utils/fetch-graphql-api'
import getAllBlogs from './operations/get-all-blogs'
import getFeaturedBlog from './operations/get-featured-blog'
export interface VendureConfig extends CommerceAPIConfig {}
@@ -44,7 +45,8 @@ const operations = {
getProduct,
getAllFacets,
getAllCollections,
getAllBlogs
getAllBlogs,
getFeaturedBlog
}
export const provider = { config, operations }