2021-05-20 21:05:56 -05:00

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 }