UNPKG

@valantic/spartacus-mock

Version:

This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.

16 lines (15 loc) 408 B
import { OccConfig, OccEndpoints } from '@spartacus/core'; interface StoreFinderOccEndpoints extends OccEndpoints { store: string; stores: string; storescounts: string; } interface StoreFinderOccConfig extends OccConfig { backend: { occ: { endpoints: StoreFinderOccEndpoints; }; }; } export declare const occStoreFinderConfig: StoreFinderOccConfig; export {};