mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
14 lines
303 B
TypeScript
14 lines
303 B
TypeScript
export type GetAllProductPathsResult = {
|
|
products: Array<{ path: string }>
|
|
}
|
|
|
|
export default function getAllProductPathsOperation() {
|
|
function getAllProductPaths(): GetAllProductPathsResult {
|
|
return {
|
|
products: [].map((p) => ({ path: `/hello` })),
|
|
}
|
|
}
|
|
|
|
return getAllProductPaths
|
|
}
|