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.

152 lines (151 loc) 4.21 kB
declare const _exports: ({ id: string; name: string; description: string; resourceName: string; classification: string; printable: boolean; specification: { template: string; fields: ({ name: string; display: string; sortable: boolean; type: string; mandatory: boolean; visible: boolean; } | { name: string; display: string; visible: boolean; sortable: boolean; type: string; mandatory?: never; })[]; }; } | { id: string; name: string; resourceName: string; classification: string; printable: boolean; specification: { template: string; sections: never[]; fields: ({ name: string; display: string; sortable: boolean; type: string; mandatory: boolean; visible: boolean; calculated: boolean; header: boolean; defaultsort: boolean; filter?: never; sortDirection?: never; } | { name: string; display: string; sortable: boolean; type: string; mandatory: boolean; visible: boolean; calculated: boolean; header: boolean; defaultsort: boolean; filter: { type: string; staticOptions: { name: string; display: string; }[]; mandatory: boolean; defaultValue?: never; min?: never; max?: never; dynamicOptions?: never; }; sortDirection?: never; } | { name: string; display: string; sortable: boolean; visible: boolean; type: string; mandatory: boolean; calculated: boolean; header: boolean; defaultsort: boolean; filter: { type: string; defaultValue: string; min: string; max: string; mandatory: boolean; staticOptions?: never; dynamicOptions?: never; }; sortDirection?: never; } | { name: string; display: string; visible: boolean; sortable: boolean; type: string; calculated: boolean; header: boolean; defaultsort: boolean; filter: { type: string; dynamicOptions: { minimumLength: number; returnAsStaticOptions: boolean; }; staticOptions: { name: string; display: string; }[]; mandatory: boolean; defaultValue?: never; min?: never; max?: never; }; mandatory?: never; sortDirection?: never; } | { name: string; display: string; sortable: boolean; type: string; mandatory: boolean; visible: boolean; defaultsort: boolean; sortDirection: string; calculated: boolean; header: boolean; filter?: never; } | { name: string; display: string; sortable: boolean; type: string; mandatory: boolean; visible: boolean; calculated: boolean; header: boolean; defaultsort: boolean; filter: { type: string; staticOptions?: never; mandatory?: never; defaultValue?: never; min?: never; max?: never; dynamicOptions?: never; }; sortDirection?: never; })[]; }; })[]; export = _exports;