mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
11 lines
392 B
TypeScript
11 lines
392 B
TypeScript
import type { GetAPISchema } from '@commerce/api'
|
|
import type { CustomerSchema } from '../../../types/customer'
|
|
import type { BigcommerceAPI } from '../..'
|
|
import getLoggedInCustomer from './get-logged-in-customer'
|
|
|
|
export type CustomerAPI = GetAPISchema<BigcommerceAPI, CustomerSchema>
|
|
|
|
export type CustomerEndpoint = CustomerAPI['endpoint']
|
|
|
|
export const handlers = { getLoggedInCustomer }
|