forked from crowetic/commerce
* Start of Shopify provider * add missing comment to documentation * add missing env vars to documentation * update reference to types file
31 lines
438 B
TypeScript
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
|