@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) • 332 B
TypeScript
interface SavedCartEndpoints {
savedCarts?: string;
savedCart?: string;
restoreSavedCart?: string;
cloneSavedCart?: string;
}
interface SavedCartConfig {
backend: {
occ: {
endpoints: SavedCartEndpoints;
};
};
}
export declare const occSavedCartConfig: SavedCartConfig;
export {};