4
0
forked from crowetic/commerce
commerce/framework/shopify/common/get-site-info.ts
Peter Mekhaeil 300d04c1ac
Shopify Provider (#186)
* Start of Shopify provider

* add missing comment to documentation

* add missing env vars to documentation

* update reference to types file
2021-02-12 11:14:16 -03: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