@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
10 lines (9 loc) • 740 B
TypeScript
import { ReportStoreConfig } from '../../../src/dpr/types/ReportStore';
export declare const setRedisState: (userStore: ReportStoreConfig, userId?: string) => void;
export declare const getRedisState: (userId?: string) => Cypress.Chainable<Cypress.Response<ReportStoreConfig>>;
export declare const resetFeatureFlags: () => void;
export declare const toggleBookmarking: () => void;
export declare const setIsProbationService: (isProbationService?: boolean) => void;
export declare const resetDefinitionsCheck: () => void;
export declare const resetStaleReportsCheck: () => void;
export declare const updateRedisState: (userStoreKey: keyof ReportStoreConfig, userStoreValue: ReportStoreConfig[typeof userStoreKey], userId?: string) => void;