@churchapps/helpers
Version:
Library of helper functions not specific to any one ChurchApps project or framework.
45 lines • 1.09 kB
TypeScript
export interface ReportResultInterface {
displayName: string;
description: string;
table: any[];
outputs: ReportOutputInterface[];
}
export interface ReportInterface {
keyName: string;
displayName: string;
description: string;
parameters: ParameterInterface[];
permissions: ReportPermissionGroupInterface[];
}
export interface ParameterInterface {
keyName: string;
displayName?: string;
source: string;
sourceKey: string;
options: {
value: string;
text: string;
}[];
value?: string;
requiredParentIds?: string[];
defaultValue: string;
}
export interface ReportOutputInterface {
outputType: string;
columns: ColumnInterface[];
groupings?: number[];
}
export interface ColumnInterface {
header: string;
value: string;
formatter: string;
}
export interface ReportPermissionGroupInterface {
requireOne: ReportPermissionInterface[];
}
export interface ReportPermissionInterface {
api: string;
contentType: string;
action: string;
}
//# sourceMappingURL=Reporting.d.ts.map