@dative-gpi/foundation-core-domain 1.0.131 → 1.0.133-dashboard-options
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.
- package/models/dashboardDatePresets/dashboardDatePresetDetails.ts +1 -0
- package/models/dashboardDatePresets/dashboardDatePresetInfos.ts +3 -0
- package/models/dashboardEntityPresets/dashboardEntityPresetDetails.ts +1 -0
- package/models/dashboardEntityPresets/dashboardEntityPresetInfos.ts +3 -0
- package/models/dashboardVariables/dashboardVariableDetails.ts +1 -0
- package/models/dashboardVariables/dashboardVariableInfos.ts +3 -0
- package/models/index.ts +0 -1
- package/package.json +4 -4
- package/models/extensionApplications/extensionApplicationDetails.ts +0 -18
- package/models/extensionApplications/extensionApplicationInfos.ts +0 -18
- package/models/extensionApplications/index.ts +0 -2
|
@@ -5,6 +5,7 @@ import type { DashboardDatePresetTranslationDTO } from "./dashboardDatePresetTra
|
|
|
5
5
|
export interface CreateDashboardDatePresetDTO {
|
|
6
6
|
hiddenCode: string;
|
|
7
7
|
labelDefault: string;
|
|
8
|
+
showInOptions: boolean;
|
|
8
9
|
startDate: string;
|
|
9
10
|
endDate: string;
|
|
10
11
|
useAutoRefresh: boolean;
|
|
@@ -7,6 +7,7 @@ import { DashboardDatePresetTranslation } from "./dashboardDatePresetTranslation
|
|
|
7
7
|
export class DashboardDatePresetInfos {
|
|
8
8
|
hiddenCode: string;
|
|
9
9
|
labelDefault: string;
|
|
10
|
+
showInOptions: boolean;
|
|
10
11
|
startDate: string;
|
|
11
12
|
endDate: string;
|
|
12
13
|
useAutoRefresh: boolean;
|
|
@@ -20,6 +21,7 @@ export class DashboardDatePresetInfos {
|
|
|
20
21
|
constructor(params: DashboardDatePresetInfosDTO) {
|
|
21
22
|
this.hiddenCode = params.hiddenCode;
|
|
22
23
|
this.labelDefault = params.labelDefault;
|
|
24
|
+
this.showInOptions = params.showInOptions;
|
|
23
25
|
this.startDate = params.startDate;
|
|
24
26
|
this.endDate = params.endDate;
|
|
25
27
|
this.useAutoRefresh = params.useAutoRefresh;
|
|
@@ -31,6 +33,7 @@ export class DashboardDatePresetInfos {
|
|
|
31
33
|
export interface DashboardDatePresetInfosDTO {
|
|
32
34
|
hiddenCode: string;
|
|
33
35
|
labelDefault: string;
|
|
36
|
+
showInOptions: boolean;
|
|
34
37
|
startDate: string;
|
|
35
38
|
endDate: string;
|
|
36
39
|
useAutoRefresh: boolean;
|
|
@@ -4,6 +4,7 @@ import type { EntityType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
|
4
4
|
export interface CreateDashboardEntityPresetDTO {
|
|
5
5
|
hiddenCode: string;
|
|
6
6
|
labelDefault: string;
|
|
7
|
+
showInOptions: boolean;
|
|
7
8
|
singleEntity: boolean;
|
|
8
9
|
entityType: EntityType;
|
|
9
10
|
entitiesFilters: string;
|
|
@@ -7,6 +7,7 @@ import type { EntityType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
|
7
7
|
export class DashboardEntityPresetInfos {
|
|
8
8
|
hiddenCode: string;
|
|
9
9
|
labelDefault: string;
|
|
10
|
+
showInOptions: boolean;
|
|
10
11
|
singleEntity: boolean;
|
|
11
12
|
entityType: EntityType;
|
|
12
13
|
entitiesFilters: string;
|
|
@@ -20,6 +21,7 @@ export class DashboardEntityPresetInfos {
|
|
|
20
21
|
constructor(params: DashboardEntityPresetInfosDTO) {
|
|
21
22
|
this.hiddenCode = params.hiddenCode;
|
|
22
23
|
this.labelDefault = params.labelDefault;
|
|
24
|
+
this.showInOptions = params.showInOptions;
|
|
23
25
|
this.singleEntity = params.singleEntity;
|
|
24
26
|
this.entityType = params.entityType;
|
|
25
27
|
this.entitiesFilters = params.entitiesFilters;
|
|
@@ -31,6 +33,7 @@ export class DashboardEntityPresetInfos {
|
|
|
31
33
|
export interface DashboardEntityPresetInfosDTO {
|
|
32
34
|
hiddenCode: string;
|
|
33
35
|
labelDefault: string;
|
|
36
|
+
showInOptions: boolean;
|
|
34
37
|
singleEntity: boolean;
|
|
35
38
|
entityType: EntityType;
|
|
36
39
|
entitiesFilters: string;
|
|
@@ -9,6 +9,7 @@ export class DashboardVariableInfos {
|
|
|
9
9
|
hiddenCode: string;
|
|
10
10
|
variableType: DashboardVariableType;
|
|
11
11
|
labelDefault: string;
|
|
12
|
+
showInOptions: boolean;
|
|
12
13
|
code: string;
|
|
13
14
|
value: string;
|
|
14
15
|
useOnlyAllowedValues: boolean;
|
|
@@ -23,6 +24,7 @@ export class DashboardVariableInfos {
|
|
|
23
24
|
this.hiddenCode = params.hiddenCode;
|
|
24
25
|
this.variableType = params.variableType;
|
|
25
26
|
this.labelDefault = params.labelDefault;
|
|
27
|
+
this.showInOptions = params.showInOptions;
|
|
26
28
|
this.code = params.code;
|
|
27
29
|
this.value = params.value;
|
|
28
30
|
this.useOnlyAllowedValues = params.useOnlyAllowedValues;
|
|
@@ -35,6 +37,7 @@ export interface DashboardVariableInfosDTO {
|
|
|
35
37
|
hiddenCode: string;
|
|
36
38
|
variableType: DashboardVariableType;
|
|
37
39
|
labelDefault: string;
|
|
40
|
+
showInOptions: boolean;
|
|
38
41
|
code: string;
|
|
39
42
|
value: string;
|
|
40
43
|
useOnlyAllowedValues: boolean;
|
package/models/index.ts
CHANGED
|
@@ -28,7 +28,6 @@ export * from "./deviceConnectivities";
|
|
|
28
28
|
export * from "./deviceExplorerElements";
|
|
29
29
|
export * from "./deviceOrganisations";
|
|
30
30
|
export * from "./deviceStatuses";
|
|
31
|
-
export * from "./extensionApplications";
|
|
32
31
|
export * from "./folders";
|
|
33
32
|
export * from "./groups";
|
|
34
33
|
export * from "./locations";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-domain",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.133-dashboard-options",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "1.0.
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "1.0.
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "1.0.133-dashboard-options",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.133-dashboard-options"
|
|
15
15
|
},
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "fbf279177a3d3399161c1cee211aca716c59f335"
|
|
17
17
|
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { ExtensionApplicationInfosDTO } from "./extensionApplicationInfos";
|
|
2
|
-
import { ExtensionApplicationInfos } from "./extensionApplicationInfos";
|
|
3
|
-
|
|
4
|
-
export class ExtensionApplicationDetails extends ExtensionApplicationInfos {
|
|
5
|
-
host: string;
|
|
6
|
-
extensionId: string;
|
|
7
|
-
|
|
8
|
-
constructor(params: ExtensionApplicationDetailsDTO) {
|
|
9
|
-
super(params);
|
|
10
|
-
this.extensionId = params.extensionId;
|
|
11
|
-
this.host = params.host
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface ExtensionApplicationDetailsDTO extends ExtensionApplicationInfosDTO {
|
|
16
|
-
extensionId: string;
|
|
17
|
-
host: string;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export class ExtensionApplicationInfos {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
description: string;
|
|
5
|
-
|
|
6
|
-
constructor(params: ExtensionApplicationInfosDTO) {
|
|
7
|
-
this.id = params.id;
|
|
8
|
-
this.label = params.label;
|
|
9
|
-
this.description = params.description;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface ExtensionApplicationInfosDTO {
|
|
14
|
-
id: string;
|
|
15
|
-
label: string;
|
|
16
|
-
description: string;
|
|
17
|
-
}
|
|
18
|
-
|