commerce/framework/shopify/common/get-site-info.ts
2021-01-29 00:07:17 +08:00

31 lines
438 B
TypeScript

import { ShopifyConfig } from '../index'
type Options = {
config: ShopifyConfig
preview?: boolean
}
const getSiteInfo = async (options: Options) => {
// TODO
return {
categories: [
{
path: '',
name: '',
entityId: 0,
},
],
brands: [
{
node: {
path: '',
name: '',
entityId: 0,
},
},
],
}
}
export default getSiteInfo