@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
142 lines (141 loc) • 3.59 kB
TypeScript
declare const summarySectionData: {
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;
sections: 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: {};
sections: ({
key: string;
keyObj: {
name: string;
value: string;
}[];
title: string;
count: number;
summaries: {
'section-footer': {
head: {
text: string;
}[];
rows: ({
fieldName: string;
text: string;
format: string;
classes: string;
} | {
fieldName: string;
text: number;
format: string;
classes: string;
})[][];
rowCount: number;
colCount: number;
}[];
};
data: {
head: never[];
rows: never[];
rowCount: number;
colCount: number;
};
} | {
key: string;
keyObj: {
name: string;
value: string;
}[];
title: string;
count: number;
summaries: {
'section-footer'?: never;
};
data: {
head: never[];
rows: never[];
rowCount: number;
colCount: number;
};
})[];
};
};
export default summarySectionData;