mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
chore: setup commerce & next config fix: replace all call to bigcommerce from aquilacms provider feat add validation to input in signup
15 lines
287 B
TypeScript
15 lines
287 B
TypeScript
import { AquilacmsConfig } from '..'
|
|
import { getConfig } from '../api'
|
|
|
|
async function getAllOrders({
|
|
config,
|
|
}: {
|
|
config?: AquilacmsConfig
|
|
}): Promise<{ orders: any[] }> {
|
|
config = getConfig(config)
|
|
const data: any = []
|
|
return { orders: data }
|
|
}
|
|
|
|
export default getAllOrders
|