src/app/modules/dashboard/interfaces/report.ts
Properties |
| authorizedroles |
authorizedroles:
|
Type : string[]
|
| createdby |
createdby:
|
Type : string
|
| createdon |
createdon:
|
Type : string
|
| description |
description:
|
Type : string
|
| reportaccessurl |
reportaccessurl:
|
Type : string
|
| reportconfig |
reportconfig:
|
Type : object
|
| reportduration |
reportduration:
|
Type : IReportduration
|
| reportgenerateddate |
reportgenerateddate:
|
Type : string
|
| reportid |
reportid:
|
Type : string
|
| slug |
slug:
|
Type : string
|
| status |
status:
|
Type : string
|
| tags |
tags:
|
Type : string[]
|
| templateurl |
templateurl:
|
Type : null | string
|
| title |
title:
|
Type : string
|
| type |
type:
|
Type : string
|
| updatedon |
updatedon:
|
Type : string
|
| updatefrequency |
updatefrequency:
|
Type : string
|
export interface IListReportsFilter {
slug?: Array<string>;
type?: Array<string>;
status?: Array<string>;
}
export interface IDataSource {
id?: string;
path: string;
}
export interface IReportConfig {
reportid: string;
title: string;
description: string;
authorizedroles: string[];
status: string;
type: string;
reportaccessurl: string;
createdon: string;
updatedon: string;
createdby: string;
reportconfig: object;
templateurl: null | string;
slug: string;
reportgenerateddate: string;
reportduration: IReportduration;
tags: string[];
updatefrequency: string;
}
export interface IReportduration {
enddate: string;
startdate: string;
}
export interface IReportsApiResponse {
count: number;
reports: IReportConfig[];
}
export interface ISummaryObject {
title: string;
type: 'report' | 'chart';
index?: number;
chartId?: string;
summary?: string;
hash?: string;
}