@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.
5 lines (4 loc) • 444 B
TypeScript
import { Occ } from '@spartacus/core';
export declare const createProductInterestEntry: (additionalData?: Occ.ProductInterestEntry) => Occ.ProductInterestEntry;
export declare const createProductInterestEntryRelation: (additionalData?: Occ.ProductInterestEntryRelation) => Occ.ProductInterestEntryRelation;
export declare const productInterestSearchResult: (additionalData?: Occ.ProductInterestSearchResult) => Occ.ProductInterestSearchResult;