4
0
forked from crowetic/commerce
2020-09-29 21:41:26 -05:00

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;
}
}