@cellaware/utils 8.1.5 → 8.1.6

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.
@@ -9,6 +9,15 @@ export interface ReportParameter {
9
9
  required: boolean;
10
10
  exampleValue: string;
11
11
  }
12
+ export interface ReportParameterValue {
13
+ parameterName: string;
14
+ /** `text` | `number` | `date` | `boolean` */
15
+ dataType: string;
16
+ rule: string | undefined;
17
+ value: any;
18
+ value2?: any;
19
+ }
20
+ export declare function initReportParameterValue(): ReportParameterValue;
12
21
  export interface Report {
13
22
  reportId: string;
14
23
  reportTitle: string;
@@ -1,6 +1,15 @@
1
1
  export const REPORT_VISIBILITY_PRIVATE = 'private';
2
2
  export const REPORT_VISIBILITY_PUBLIC = 'public';
3
3
  export const REPORT_VISIBILITY_GLOBAL = 'global';
4
+ export function initReportParameterValue() {
5
+ return {
6
+ parameterName: '',
7
+ dataType: 'text',
8
+ rule: undefined,
9
+ value: '',
10
+ value2: undefined
11
+ };
12
+ }
4
13
  export function initReport() {
5
14
  return {
6
15
  reportId: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.1.5",
3
+ "version": "8.1.6",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",