mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 12:41:21 +00:00
* folder and env setup * codegen.json headers removed Co-authored-by: Chandradeepta <43542673+Chandradeepta@users.noreply.github.com>
20 lines
438 B
TypeScript
20 lines
438 B
TypeScript
export type Page = { url: string }
|
|
export type GetAllPagesResult = { pages: Page[] }
|
|
import type { KiboCommerceConfig } from '../index'
|
|
|
|
export default function getAllPagesOperation() {
|
|
function getAllPages({
|
|
config,
|
|
preview,
|
|
}: {
|
|
url?: string
|
|
config?: Partial<KiboCommerceConfig>
|
|
preview?: boolean
|
|
}): Promise<GetAllPagesResult> {
|
|
return Promise.resolve({
|
|
pages: [],
|
|
})
|
|
}
|
|
return getAllPages
|
|
}
|