@dative-gpi/foundation-core-domain 0.0.166 → 0.0.168

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.
@@ -1,7 +1,7 @@
1
1
  import { DashboardDatePresetTranslationDTO } from "./dashboardDatePresetTranslation";
2
2
 
3
3
  export interface CreateDashboardDatePresetDTO {
4
- code: string;
4
+ hiddenCode: string;
5
5
  labelDefault: string;
6
6
  globalStartDate: string;
7
7
  globalEndDate: string;
@@ -1,7 +1,7 @@
1
1
  import { DashboardDatePresetTranslation, DashboardDatePresetTranslationDTO } from "./dashboardDatePresetTranslation";
2
2
 
3
3
  export class DashboardDatePresetInfos {
4
- code: string;
4
+ hiddenCode: string;
5
5
  label: string;
6
6
  labelDefault: string;
7
7
  globalStartDate: string;
@@ -9,7 +9,7 @@ export class DashboardDatePresetInfos {
9
9
  translations: DashboardDatePresetTranslation[];
10
10
 
11
11
  constructor(params: DashboardDatePresetInfosDTO) {
12
- this.code = params.code;
12
+ this.hiddenCode = params.hiddenCode;
13
13
  this.label = params.label;
14
14
  this.labelDefault = params.labelDefault;
15
15
  this.globalStartDate = params.globalStartDate;
@@ -19,7 +19,7 @@ export class DashboardDatePresetInfos {
19
19
  }
20
20
 
21
21
  export interface DashboardDatePresetInfosDTO {
22
- code: string;
22
+ hiddenCode: string;
23
23
  label: string;
24
24
  labelDefault: string;
25
25
  globalStartDate: string;
@@ -2,7 +2,7 @@ import { DashboardEntityPresetTranslationDTO } from "./dashboardEntityPresetTran
2
2
  import { SelectedEntities } from "../enums/sharedEnums";
3
3
 
4
4
  export interface CreateDashboardEntityPresetDTO {
5
- code: string;
5
+ hiddenCode: string;
6
6
  labelDefault: string;
7
7
  globalSelectedEntities: SelectedEntities;
8
8
  globalEntitiesFilters: string;
@@ -2,7 +2,7 @@ import { DashboardEntityPresetTranslation, DashboardEntityPresetTranslationDTO }
2
2
  import { SelectedEntities } from "../enums/sharedEnums";
3
3
 
4
4
  export class DashboardEntityPresetInfos {
5
- code: string;
5
+ hiddenCode: string;
6
6
  label: string;
7
7
  labelDefault: string;
8
8
  globalSelectedEntities: SelectedEntities;
@@ -11,7 +11,7 @@ export class DashboardEntityPresetInfos {
11
11
  translations: DashboardEntityPresetTranslation[];
12
12
 
13
13
  constructor(params: DashboardEntityPresetInfosDTO) {
14
- this.code = params.code;
14
+ this.hiddenCode = params.hiddenCode;
15
15
  this.label = params.label;
16
16
  this.labelDefault = params.labelDefault;
17
17
  this.globalSelectedEntities = params.globalSelectedEntities;
@@ -22,7 +22,7 @@ export class DashboardEntityPresetInfos {
22
22
  }
23
23
 
24
24
  export interface DashboardEntityPresetInfosDTO {
25
- code: string;
25
+ hiddenCode: string;
26
26
  label: string;
27
27
  labelDefault: string;
28
28
  globalSelectedEntities: SelectedEntities;
@@ -1,5 +1,5 @@
1
1
  export interface CreateDashboardShallowDatePresetDTO {
2
- code: string;
2
+ hiddenCode: string;
3
3
  globalStartDate: string;
4
4
  globalEndDate: string;
5
5
  }
@@ -1,18 +1,18 @@
1
1
 
2
2
  export class DashboardShallowDatePresetInfos {
3
- code: string;
3
+ hiddenCode: string;
4
4
  globalStartDate: string;
5
5
  globalEndDate: string;
6
6
 
7
7
  constructor(params: DashboardShallowDatePresetInfosDTO) {
8
- this.code = params.code;
8
+ this.hiddenCode = params.hiddenCode;
9
9
  this.globalStartDate = params.globalStartDate;
10
10
  this.globalEndDate = params.globalEndDate;
11
11
  }
12
12
  }
13
13
 
14
14
  export interface DashboardShallowDatePresetInfosDTO {
15
- code: string;
15
+ hiddenCode: string;
16
16
  globalStartDate: string;
17
17
  globalEndDate: string;
18
18
  }
@@ -1,7 +1,7 @@
1
1
  import { SelectedEntities } from "../enums/sharedEnums";
2
2
 
3
3
  export interface CreateDashboardShallowEntityPresetDTO {
4
- code: string;
4
+ hiddenCode: string;
5
5
  globalSelectedEntities: SelectedEntities;
6
6
  globalEntitiesFilters: string;
7
7
  globalEntitiesIds: string[];
@@ -1,13 +1,13 @@
1
1
  import { SelectedEntities } from "../enums/sharedEnums";
2
2
 
3
3
  export class DashboardShallowEntityPresetInfos {
4
- code: string;
4
+ hiddenCode: string;
5
5
  globalSelectedEntities: SelectedEntities;
6
6
  globalEntitiesFilters: string;
7
7
  globalEntitiesIds: string[];
8
8
 
9
9
  constructor(params: DashboardShallowEntityPresetInfosDTO) {
10
- this.code = params.code;
10
+ this.hiddenCode = params.hiddenCode;
11
11
  this.globalSelectedEntities = params.globalSelectedEntities;
12
12
  this.globalEntitiesFilters = params.globalEntitiesFilters;
13
13
  this.globalEntitiesIds = params.globalEntitiesIds.slice();
@@ -15,7 +15,7 @@ export class DashboardShallowEntityPresetInfos {
15
15
  }
16
16
 
17
17
  export interface DashboardShallowEntityPresetInfosDTO {
18
- code: string;
18
+ hiddenCode: string;
19
19
  globalSelectedEntities: SelectedEntities;
20
20
  globalEntitiesFilters: string;
21
21
  globalEntitiesIds: string[];
@@ -1,7 +1,7 @@
1
1
  import { CreateDashboardVariableValueDTO } from "../dashboardVariableValues";
2
2
 
3
3
  export interface CreateDashboardShallowVariableDTO {
4
- code: string;
4
+ hiddenCode: string;
5
5
  defaultValue: string;
6
6
  useOnlyAllowedValues: boolean;
7
7
  allowedValues: CreateDashboardVariableValueDTO[];
@@ -1,17 +1,13 @@
1
1
  import { DashboardVariableValue, DashboardVariableValueDTO } from "../dashboardVariableValues";
2
2
 
3
3
  export class DashboardShallowVariableInfos {
4
- id: string;
5
- dashboardShallowId: string;
6
- code: string;
4
+ hiddenCode: string;
7
5
  defaultValue: string;
8
6
  useOnlyAllowedValues: boolean;
9
7
  allowedValues: DashboardVariableValue[];
10
8
 
11
9
  constructor(params: DashboardShallowVariableInfosDTO) {
12
- this.id = params.id;
13
- this.dashboardShallowId = params.dashboardShallowId;
14
- this.code = params.code;
10
+ this.hiddenCode = params.hiddenCode;
15
11
  this.defaultValue = params.defaultValue;
16
12
  this.useOnlyAllowedValues = params.useOnlyAllowedValues;
17
13
  this.allowedValues = params.allowedValues.map(dto => new DashboardVariableValue(dto));
@@ -19,9 +15,7 @@ export class DashboardShallowVariableInfos {
19
15
  }
20
16
 
21
17
  export interface DashboardShallowVariableInfosDTO {
22
- id: string;
23
- dashboardShallowId: string;
24
- code: string;
18
+ hiddenCode: string;
25
19
  defaultValue: string;
26
20
  useOnlyAllowedValues: boolean;
27
21
  allowedValues: DashboardVariableValueDTO[];
@@ -4,6 +4,7 @@ import { DashboardVariableTranslationDTO } from "./dashboardVariableTranslation"
4
4
  import { CreateDashboardVariableValueDTO } from "../dashboardVariableValues";
5
5
 
6
6
  export interface CreateDashboardVariableDTO {
7
+ hiddenCode: string;
7
8
  variableType: DashboardVariableType;
8
9
  labelDefault: string;
9
10
  code: string;
@@ -4,6 +4,7 @@ import { DashboardVariableTranslation, DashboardVariableTranslationDTO } from ".
4
4
  import { DashboardVariableValue, DashboardVariableValueDTO } from "../dashboardVariableValues";
5
5
 
6
6
  export class DashboardVariableInfos {
7
+ hiddenCode: string;
7
8
  variableType: DashboardVariableType;
8
9
  label: string;
9
10
  labelDefault: string;
@@ -14,6 +15,7 @@ export class DashboardVariableInfos {
14
15
  translations: DashboardVariableTranslation[];
15
16
 
16
17
  constructor(params: DashboardVariableInfosDTO) {
18
+ this.hiddenCode = params.hiddenCode;
17
19
  this.variableType = params.variableType;
18
20
  this.label = params.label;
19
21
  this.labelDefault = params.labelDefault;
@@ -26,6 +28,7 @@ export class DashboardVariableInfos {
26
28
  }
27
29
 
28
30
  export interface DashboardVariableInfosDTO {
31
+ hiddenCode: string;
29
32
  variableType: DashboardVariableType;
30
33
  label: string;
31
34
  labelDefault: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-domain",
3
3
  "sideEffects": false,
4
- "version": "0.0.166",
4
+ "version": "0.0.168",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -9,5 +9,5 @@
9
9
  "main": "index.ts",
10
10
  "author": "",
11
11
  "license": "ISC",
12
- "gitHead": "1ba8f680febcc23d230b890ed81dcfd451fd009b"
12
+ "gitHead": "6ff2f4241ebd83b1334952f821fb76f6e8e1774d"
13
13
  }