saltfish
Version:
An interactive video-guided tour system for web applications
27 lines • 1.12 kB
TypeScript
import { playlistManifest } from '../types';
/**
* A realistic mock manifest for development and testing purposes.
* Follows the playlistManifest interface structure with sample content.
*/
export declare const mockManifest2: playlistManifest;
/**
* Main mock manifest with 8 steps for initial development and testing.
*/
export declare const mockManifest: playlistManifest;
/**
* Injects the mock manifest into the window object to be used by the
* application instead of making a real API call.
* This is designed to mimic a real API response.
*/
export declare function injectMockManifest(useSecond?: boolean): void;
/**
* Creates a custom mock manifest based on provided overrides.
* Useful for testing specific scenarios.
*
* @param overrides - Partial playlistManifest to override default values
* @param useSecond - Whether to use the second manifest as the base
* @returns The customized manifest
*/
export declare function createCustomMockManifest(overrides: Partial<playlistManifest>, useSecond?: boolean): playlistManifest;
export default mockManifest;
//# sourceMappingURL=mockManifest.d.ts.map