@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
104 lines (103 loc) • 2.48 kB
TypeScript
declare const summaryData: {
filterData: {
filters: never[];
selectedFilters: never[];
canSaveDefaults: boolean;
};
count: number;
nestedBaseUrl: string;
csrfToken: string;
loadType: string;
type: string;
tableId: string;
reportId: string;
id: string;
actions: ({
id: string;
disabled: boolean;
text: string;
ariaLabelText: string;
href: string;
attributes?: never;
} | {
id: string;
disabled: boolean;
text: string;
ariaLabelText: string;
attributes: {
enabled: boolean;
name: string;
reportName: string;
csrfToken: string;
reportId: string;
id: string;
tableId: string;
columns: never[];
loadType: string;
nestedBaseUrl: string;
canDownload: boolean;
currentUrl: string;
};
href?: never;
})[];
canDownload: boolean;
bookmarked: boolean;
reportName: string;
name: string;
description: string;
classification: string;
printable: boolean;
specification: {
template: string;
fields: {
name: string;
display: string;
sortable: boolean;
defaultsort: boolean;
type: string;
mandatory: boolean;
visible: boolean;
}[];
};
template: string;
fields: {
name: string;
display: string;
sortable: boolean;
defaultsort: boolean;
type: string;
mandatory: boolean;
visible: boolean;
}[];
executionId: string;
requestedTimestamp: string;
querySummary: never[];
queryData: {};
requestUrl: {
fullUrl: string;
pathname: string;
search: string;
};
reportUrl: string;
pathname: string;
dataTable: {
rowCount: number;
summaries: {
'page-header': {
head: {
text: string;
}[];
rows: {
fieldName: string;
text: number;
format: string;
classes: string;
}[][];
rowCount: number;
colCount: number;
}[];
};
sections: never[];
};
};
export default summaryData;