UNPKG

@ministryofjustice/hmpps-digital-prison-reporting-frontend

Version:

The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.

13 lines (12 loc) 565 B
import { Request, Response } from 'express'; import { SubscriptionActionConfig } from '../../types/AsyncReportUtils'; import { Services } from '../../types/Services'; /** * Setup the subscription config * * @param {Request} req * @param {Response} res * @param {(string | undefined)} schedule * @return {*} {(SubscriptionActionConfig | undefined)} */ export declare const setupSubscriptionConfig: (req: Request, res: Response, reportId: string, id: string, schedule: string | undefined, services: Services) => Promise<SubscriptionActionConfig | undefined>;