interface ProductPath { node: { path: string } } interface GetAllProductPaths { products: ProductPath[] } const getAllProductPaths = async (): Promise => { return { products: [], } } export default getAllProductPaths