• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atlp-rwanda / e-commerce-mavericks-fn / 9814477757

05 Jul 2024 11:07PM UTC coverage: 0.0%. Remained the same
9814477757

Pull #24

github

web-flow
Merge 8fb740ec5 into 6150a95c6
Pull Request #24: [finishes #187802122] bgfix-landing-page

0 of 66 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 414 new or added lines in 15 files covered. (0.0%)

0 of 3124 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/services/productApi.ts
NEW
1
import type { Category, Product } from '../types/Types';
×
2
import { mavericksApi } from '.';
×
3

×
4
export const productsApi = mavericksApi.injectEndpoints({
×
5
  endpoints: builder => ({
×
6
    getProducts: builder.query<Product[], void>({
×
7
      query: () => 'products',
×
8
    }),
×
NEW
9
    getAllCategories: builder.query<Category[], void>({
×
NEW
10
      query: () => 'category',
×
NEW
11
    }),
×
12
  }),
×
13
  overrideExisting: false,
×
14
});
×
15

×
NEW
16
export const { useGetProductsQuery, useGetAllCategoriesQuery } = productsApi;
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc