mirror of
https://github.com/vercel/commerce.git
synced 2025-04-28 05:47:50 +00:00
12 lines
356 B
TypeScript
12 lines
356 B
TypeScript
import { CommerceAPI } from 'lib/commerce/api';
|
|
import { GetAllProductsQuery } from '../schema';
|
|
import { getAllProductsQuery } from './queries/get-all-products';
|
|
|
|
export default class BigcommerceAPI implements CommerceAPI {
|
|
getAllProducts<T = GetAllProductsQuery>(
|
|
query: string = getAllProductsQuery
|
|
): Promise<T> {
|
|
return null as any;
|
|
}
|
|
}
|