@isoftdata/utility-dashboard-backend 4.2.3 → 4.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,7 @@ export interface Report {
11
11
  autoRefreshInterval: number | null;
12
12
  hideParameters?: boolean;
13
13
  bodyStyle?: ReportBodyStyleOptions;
14
+ backgroundFileId?: number | null;
14
15
  }
15
16
  export interface ReportInput {
16
17
  dashboardReportId: number;
@@ -23,15 +24,16 @@ export interface ReportInput {
23
24
  autoRefreshInterval: number | null;
24
25
  parameters: DashboardReportParameter[];
25
26
  bodyStyle?: ReportBodyStyleOptions;
27
+ backgroundFileId?: number | null;
26
28
  }
27
29
  export type ShareType = 'everyone' | 'store' | 'user' | 'group';
28
30
  export type ReportBodyStyleOptions = {
29
- backgroundColor: string | undefined;
30
- backgroundAlpha: string | undefined;
31
- backgroundImage: string | undefined;
32
- backgroundPosition: 'top' | 'bottom' | 'left' | 'right' | 'center' | 'CUSTOM' | undefined;
33
- backgroundPositionX: string | undefined;
34
- backgroundPositionY: string | undefined;
35
- backgroundSize: 'auto' | 'contain' | 'cover' | 'CUSTOM' | undefined;
36
- backgroundSizePercent: string | undefined;
31
+ backgroundColor: string | undefined | null;
32
+ backgroundAlpha: string | undefined | null;
33
+ backgroundImage: string | undefined | null;
34
+ backgroundPosition: 'top' | 'bottom' | 'left' | 'right' | 'center' | 'CUSTOM' | undefined | null;
35
+ backgroundPositionX: string | undefined | null;
36
+ backgroundPositionY: string | undefined | null;
37
+ backgroundSize: 'auto' | 'contain' | 'cover' | 'CUSTOM' | undefined | null;
38
+ backgroundSizePercent: string | undefined | null;
37
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isoftdata/utility-dashboard-backend",
3
- "version": "4.2.3",
3
+ "version": "4.2.5",
4
4
  "description": "A utility for formatting chart and report data to be usable by the frontend dashboard component.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",