@dative-gpi/foundation-core-domain 1.0.26 → 1.0.28-remove-deprecated2
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/actions/actionInfos.ts +1 -1
- package/models/alerts/alertDetails.ts +3 -1
- package/models/alerts/alertInfos.ts +15 -11
- package/models/alerts/alertState.ts +5 -5
- package/models/chartOrganisationTypes/chartOrganisationTypeDetails.ts +18 -5
- package/models/chartOrganisationTypes/chartOrganisationTypeInfos.ts +9 -3
- package/models/chartOrganisations/chartOrganisationDetails.ts +21 -8
- package/models/chartOrganisations/chartOrganisationInfos.ts +9 -3
- package/models/charts/chartAllowedStep.ts +31 -0
- package/models/charts/chartAllowedStepTranslation.ts +19 -0
- package/models/charts/chartAxis.ts +1 -1
- package/models/charts/chartDetails.ts +13 -2
- package/models/charts/chartFilter.ts +1 -1
- package/models/charts/chartInfos.ts +5 -2
- package/models/charts/chartOperand.ts +1 -1
- package/models/charts/chartPreset.ts +4 -0
- package/models/charts/chartTimeRange.ts +3 -1
- package/models/charts/chartTimeStep.ts +1 -5
- package/models/charts/index.ts +2 -0
- package/models/comments/commentInfos.ts +3 -3
- package/models/connectivityAlerts/connectivityAlertInfos.ts +10 -4
- package/models/connectivityScenarios/connectivityScenarioDetails.ts +2 -2
- package/models/connectivityScenarios/index.ts +2 -1
- package/models/customProperties/customPropertyColor.ts +1 -1
- package/models/customProperties/customPropertyInfos.ts +1 -4
- package/models/customPropertyValues/customPropertyValueInfos.ts +2 -2
- package/models/dashboardDatePresets/dashboardDatePresetDetails.ts +3 -1
- package/models/dashboardDatePresets/dashboardDatePresetInfos.ts +1 -1
- package/models/dashboardEntityPresets/dashboardEntityPresetDetails.ts +2 -2
- package/models/dashboardEntityPresets/dashboardEntityPresetInfos.ts +4 -4
- package/models/dashboardOrganisationTypes/dashboardOrganisationTypeDetails.ts +4 -1
- package/models/dashboardOrganisationTypes/dashboardOrganisationTypeInfos.ts +2 -1
- package/models/dashboardOrganisations/dashboardOrganisationDetails.ts +3 -1
- package/models/dashboardOrganisations/dashboardOrganisationInfos.ts +2 -1
- package/models/dashboardShallowDatePresets/dashboardShallowDatePresetDetails.ts +1 -1
- package/models/dashboardShallowDatePresets/dashboardShallowDatePresetInfos.ts +1 -1
- package/models/dashboardShallowEntityPresets/dashboardShallowEntityPresetDetails.ts +2 -2
- package/models/dashboardShallowEntityPresets/dashboardShallowEntityPresetInfos.ts +4 -4
- package/models/dashboardShallowVariables/dashboardShallowVariableDetails.ts +1 -5
- package/models/dashboardShallowVariables/dashboardShallowVariableInfos.ts +3 -12
- package/models/dashboardShallows/dashboardShallowDetails.ts +63 -23
- package/models/dashboardShallows/dashboardShallowInfos.ts +1 -1
- package/models/dashboardVariableValues/dashboardVariableValue.ts +6 -3
- package/models/dashboardVariables/dashboardVariableDetails.ts +3 -3
- package/models/dashboardVariables/dashboardVariableInfos.ts +1 -1
- package/models/dashboards/dashboardInfos.ts +1 -1
- package/models/dataDefinitions/dataDefinitionInfos.ts +1 -1
- package/models/deviceConnectivities/deviceConnectivityInfos.ts +5 -5
- package/models/deviceExplorerElements/deviceExplorerElementDetails.ts +11 -0
- package/models/deviceExplorerElements/deviceExplorerElementInfos.ts +116 -0
- package/models/deviceExplorerElements/index.ts +2 -0
- package/models/deviceOrganisations/deviceOrganisationAlert.ts +4 -4
- package/models/deviceOrganisations/deviceOrganisationDetails.ts +0 -3
- package/models/deviceOrganisations/deviceOrganisationInfos.ts +11 -12
- package/models/deviceStatuses/deviceStatusInfos.ts +4 -4
- package/models/folders/folderInfos.ts +1 -0
- package/models/groups/groupInfos.ts +1 -2
- package/models/index.ts +16 -16
- package/models/organisations/organisationDetails.ts +1 -1
- package/models/roleOrganisationTypes/roleOrganisationTypeDetails.ts +7 -8
- package/models/roleOrganisationTypes/roleOrganisationTypeInfos.ts +41 -43
- package/models/roleOrganisations/roleOrganisationDetails.ts +2 -4
- package/models/roleOrganisations/roleOrganisationInfos.ts +36 -38
- package/models/scenarioDeviceOrganisations/scenarioDeviceOrganisationDetails.ts +25 -8
- package/models/scenarioDeviceOrganisations/scenarioDeviceOrganisationInfos.ts +35 -13
- package/models/scenarioOrganisationTypes/scenarioOrganisationTypeDetails.ts +19 -3
- package/models/scenarioOrganisationTypes/scenarioOrganisationTypeInfos.ts +31 -8
- package/models/scenarioOrganisations/scenarioOrganisationDetails.ts +27 -5
- package/models/scenarioOrganisations/scenarioOrganisationInfos.ts +31 -8
- package/models/scenarioParameterDeviceOrganisations/index.ts +2 -0
- package/models/scenarioParameterDeviceOrganisations/scenarioParameterDeviceOrganisationDetails.ts +24 -0
- package/models/scenarioParameterDeviceOrganisations/scenarioParameterDeviceOrganisationInfos.ts +45 -0
- package/models/scenarios/index.ts +5 -1
- package/models/scenarios/scenarioChart.ts +30 -0
- package/models/scenarios/scenarioParameter.ts +52 -0
- package/models/scenarios/scenarioParameterOverride.ts +20 -0
- package/models/scenarios/translationScenarioParameter.ts +14 -0
- package/models/serviceAccountOrganisationAuthTokens/serviceAccountOrganisationAuthTokenInfos.ts +3 -3
- package/models/serviceAccountOrganisations/serviceAccountOrganisationDetails.ts +2 -7
- package/models/serviceAccountOrganisations/serviceAccountOrganisationInfos.ts +1 -5
- package/models/serviceAccountRoleOrganisations/index.ts +2 -0
- package/models/serviceAccountRoleOrganisations/serviceAccountRoleOrganisationDetails.ts +33 -0
- package/models/serviceAccountRoleOrganisations/serviceAccountRoleOrganisationInfos.ts +42 -0
- package/models/shared/timeRange.ts +5 -1
- package/models/userOrganisationTables/userOrganisationTableInfos.ts +2 -2
- package/models/userOrganisations/userOrganisationDetails.ts +2 -2
- package/models/userOrganisations/userOrganisationInfos.ts +3 -2
- package/models/widgetTemplates/widgetTemplateInfos.ts +16 -2
- package/models/widgets/widgetInfos.ts +16 -4
- package/package.json +4 -4
- package/models/enums/actionEnums.ts +0 -6
- package/models/enums/applicationEnums.ts +0 -8
- package/models/enums/chartEnums.ts +0 -109
- package/models/enums/customPropertyEnums.ts +0 -12
- package/models/enums/index.ts +0 -8
- package/models/enums/notificationEnums.ts +0 -6
- package/models/enums/roleEnums.ts +0 -5
- package/models/enums/sharedEnums.ts +0 -27
- package/models/enums/userEnums.ts +0 -12
- package/models/notifications/index.ts +0 -2
- package/models/notifications/notificationDetails.ts +0 -10
- package/models/notifications/notificationInfos.ts +0 -43
- package/models/scenarioDiffusions/index.ts +0 -1
- package/models/scenarioDiffusions/scenarioDiffusion.ts +0 -25
|
@@ -2,14 +2,16 @@ import { AlertInfos, type AlertInfosDTO } from "./alertInfos";
|
|
|
2
2
|
|
|
3
3
|
export class AlertDetails extends AlertInfos {
|
|
4
4
|
description: string;
|
|
5
|
+
comments: string;
|
|
5
6
|
|
|
6
7
|
constructor(params: AlertDetailsDTO) {
|
|
7
8
|
super(params);
|
|
8
|
-
|
|
9
|
+
this.comments = params.comments;
|
|
9
10
|
this.description = params.description;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export interface AlertDetailsDTO extends AlertInfosDTO {
|
|
14
15
|
description: string;
|
|
16
|
+
comments: string;
|
|
15
17
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { type AlertStatus, type Criticity } from "@dative-gpi/foundation-shared-domain/
|
|
2
|
-
import {
|
|
1
|
+
import { type ApplicationScope, type AlertStatus, type Criticity } from "@dative-gpi/foundation-shared-domain/enums";
|
|
2
|
+
import { isoToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
|
|
3
3
|
|
|
4
4
|
import { AlertDataDefinition, type AlertDataDefinitionDTO } from "./alertDataDefinition";
|
|
5
5
|
import { AlertState, type AlertStateDTO } from "./alertState";
|
|
6
|
-
import { type
|
|
6
|
+
import { type EntityType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
7
7
|
import { type DateVariable } from "../shared/dateVariable";
|
|
8
8
|
|
|
9
9
|
export class AlertInfos {
|
|
10
10
|
id: string;
|
|
11
11
|
scenarioId: string;
|
|
12
|
+
scenarioScope: ApplicationScope;
|
|
12
13
|
scenarioLabel: string;
|
|
13
14
|
organisationId: string;
|
|
14
15
|
deviceOrganisationId: string;
|
|
@@ -40,6 +41,7 @@ export class AlertInfos {
|
|
|
40
41
|
constructor(params: AlertInfosDTO) {
|
|
41
42
|
this.id = params.id;
|
|
42
43
|
this.scenarioId = params.scenarioId;
|
|
44
|
+
this.scenarioScope = params.scenarioScope;
|
|
43
45
|
this.scenarioLabel = params.scenarioLabel;
|
|
44
46
|
this.organisationId = params.organisationId;
|
|
45
47
|
this.deviceOrganisationId = params.deviceOrganisationId;
|
|
@@ -55,21 +57,21 @@ export class AlertInfos {
|
|
|
55
57
|
this.acknowledgingUserName = params.acknowledgingUserName;
|
|
56
58
|
this.acknowledgingUserImageId = params.acknowledgingUserImageId;
|
|
57
59
|
this.acknowledgingTimestamp = params.acknowledgingTimestamp ?
|
|
58
|
-
|
|
60
|
+
isoToEpoch(params.acknowledgingTimestamp) : null;
|
|
59
61
|
this.initialState = new AlertState(params.initialState);
|
|
60
62
|
this.triggerSourceTimestamp = params.triggerSourceTimestamp ?
|
|
61
|
-
|
|
63
|
+
isoToEpoch(params.triggerSourceTimestamp) : null;
|
|
62
64
|
this.triggerEnqueuedTimestamp = params.triggerEnqueuedTimestamp ?
|
|
63
|
-
|
|
65
|
+
isoToEpoch(params.triggerEnqueuedTimestamp) : null;
|
|
64
66
|
this.triggerProcessedTimestamp = params.triggerProcessedTimestamp ?
|
|
65
|
-
|
|
67
|
+
isoToEpoch(params.triggerProcessedTimestamp) : null;
|
|
66
68
|
this.lastState = new AlertState(params.lastState);
|
|
67
69
|
this.currentSourceTimestamp = params.currentSourceTimestamp ?
|
|
68
|
-
|
|
70
|
+
isoToEpoch(params.currentSourceTimestamp) : null;
|
|
69
71
|
this.currentEnqueuedTimestamp = params.currentEnqueuedTimestamp ?
|
|
70
|
-
|
|
72
|
+
isoToEpoch(params.currentEnqueuedTimestamp) : null;
|
|
71
73
|
this.currentProcessedTimestamp = params.currentProcessedTimestamp ?
|
|
72
|
-
|
|
74
|
+
isoToEpoch(params.currentProcessedTimestamp) : null;
|
|
73
75
|
this.status = params.status;
|
|
74
76
|
this.tags = params.tags;
|
|
75
77
|
this.history = params.history.map(dto => new AlertState(dto));
|
|
@@ -80,6 +82,7 @@ export class AlertInfos {
|
|
|
80
82
|
export interface AlertInfosDTO {
|
|
81
83
|
id: string;
|
|
82
84
|
scenarioId: string;
|
|
85
|
+
scenarioScope: ApplicationScope;
|
|
83
86
|
scenarioLabel: string;
|
|
84
87
|
organisationId: string;
|
|
85
88
|
deviceOrganisationId: string;
|
|
@@ -111,12 +114,13 @@ export interface AlertInfosDTO {
|
|
|
111
114
|
|
|
112
115
|
export interface AlertFilters {
|
|
113
116
|
scenarioId?: string | null;
|
|
117
|
+
scenarioScope?: ApplicationScope | null;
|
|
114
118
|
deviceOrganisationId?: string | null;
|
|
115
119
|
statuses?: AlertStatus[] | null;
|
|
116
120
|
acknowledged?: boolean | null;
|
|
117
121
|
startDate?: string | null;
|
|
118
122
|
endDate?: string | null;
|
|
119
|
-
|
|
123
|
+
entityType?: EntityType | null;
|
|
120
124
|
entitiesIds?: string[] | null;
|
|
121
125
|
dateVariables?: DateVariable[] | null;
|
|
122
126
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type AlertStatus } from "@dative-gpi/foundation-shared-domain/
|
|
2
|
-
import {
|
|
1
|
+
import { type AlertStatus } from "@dative-gpi/foundation-shared-domain/enums";
|
|
2
|
+
import { isoToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
|
|
3
3
|
|
|
4
4
|
import { AlertDataDefinition, type AlertDataDefinitionDTO } from "./alertDataDefinition";
|
|
5
5
|
|
|
@@ -14,9 +14,9 @@ export class AlertState {
|
|
|
14
14
|
constructor(params: AlertStateDTO) {
|
|
15
15
|
this.id = params.id;
|
|
16
16
|
this.status = params.status;
|
|
17
|
-
this.sourceTimestamp =
|
|
18
|
-
this.enqueuedTimestamp =
|
|
19
|
-
this.processedTimestamp =
|
|
17
|
+
this.sourceTimestamp = isoToEpoch(params.sourceTimestamp);
|
|
18
|
+
this.enqueuedTimestamp = isoToEpoch(params.enqueuedTimestamp);
|
|
19
|
+
this.processedTimestamp = isoToEpoch(params.processedTimestamp);
|
|
20
20
|
this.metadataValues = params.metadataValues?.map(dto => new AlertDataDefinition(dto));
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -13,14 +13,15 @@ import { ChartAxis } from "../charts/chartAxis";
|
|
|
13
13
|
import type { ChartPlotDTO, CreateChartPlotDTO } from "../charts/chartPlot";
|
|
14
14
|
import { ChartPlot } from "../charts/chartPlot";
|
|
15
15
|
import { ChartFilter } from "../charts/chartFilter";
|
|
16
|
-
import type { ChartFilterDTO,CreateChartFilterDTO } from "../charts/chartFilter";
|
|
16
|
+
import type { ChartFilterDTO, CreateChartFilterDTO } from "../charts/chartFilter";
|
|
17
17
|
import { ChartModifier } from "../charts/chartModifier";
|
|
18
|
-
import type { ChartModifierDTO,CreateChartModifierDTO } from "../charts/chartModifier";
|
|
18
|
+
import type { ChartModifierDTO, CreateChartModifierDTO } from "../charts/chartModifier";
|
|
19
19
|
import { ChartOperand } from "../charts/chartOperand";
|
|
20
|
-
import type { ChartOperandDTO,CreateChartOperandDTO } from "../charts/chartOperand";
|
|
20
|
+
import type { ChartOperandDTO, CreateChartOperandDTO } from "../charts/chartOperand";
|
|
21
21
|
import { ChartSerie } from "../charts/chartSerie";
|
|
22
|
-
import type { ChartSerieDTO,CreateChartSerieDTO } from "../charts/chartSerie";
|
|
23
|
-
import type { ColorSets } from "
|
|
22
|
+
import type { ChartSerieDTO, CreateChartSerieDTO } from "../charts/chartSerie";
|
|
23
|
+
import type { ColorSets } from "@dative-gpi/foundation-shared-domain/enums";
|
|
24
|
+
import { ChartAllowedStep, type ChartAllowedStepDTO, type CreateChartAllowedStepDTO } from "../charts/chartAllowedStep";
|
|
24
25
|
|
|
25
26
|
export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
26
27
|
labelDefault: string;
|
|
@@ -30,6 +31,8 @@ export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
|
30
31
|
xAxis: ChartAxis | null;
|
|
31
32
|
aggregates: boolean | null;
|
|
32
33
|
dynamicVariables: boolean | null;
|
|
34
|
+
showAllowedStep: boolean | null;
|
|
35
|
+
showPlotPerOnGraph: boolean | null;
|
|
33
36
|
chartVariables: ChartVariable[];
|
|
34
37
|
chartPresets: ChartPreset[];
|
|
35
38
|
chartPresetFilters: ChartPresetFilter[];
|
|
@@ -39,6 +42,7 @@ export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
|
39
42
|
chartFilters: ChartFilter[];
|
|
40
43
|
chartModifiers: ChartModifier[];
|
|
41
44
|
yAxis: ChartAxis[];
|
|
45
|
+
chartAllowedSteps: ChartAllowedStep[];
|
|
42
46
|
translations: ChartTranslation[];
|
|
43
47
|
|
|
44
48
|
constructor(params: ChartOrganisationTypeDetailsDTO) {
|
|
@@ -52,6 +56,8 @@ export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
|
52
56
|
new ChartAxis(params.xAxis) : null;
|
|
53
57
|
this.aggregates = params.aggregates;
|
|
54
58
|
this.dynamicVariables = params.dynamicVariables;
|
|
59
|
+
this.showAllowedStep = params.showAllowedStep;
|
|
60
|
+
this.showPlotPerOnGraph = params.showPlotPerOnGraph;
|
|
55
61
|
this.chartVariables = params.chartVariables.map(cv => new ChartVariable(cv));
|
|
56
62
|
this.chartPresets = params.chartPresets.map(cp => new ChartPreset(cp));
|
|
57
63
|
this.chartPresetFilters = params.chartPresetFilters.map(cpf => new ChartPresetFilter(cpf));
|
|
@@ -61,6 +67,7 @@ export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
|
61
67
|
this.chartFilters = params.chartFilters.map(cf => new ChartFilter(cf));
|
|
62
68
|
this.chartModifiers = params.chartModifiers.map(cm => new ChartModifier(cm));
|
|
63
69
|
this.yAxis = params.yAxis.map(ya => new ChartAxis(ya));
|
|
70
|
+
this.chartAllowedSteps = params.chartAllowedSteps.map(cas => new ChartAllowedStep(cas));
|
|
64
71
|
this.translations = params.translations.map((translation) => new ChartTranslation(translation));
|
|
65
72
|
}
|
|
66
73
|
}
|
|
@@ -73,6 +80,8 @@ export interface ChartOrganisationTypeDetailsDTO extends ChartOrganisationTypeIn
|
|
|
73
80
|
xAxis: ChartAxisDTO | null;
|
|
74
81
|
aggregates: boolean | null;
|
|
75
82
|
dynamicVariables: boolean | null;
|
|
83
|
+
showAllowedStep: boolean | null;
|
|
84
|
+
showPlotPerOnGraph: boolean | null;
|
|
76
85
|
chartVariables: ChartVariableDTO[];
|
|
77
86
|
chartPresets: ChartPresetDTO[];
|
|
78
87
|
chartPresetFilters: ChartPresetFilterDTO[];
|
|
@@ -82,6 +91,7 @@ export interface ChartOrganisationTypeDetailsDTO extends ChartOrganisationTypeIn
|
|
|
82
91
|
chartFilters: ChartFilterDTO[];
|
|
83
92
|
chartModifiers: ChartModifierDTO[];
|
|
84
93
|
yAxis: ChartAxisDTO[];
|
|
94
|
+
chartAllowedSteps: ChartAllowedStepDTO[];
|
|
85
95
|
translations: ChartTranslationDTO[];
|
|
86
96
|
}
|
|
87
97
|
|
|
@@ -106,6 +116,8 @@ export interface UpdateChartOrganisationTypeDTO {
|
|
|
106
116
|
xAxis: CreateChartAxisDTO | null;
|
|
107
117
|
aggregates: boolean | null;
|
|
108
118
|
dynamicVariables: boolean | null;
|
|
119
|
+
showAllowedStep: boolean | null;
|
|
120
|
+
showPlotPerOnGraph: boolean | null;
|
|
109
121
|
chartVariables: CreateChartVariableDTO[];
|
|
110
122
|
chartPresets: CreateChartPresetDTO[];
|
|
111
123
|
chartPresetFilters: CreateChartPresetFilterDTO[];
|
|
@@ -115,5 +127,6 @@ export interface UpdateChartOrganisationTypeDTO {
|
|
|
115
127
|
chartFilters: CreateChartFilterDTO[];
|
|
116
128
|
chartModifiers: CreateChartModifierDTO[];
|
|
117
129
|
yAxis: CreateChartAxisDTO[];
|
|
130
|
+
chartAllowedSteps: CreateChartAllowedStepDTO[];
|
|
118
131
|
translations: ChartTranslationDTO[];
|
|
119
132
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartModelLabelDTO } from "../charts/chartModelLabel";
|
|
2
2
|
import { ChartModelLabel } from "../charts/chartModelLabel";
|
|
3
|
-
import type { ApplicationScope } from "
|
|
4
|
-
import type { ChartType, PlotPer } from "
|
|
3
|
+
import type { ApplicationScope } from "@dative-gpi/foundation-shared-domain/enums";
|
|
4
|
+
import type { ChartType, PlotPer } from "@dative-gpi/foundation-shared-domain/enums";
|
|
5
5
|
|
|
6
6
|
export class ChartOrganisationTypeInfos {
|
|
7
7
|
id: string;
|
|
@@ -16,6 +16,7 @@ export class ChartOrganisationTypeInfos {
|
|
|
16
16
|
title: string;
|
|
17
17
|
code: string;
|
|
18
18
|
icon: string;
|
|
19
|
+
draft: boolean;
|
|
19
20
|
tags: string[];
|
|
20
21
|
multiple: boolean;
|
|
21
22
|
chartType: ChartType;
|
|
@@ -34,6 +35,7 @@ export class ChartOrganisationTypeInfos {
|
|
|
34
35
|
this.title = params.title;
|
|
35
36
|
this.code = params.code;
|
|
36
37
|
this.icon = params.icon;
|
|
38
|
+
this.draft = params.draft;
|
|
37
39
|
this.tags = params.tags.slice();
|
|
38
40
|
this.multiple = params.multiple;
|
|
39
41
|
this.chartType = params.chartType;
|
|
@@ -53,6 +55,7 @@ export interface ChartOrganisationTypeInfosDTO {
|
|
|
53
55
|
title: string;
|
|
54
56
|
code: string;
|
|
55
57
|
icon: string;
|
|
58
|
+
draft: boolean;
|
|
56
59
|
imageId: string | null;
|
|
57
60
|
tags: string[];
|
|
58
61
|
multiple: boolean;
|
|
@@ -62,6 +65,9 @@ export interface ChartOrganisationTypeInfosDTO {
|
|
|
62
65
|
|
|
63
66
|
export interface ChartOrganisationTypeFilters {
|
|
64
67
|
modelsIds?: string[] | null;
|
|
65
|
-
|
|
68
|
+
plotPers?: PlotPer[] | null;
|
|
66
69
|
search?: string | null;
|
|
70
|
+
draft?: boolean | null;
|
|
71
|
+
deprecatedChartId?: string | null;
|
|
72
|
+
deviceOrganisationsIds?: string[] | null
|
|
67
73
|
}
|
|
@@ -13,14 +13,15 @@ import { ChartAxis } from "../charts/chartAxis";
|
|
|
13
13
|
import type { ChartPlotDTO, CreateChartPlotDTO } from "../charts/chartPlot";
|
|
14
14
|
import { ChartPlot } from "../charts/chartPlot";
|
|
15
15
|
import { ChartFilter } from "../charts/chartFilter";
|
|
16
|
-
import type { ChartFilterDTO,CreateChartFilterDTO } from "../charts/chartFilter";
|
|
16
|
+
import type { ChartFilterDTO, CreateChartFilterDTO } from "../charts/chartFilter";
|
|
17
17
|
import { ChartModifier } from "../charts/chartModifier";
|
|
18
|
-
import type { ChartModifierDTO,CreateChartModifierDTO } from "../charts/chartModifier";
|
|
18
|
+
import type { ChartModifierDTO, CreateChartModifierDTO } from "../charts/chartModifier";
|
|
19
19
|
import { ChartOperand } from "../charts/chartOperand";
|
|
20
|
-
import type { ChartOperandDTO,CreateChartOperandDTO } from "../charts/chartOperand";
|
|
20
|
+
import type { ChartOperandDTO, CreateChartOperandDTO } from "../charts/chartOperand";
|
|
21
21
|
import { ChartSerie } from "../charts/chartSerie";
|
|
22
|
-
import type { ChartSerieDTO,CreateChartSerieDTO } from "../charts/chartSerie";
|
|
23
|
-
import type { ColorSets } from "
|
|
22
|
+
import type { ChartSerieDTO, CreateChartSerieDTO } from "../charts/chartSerie";
|
|
23
|
+
import type { ColorSets } from "@dative-gpi/foundation-shared-domain/enums";
|
|
24
|
+
import { ChartAllowedStep, type ChartAllowedStepDTO, type CreateChartAllowedStepDTO } from "../charts/chartAllowedStep";
|
|
24
25
|
|
|
25
26
|
export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
26
27
|
labelDefault: string;
|
|
@@ -30,6 +31,8 @@ export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
|
30
31
|
xAxis: ChartAxis | null;
|
|
31
32
|
aggregates: boolean | null;
|
|
32
33
|
dynamicVariables: boolean | null;
|
|
34
|
+
showAllowedStep: boolean | null;
|
|
35
|
+
showPlotPerOnGraph: boolean | null;
|
|
33
36
|
chartVariables: ChartVariable[];
|
|
34
37
|
chartPresets: ChartPreset[];
|
|
35
38
|
chartPresetFilters: ChartPresetFilter[];
|
|
@@ -39,6 +42,7 @@ export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
|
39
42
|
chartModifiers: ChartModifier[];
|
|
40
43
|
chartFilters: ChartFilter[];
|
|
41
44
|
yAxis: ChartAxis[];
|
|
45
|
+
chartAllowedSteps: ChartAllowedStep[];
|
|
42
46
|
translations: ChartTranslation[];
|
|
43
47
|
|
|
44
48
|
constructor(params: ChartOrganisationDetailsDTO) {
|
|
@@ -49,9 +53,11 @@ export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
|
49
53
|
this.colorSet = params.colorSet as ColorSets;
|
|
50
54
|
this.colorSeed = params.colorSeed;
|
|
51
55
|
this.xAxis = params.xAxis ?
|
|
52
|
-
|
|
56
|
+
new ChartAxis(params.xAxis) : null;
|
|
53
57
|
this.aggregates = params.aggregates;
|
|
54
58
|
this.dynamicVariables = params.dynamicVariables;
|
|
59
|
+
this.showAllowedStep = params.showAllowedStep;
|
|
60
|
+
this.showPlotPerOnGraph = params.showPlotPerOnGraph;
|
|
55
61
|
this.chartVariables = params.chartVariables.map(cv => new ChartVariable(cv));
|
|
56
62
|
this.chartPresets = params.chartPresets.map(cp => new ChartPreset(cp));
|
|
57
63
|
this.chartPresetFilters = params.chartPresetFilters.map(cpf => new ChartPresetFilter(cpf));
|
|
@@ -61,6 +67,7 @@ export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
|
61
67
|
this.chartModifiers = params.chartModifiers.map(cm => new ChartModifier(cm));
|
|
62
68
|
this.chartFilters = params.chartFilters.map(cf => new ChartFilter(cf));
|
|
63
69
|
this.yAxis = params.yAxis.map(ya => new ChartAxis(ya));
|
|
70
|
+
this.chartAllowedSteps = params.chartAllowedSteps.map(cas => new ChartAllowedStep(cas));
|
|
64
71
|
this.translations = params.translations.map(t => new ChartTranslation(t));
|
|
65
72
|
}
|
|
66
73
|
}
|
|
@@ -73,6 +80,8 @@ export interface ChartOrganisationDetailsDTO extends ChartOrganisationInfosDTO {
|
|
|
73
80
|
xAxis: ChartAxisDTO | null;
|
|
74
81
|
aggregates: boolean | null;
|
|
75
82
|
dynamicVariables: boolean | null;
|
|
83
|
+
showAllowedStep: boolean | null;
|
|
84
|
+
showPlotPerOnGraph: boolean | null;
|
|
76
85
|
chartVariables: ChartVariableDTO[];
|
|
77
86
|
chartPresets: ChartPresetDTO[];
|
|
78
87
|
chartPresetFilters: ChartPresetFilterDTO[];
|
|
@@ -81,7 +90,8 @@ export interface ChartOrganisationDetailsDTO extends ChartOrganisationInfosDTO {
|
|
|
81
90
|
chartOperands: ChartOperandDTO[];
|
|
82
91
|
chartModifiers: ChartModifierDTO[];
|
|
83
92
|
chartFilters: ChartFilterDTO[];
|
|
84
|
-
yAxis: ChartAxisDTO[]
|
|
93
|
+
yAxis: ChartAxisDTO[];
|
|
94
|
+
chartAllowedSteps: ChartAllowedStepDTO[];
|
|
85
95
|
translations: ChartTranslationDTO[];
|
|
86
96
|
}
|
|
87
97
|
|
|
@@ -113,6 +123,8 @@ export interface UpdateChartOrganisationDTO {
|
|
|
113
123
|
xAxis: CreateChartAxisDTO | null;
|
|
114
124
|
aggregates: boolean | null;
|
|
115
125
|
dynamicVariables: boolean | null;
|
|
126
|
+
showAllowedStep: boolean | null;
|
|
127
|
+
showPlotPerOnGraph: boolean | null;
|
|
116
128
|
chartVariables: CreateChartVariableDTO[];
|
|
117
129
|
chartPresets: CreateChartPresetDTO[];
|
|
118
130
|
chartPresetFilters: CreateChartPresetFilterDTO[];
|
|
@@ -121,6 +133,7 @@ export interface UpdateChartOrganisationDTO {
|
|
|
121
133
|
chartOperands: CreateChartOperandDTO[];
|
|
122
134
|
chartModifiers: CreateChartModifierDTO[];
|
|
123
135
|
chartFilters: CreateChartFilterDTO[];
|
|
124
|
-
yAxis:
|
|
136
|
+
yAxis: CreateChartAxisDTO[];
|
|
137
|
+
chartAllowedSteps: CreateChartAllowedStepDTO[];
|
|
125
138
|
translations: ChartTranslationDTO[];
|
|
126
139
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartModelLabelDTO } from "../charts/chartModelLabel";
|
|
2
2
|
import { ChartModelLabel } from "../charts/chartModelLabel";
|
|
3
|
-
import type { ApplicationScope } from "
|
|
4
|
-
import type { ChartType, PlotPer } from "
|
|
3
|
+
import type { ApplicationScope } from "@dative-gpi/foundation-shared-domain/enums";
|
|
4
|
+
import type { ChartType, PlotPer } from "@dative-gpi/foundation-shared-domain/enums";
|
|
5
5
|
|
|
6
6
|
export class ChartOrganisationInfos {
|
|
7
7
|
id: string;
|
|
@@ -15,6 +15,7 @@ export class ChartOrganisationInfos {
|
|
|
15
15
|
title: string;
|
|
16
16
|
code: string;
|
|
17
17
|
icon: string;
|
|
18
|
+
draft: boolean;
|
|
18
19
|
tags: string[];
|
|
19
20
|
multiple: boolean;
|
|
20
21
|
chartType: ChartType;
|
|
@@ -32,6 +33,7 @@ export class ChartOrganisationInfos {
|
|
|
32
33
|
this.title = params.title;
|
|
33
34
|
this.code = params.code;
|
|
34
35
|
this.icon = params.icon;
|
|
36
|
+
this.draft = params.draft;
|
|
35
37
|
this.tags = params.tags.slice();
|
|
36
38
|
this.multiple = params.multiple;
|
|
37
39
|
this.chartType = params.chartType;
|
|
@@ -51,6 +53,7 @@ export interface ChartOrganisationInfosDTO {
|
|
|
51
53
|
title: string;
|
|
52
54
|
code: string;
|
|
53
55
|
icon: string;
|
|
56
|
+
draft: boolean;
|
|
54
57
|
tags: string[];
|
|
55
58
|
multiple: boolean;
|
|
56
59
|
chartType: ChartType;
|
|
@@ -59,6 +62,9 @@ export interface ChartOrganisationInfosDTO {
|
|
|
59
62
|
|
|
60
63
|
export interface ChartOrganisationFilters {
|
|
61
64
|
modelsIds?: string[] | null;
|
|
62
|
-
|
|
65
|
+
plotPers?: PlotPer[] | null;
|
|
63
66
|
search?: string | null;
|
|
67
|
+
draft?: boolean | null;
|
|
68
|
+
deprecatedChartId?: string | null;
|
|
69
|
+
deviceOrganisationsIds?: string[] | null
|
|
64
70
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChartAllowedStepTranslation, type ChartAllowedStepTranslationDTO, type CreateChartAllowedStepTranslationDTO } from "./chartAllowedStepTranslation";
|
|
2
|
+
|
|
3
|
+
export class ChartAllowedStep {
|
|
4
|
+
id: string;
|
|
5
|
+
value: string;
|
|
6
|
+
labelDefault: string;
|
|
7
|
+
label: string;
|
|
8
|
+
translations: ChartAllowedStepTranslation[];
|
|
9
|
+
|
|
10
|
+
constructor(params: ChartAllowedStepDTO) {
|
|
11
|
+
this.id = params.id;
|
|
12
|
+
this.labelDefault = params.labelDefault;
|
|
13
|
+
this.value = params.value;
|
|
14
|
+
this.label = params.label;
|
|
15
|
+
this.translations = params.translations.map(t => new ChartAllowedStepTranslation(t));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ChartAllowedStepDTO {
|
|
20
|
+
id: string;
|
|
21
|
+
value: string;
|
|
22
|
+
labelDefault: string;
|
|
23
|
+
label: string;
|
|
24
|
+
translations: ChartAllowedStepTranslationDTO[];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CreateChartAllowedStepDTO {
|
|
28
|
+
value: string;
|
|
29
|
+
labelDefault: string;
|
|
30
|
+
translations: CreateChartAllowedStepTranslationDTO[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class ChartAllowedStepTranslation {
|
|
2
|
+
languageCode: string;
|
|
3
|
+
label: string;
|
|
4
|
+
|
|
5
|
+
constructor(params: ChartAllowedStepTranslationDTO) {
|
|
6
|
+
this.languageCode = params.languageCode;
|
|
7
|
+
this.label = params.label;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface ChartAllowedStepTranslationDTO {
|
|
12
|
+
languageCode: string;
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface CreateChartAllowedStepTranslationDTO {
|
|
17
|
+
languageCode: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { ChartValueRangeDTO, CreateChartValueRangeDTO } from "./chartValueR
|
|
|
2
2
|
import { ChartValueRange } from "./chartValueRange";
|
|
3
3
|
import type { CreateChartTimeRangeDTO, ChartTimeRangeDTO } from "./chartTimeRange";
|
|
4
4
|
import { ChartTimeRange } from "./chartTimeRange";
|
|
5
|
-
import type { AxisType } from "
|
|
5
|
+
import type { AxisType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
6
6
|
|
|
7
7
|
export class ChartAxis {
|
|
8
8
|
id : string;
|
|
@@ -16,10 +16,12 @@ import { ChartOperand } from "./chartOperand";
|
|
|
16
16
|
import type { ChartOperandDTO } from "./chartOperand";
|
|
17
17
|
import { ChartModifier } from "./chartModifier";
|
|
18
18
|
import type { ChartModifierDTO } from "./chartModifier";
|
|
19
|
-
import { ChartFilter} from "./chartFilter";
|
|
19
|
+
import { ChartFilter } from "./chartFilter";
|
|
20
20
|
import type { ChartFilterDTO } from "./chartFilter";
|
|
21
|
+
import { ChartAllowedStep } from "./chartAllowedStep";
|
|
22
|
+
import type { ChartAllowedStepDTO } from "./chartAllowedStep";
|
|
21
23
|
|
|
22
|
-
import type { ColorSets } from "
|
|
24
|
+
import type { ColorSets } from "@dative-gpi/foundation-shared-domain/enums";
|
|
23
25
|
|
|
24
26
|
export class ChartDetails extends ChartInfos {
|
|
25
27
|
colorSet: ColorSets;
|
|
@@ -27,6 +29,8 @@ export class ChartDetails extends ChartInfos {
|
|
|
27
29
|
xAxis: ChartAxis | null;
|
|
28
30
|
aggregates: boolean | null;
|
|
29
31
|
dynamicVariables: boolean | null;
|
|
32
|
+
showAllowedStep: boolean | null;
|
|
33
|
+
showPlotPerOnGraph: boolean | null;
|
|
30
34
|
chartVariables: ChartVariable[];
|
|
31
35
|
chartSeries: ChartSerie[];
|
|
32
36
|
chartOperands: ChartOperand[];
|
|
@@ -36,6 +40,7 @@ export class ChartDetails extends ChartInfos {
|
|
|
36
40
|
chartPresets: ChartPreset[];
|
|
37
41
|
chartPresetFilters: ChartPresetFilter[];
|
|
38
42
|
chartPlots: ChartPlot[];
|
|
43
|
+
chartAllowedSteps: ChartAllowedStep[];
|
|
39
44
|
|
|
40
45
|
constructor(params: ChartDetailsDTO) {
|
|
41
46
|
super(params);
|
|
@@ -46,6 +51,8 @@ export class ChartDetails extends ChartInfos {
|
|
|
46
51
|
new ChartAxis(params.xAxis) : null;
|
|
47
52
|
this.aggregates = params.aggregates;
|
|
48
53
|
this.dynamicVariables = params.dynamicVariables;
|
|
54
|
+
this.showAllowedStep = params.showAllowedStep;
|
|
55
|
+
this.showPlotPerOnGraph = params.showPlotPerOnGraph;
|
|
49
56
|
this.chartVariables = params.chartVariables.map(cv => new ChartVariable(cv));
|
|
50
57
|
this.chartPresets = params.chartPresets.map(cp => new ChartPreset(cp));
|
|
51
58
|
this.chartPresetFilters = params.chartPresetFilters.map(cpf => new ChartPresetFilter(cpf));
|
|
@@ -55,6 +62,7 @@ export class ChartDetails extends ChartInfos {
|
|
|
55
62
|
this.chartModifiers = params.chartModifiers.map(cm => new ChartModifier(cm));
|
|
56
63
|
this.chartFilters = params.chartFilters.map(cf => new ChartFilter(cf));
|
|
57
64
|
this.yAxis = params.yAxis.map(ya => new ChartAxis(ya));
|
|
65
|
+
this.chartAllowedSteps = params.chartAllowedSteps.map(cas => new ChartAllowedStep(cas));
|
|
58
66
|
}
|
|
59
67
|
}
|
|
60
68
|
|
|
@@ -64,6 +72,8 @@ export interface ChartDetailsDTO extends ChartInfosDTO {
|
|
|
64
72
|
xAxis: ChartAxisDTO | null;
|
|
65
73
|
aggregates: boolean | null;
|
|
66
74
|
dynamicVariables: boolean | null;
|
|
75
|
+
showAllowedStep: boolean | null;
|
|
76
|
+
showPlotPerOnGraph: boolean | null;
|
|
67
77
|
chartVariables: ChartVariableDTO[];
|
|
68
78
|
chartPresets: ChartPresetDTO[];
|
|
69
79
|
chartSeries: ChartSerieDTO[];
|
|
@@ -73,4 +83,5 @@ export interface ChartDetailsDTO extends ChartInfosDTO {
|
|
|
73
83
|
yAxis: ChartAxisDTO[];
|
|
74
84
|
chartPresetFilters: ChartPresetFilterDTO[];
|
|
75
85
|
chartPlots: ChartPlotDTO[];
|
|
86
|
+
chartAllowedSteps: ChartAllowedStepDTO[];
|
|
76
87
|
}
|
|
@@ -2,7 +2,7 @@ import type { ChartFilterValueDTO, CreateChartFilterValueDTO } from "./chartFilt
|
|
|
2
2
|
import { ChartFilterValue } from "./chartFilterValue";
|
|
3
3
|
import type { ChartFilterTranslationDTO } from "./chartFilterTranslation";
|
|
4
4
|
import { ChartFilterTranslation } from "./chartFilterTranslation";
|
|
5
|
-
import type { FilterType } from "
|
|
5
|
+
import type { FilterType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
6
6
|
|
|
7
7
|
export class ChartFilter {
|
|
8
8
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChartModelLabelDTO } from "./chartModelLabel";
|
|
2
2
|
import { ChartModelLabel } from "./chartModelLabel";
|
|
3
|
-
import type { ApplicationScope } from "
|
|
4
|
-
import type { ChartType } from "
|
|
3
|
+
import type { ApplicationScope } from "@dative-gpi/foundation-shared-domain/enums";
|
|
4
|
+
import type { ChartType } from "@dative-gpi/foundation-shared-domain/enums";
|
|
5
5
|
|
|
6
6
|
export class ChartInfos {
|
|
7
7
|
id: string;
|
|
@@ -13,6 +13,7 @@ export class ChartInfos {
|
|
|
13
13
|
title: string;
|
|
14
14
|
icon: string;
|
|
15
15
|
code: string;
|
|
16
|
+
draft: boolean;
|
|
16
17
|
tags: string[];
|
|
17
18
|
multiple: boolean;
|
|
18
19
|
chartType: ChartType;
|
|
@@ -28,6 +29,7 @@ export class ChartInfos {
|
|
|
28
29
|
this.title = params.title;
|
|
29
30
|
this.icon = params.icon;
|
|
30
31
|
this.code = params.code;
|
|
32
|
+
this.draft = params.draft;
|
|
31
33
|
this.tags = params.tags.slice();
|
|
32
34
|
this.multiple = params.multiple;
|
|
33
35
|
this.chartType = params.chartType;
|
|
@@ -45,6 +47,7 @@ export interface ChartInfosDTO {
|
|
|
45
47
|
title: string;
|
|
46
48
|
icon: string;
|
|
47
49
|
code: string;
|
|
50
|
+
draft: boolean;
|
|
48
51
|
tags: string[];
|
|
49
52
|
multiple: boolean;
|
|
50
53
|
chartType: ChartType;
|
|
@@ -8,6 +8,7 @@ export class ChartPreset {
|
|
|
8
8
|
label: string;
|
|
9
9
|
labelDefault: string;
|
|
10
10
|
icon: string;
|
|
11
|
+
index: number;
|
|
11
12
|
translations: ChartPresetTranslation[];
|
|
12
13
|
|
|
13
14
|
constructor(params: ChartPresetDTO) {
|
|
@@ -17,6 +18,7 @@ export class ChartPreset {
|
|
|
17
18
|
this.label = params.label;
|
|
18
19
|
this.labelDefault = params.labelDefault;
|
|
19
20
|
this.icon = params.icon;
|
|
21
|
+
this.index = params.index;
|
|
20
22
|
this.translations = params.translations.map(t => new ChartPresetTranslation(t));
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -28,6 +30,7 @@ export interface ChartPresetDTO {
|
|
|
28
30
|
label: string;
|
|
29
31
|
labelDefault: string;
|
|
30
32
|
icon: string;
|
|
33
|
+
index: number;
|
|
31
34
|
translations: ChartPresetTranslationDTO[];
|
|
32
35
|
}
|
|
33
36
|
|
|
@@ -36,5 +39,6 @@ export interface CreateChartPresetDTO {
|
|
|
36
39
|
hiddenCode: string;
|
|
37
40
|
labelDefault: string;
|
|
38
41
|
icon: string;
|
|
42
|
+
index: number;
|
|
39
43
|
translations: ChartPresetTranslationDTO[];
|
|
40
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Days } from "@dative-gpi/foundation-shared-domain/
|
|
1
|
+
import type { DateType, Days } from "@dative-gpi/foundation-shared-domain/enums";
|
|
2
2
|
|
|
3
3
|
import type { ChartTimeRangeTranslationDTO, CreateChartTimeRangeTranslationDTO } from "./chartTimeRangeTranslation";
|
|
4
4
|
import { ChartTimeRangeTranslation } from "./chartTimeRangeTranslation";
|
|
@@ -29,6 +29,7 @@ export interface ChartTimeRangeDTO {
|
|
|
29
29
|
endDay: number;
|
|
30
30
|
endHour: number;
|
|
31
31
|
endMinute: number;
|
|
32
|
+
variant: DateType;
|
|
32
33
|
color: string;
|
|
33
34
|
opacity: number;
|
|
34
35
|
label: string;
|
|
@@ -43,6 +44,7 @@ export interface CreateChartTimeRangeDTO {
|
|
|
43
44
|
endDay: Days;
|
|
44
45
|
endHour: number;
|
|
45
46
|
endMinute: number;
|
|
47
|
+
variant: DateType;
|
|
46
48
|
color: string;
|
|
47
49
|
opacity: number;
|
|
48
50
|
labelDefault: string;
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
import type { TimeUnit } from "@dative-gpi/foundation-shared-domain/
|
|
1
|
+
import type { TimeUnit } from "@dative-gpi/foundation-shared-domain/enums";
|
|
2
2
|
|
|
3
3
|
export class ChartTimeStep {
|
|
4
|
-
use: boolean;
|
|
5
4
|
value: number;
|
|
6
5
|
unit: TimeUnit;
|
|
7
6
|
|
|
8
7
|
constructor(params: ChartTimeStepDTO) {
|
|
9
|
-
this.use = params.use;
|
|
10
8
|
this.value = params.value;
|
|
11
9
|
this.unit = params.unit as TimeUnit;
|
|
12
10
|
}
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
export interface ChartTimeStepDTO {
|
|
16
|
-
use: boolean;
|
|
17
14
|
value: number;
|
|
18
15
|
unit: number;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
export interface CreateChartTimeStepDTO {
|
|
22
|
-
use: boolean;
|
|
23
19
|
value: number;
|
|
24
20
|
unit: TimeUnit;
|
|
25
21
|
}
|