Added useLogin hook and API endpoint

This commit is contained in:
Luis Alvarez
2020-10-20 22:27:38 -05:00
parent e2b26715b9
commit a1e47a73d2
9 changed files with 132 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ import { BigcommerceConfig, getConfig } from '..'
export type BigcommerceApiHandler<
T = any,
H extends BigcommerceHandlers = {},
H extends BigcommerceHandlers<T> = {},
Options extends {} = {}
> = (
req: NextApiRequest,