mirror of
https://github.com/vercel/commerce.git
synced 2025-03-30 17:05:52 +00:00
* new SFCC provider * add search * normalization + search * categories as search results * adress PR feedback * Update README.md * get all paths for SSG * product variants and options * Apply suggestions from code review Co-authored-by: Luis Alvarez D. <luis@vercel.com> * remove console log * prettier * clean console log * ran prettier * Updated readme * remove static data and revert config changes * set default site Co-authored-by: Luis Alvarez D. <luis@vercel.com>
20 lines
422 B
TypeScript
20 lines
422 B
TypeScript
export type Page = { url: string }
|
|
export type GetAllPagesResult = { pages: Page[] }
|
|
import type { SFCCConfig } from '../index'
|
|
|
|
export default function getAllPagesOperation() {
|
|
function getAllPages({
|
|
config,
|
|
preview,
|
|
}: {
|
|
url?: string
|
|
config?: Partial<SFCCConfig>
|
|
preview?: boolean
|
|
}): Promise<GetAllPagesResult> {
|
|
return Promise.resolve({
|
|
pages: [],
|
|
})
|
|
}
|
|
return getAllPages
|
|
}
|