@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
22 lines (21 loc) • 636 B
TypeScript
import type { Request, RequestHandler } from 'express';
import { Services } from '../types/Services';
import { LoadType, ReportType } from '../types/UserReports';
interface ActiveSessionArgs {
services: Services;
loadType?: LoadType;
reportType?: ReportType;
}
export declare const storeActiveReportSessionData: ({ services, loadType }: ActiveSessionArgs) => RequestHandler;
/**
* initialises the active report keys
*
* @param {Request} req
* @return {*}
*/
export declare const buildKeyVariants: (req: Request) => {
baseKey: string;
execKey: string | undefined;
tableKey: string | undefined;
};
export {};