@cellaware/utils 9.2.1 → 9.2.2

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.
@@ -10,6 +10,7 @@ export interface DashboardFilter {
10
10
  sortDescending: boolean;
11
11
  defaultValue: boolean;
12
12
  }
13
+ export declare const DASHBOARD_PARAMETER_DATE_OPTIONS: string[];
13
14
  export interface DashboardParameter {
14
15
  sequence: number;
15
16
  name: string;
@@ -1,6 +1,15 @@
1
1
  export const DASHBOARD_VISIBILITY_PRIVATE = 'private';
2
2
  export const DASHBOARD_VISIBILITY_PUBLIC = 'public';
3
3
  export const DASHBOARD_VISIBILITY_GLOBAL = 'global';
4
+ export const DASHBOARD_PARAMETER_DATE_OPTIONS = [
5
+ 'parameter-date-option-minus-3',
6
+ 'parameter-date-option-minus-2',
7
+ 'parameter-date-option-minus-1',
8
+ 'parameter-date-option-today',
9
+ 'parameter-date-option-plus-1',
10
+ 'parameter-date-option-plus-2',
11
+ 'parameter-date-option-plus-3'
12
+ ];
4
13
  export function initDashboard() {
5
14
  return {
6
15
  dashboardId: '',
@@ -5,6 +5,7 @@ import { Tag } from "./tag.js";
5
5
  export declare const REPORT_VISIBILITY_PRIVATE = "private";
6
6
  export declare const REPORT_VISIBILITY_PUBLIC = "public";
7
7
  export declare const REPORT_VISIBILITY_GLOBAL = "global";
8
+ export declare const REPORT_PARAMETER_DATE_OPTIONS: string[];
8
9
  export interface ReportParameter {
9
10
  sequence: number;
10
11
  name: 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 const REPORT_PARAMETER_DATE_OPTIONS = [
5
+ 'parameter-date-option-minus-3',
6
+ 'parameter-date-option-minus-2',
7
+ 'parameter-date-option-minus-1',
8
+ 'parameter-date-option-today',
9
+ 'parameter-date-option-plus-1',
10
+ 'parameter-date-option-plus-2',
11
+ 'parameter-date-option-plus-3'
12
+ ];
4
13
  export function initReportParameterValue() {
5
14
  return {
6
15
  parameterName: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.2.1",
3
+ "version": "9.2.2",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",