1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-22 20:26:49 +00:00
Files
.vscode
assets
components
config
docs
framework
lib
pages
api
bigcommerce
catalog
customers
cart.ts
checkout.ts
wishlist.ts
product
[...pages].tsx
_app.tsx
_document.tsx
blog.tsx
cart.tsx
index.tsx
orders.tsx
profile.tsx
search.tsx
wishlist.tsx
public
.editorconfig
.env.template
.gitignore
.prettierignore
.prettierrc
README.md
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
yarn.lock
commerce/pages/api/bigcommerce/cart.ts
2021-03-26 12:50:25 -06:00

9 lines
251 B
TypeScript

import cart from '@commerce/api/endpoints/cart'
import { CartAPI, operations } from '@framework/api/cart'
import commerce from '@lib/api/commerce'
export default commerce.endpoint({
handler: cart as CartAPI['endpoint']['handler'],
operations,
})