newAdHocReportDefinition()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Creates an ad-hoc report definition not based on any template.
export declare function newAdHocReportDefinition(options: {
title: string;
periodStart: ReportDateString;
periodEnd: ReportDateString;
pages?: IReportContentPage[];
}, modifications?: Partial<Omit<IReportDefinition, "type" | "title" | "periodStart" | "periodEnd" | "content">>): IReportDefinition;
Parameters
Parameter | Type | Description |
|---|---|---|
options | { title: string; periodStart: ReportDateString; periodEnd: ReportDateString; pages?: IReportContentPage[]; } | |
modifications | Partial<Omit<IReportDefinition, “type” | “title” | “periodStart” | “periodEnd” | “content”>> | (Optional) |
Returns