@dative-gpi/foundation-core-domain 0.0.174 → 0.0.176
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/actionDetails.ts +2 -1
- package/models/actions/actionInfos.ts +1 -1
- package/models/alerts/alertDetails.ts +2 -1
- package/models/alerts/alertInfos.ts +7 -5
- package/models/alerts/alertState.ts +3 -2
- package/models/articles/articleDetails.ts +2 -1
- package/models/chartCategories/chartCategoryDetails.ts +4 -2
- package/models/chartOrganisationTypes/chartOrganisationTypeDetails.ts +15 -8
- package/models/chartOrganisationTypes/chartOrganisationTypeInfos.ts +4 -3
- package/models/chartOrganisations/chartOrganisationDetails.ts +15 -8
- package/models/chartOrganisations/chartOrganisationInfos.ts +4 -3
- package/models/charts/chartAxis.ts +4 -2
- package/models/charts/chartDetails.ts +13 -7
- package/models/charts/chartFilter.ts +7 -4
- package/models/charts/chartInfos.ts +4 -3
- package/models/charts/chartOperand.ts +5 -3
- package/models/charts/chartPlot.ts +4 -2
- package/models/charts/chartPreset.ts +4 -2
- package/models/charts/chartSerie.ts +8 -4
- package/models/charts/chartTimeRange.ts +3 -2
- package/models/charts/chartTimeStep.ts +1 -1
- package/models/charts/chartValueRange.ts +2 -1
- package/models/charts/chartVariable.ts +2 -1
- package/models/comments/commentDetails.ts +2 -1
- package/models/connectivityAlerts/connectivityAlertDetails.ts +2 -1
- package/models/connectivityAlerts/connectivityAlertInfos.ts +3 -2
- package/models/connectivityScenarios/connectivityScenarioDetails.ts +7 -3
- package/models/connectivityScenarios/connectivityScenarioInfos.ts +10 -4
- package/models/connectivityScenarios/connectivityScenarioUserInfos.ts +26 -0
- package/models/customProperties/customPropertyColor.ts +1 -1
- package/models/customProperties/customPropertyDetails.ts +2 -1
- package/models/customProperties/customPropertyInfos.ts +3 -2
- package/models/customPropertyValues/customPropertyValueDetails.ts +2 -1
- package/models/dashboardDatePresets/dashboardDatePresetDetails.ts +1 -1
- package/models/dashboardDatePresets/dashboardDatePresetInfos.ts +2 -1
- package/models/dashboardEntityPresets/dashboardEntityPresetDetails.ts +2 -2
- package/models/dashboardEntityPresets/dashboardEntityPresetInfos.ts +3 -2
- package/models/dashboardOrganisationTypes/dashboardOrganisationTypeDetails.ts +14 -8
- package/models/dashboardOrganisationTypes/dashboardOrganisationTypeInfos.ts +1 -1
- package/models/dashboardOrganisations/dashboardOrganisationDetails.ts +16 -9
- package/models/dashboardOrganisations/dashboardOrganisationInfos.ts +1 -1
- package/models/dashboardShallowEntityPresets/dashboardShallowEntityPresetDetails.ts +1 -1
- package/models/dashboardShallowEntityPresets/dashboardShallowEntityPresetInfos.ts +1 -1
- package/models/dashboardShallowVariables/dashboardShallowVariableDetails.ts +1 -1
- package/models/dashboardShallowVariables/dashboardShallowVariableInfos.ts +2 -1
- package/models/dashboardShallows/dashboardShallowDetails.ts +21 -11
- package/models/dashboardShallows/dashboardShallowInfos.ts +1 -1
- package/models/dashboardVariableValues/dashboardVariableValue.ts +2 -1
- package/models/dashboardVariables/dashboardVariableDetails.ts +3 -3
- package/models/dashboardVariables/dashboardVariableInfos.ts +5 -3
- package/models/dashboards/dashboardDetails.ts +11 -6
- package/models/dashboards/dashboardInfos.ts +1 -1
- package/models/dataCategories/dataCategoryDetails.ts +2 -1
- package/models/dataDefinitionMappings/dataDefinitionMappingDetails.ts +2 -1
- package/models/dataDefinitions/dataDefinitionDetails.ts +2 -1
- package/models/dataDefinitions/dataDefinitionInfos.ts +3 -2
- package/models/deviceConnectivities/deviceConnectivityDetails.ts +2 -1
- package/models/deviceConnectivities/deviceConnectivityInfos.ts +1 -1
- package/models/deviceOrganisations/deviceOrganisationAlert.ts +1 -1
- package/models/deviceOrganisations/deviceOrganisationDetails.ts +6 -3
- package/models/deviceOrganisations/deviceOrganisationInfos.ts +8 -4
- package/models/deviceStatuses/deviceStatusDetails.ts +2 -1
- package/models/extensionApplications/extensionApplicationDetails.ts +2 -1
- package/models/folders/folderDetails.ts +2 -1
- package/models/folders/folderInfos.ts +2 -1
- package/models/groups/groupDetails.ts +2 -1
- package/models/groups/groupInfos.ts +2 -1
- package/models/index.ts +1 -0
- package/models/locations/locationDetails.ts +3 -2
- package/models/locations/locationInfos.ts +2 -1
- package/models/manufacturers/manufacturerDetails.ts +2 -1
- package/models/modelStatuses/modelStatusDetails.ts +2 -1
- package/models/models/modelDetails.ts +2 -1
- package/models/organisations/organisationDetails.ts +1 -1
- package/models/permissionCategories/permissionCategoryDetails.ts +2 -1
- package/models/roleOrganisationTypes/roleOrganisationTypeDetails.ts +2 -1
- package/models/roleOrganisationTypes/roleOrganisationTypeInfos.ts +4 -3
- package/models/roleOrganisations/roleOrganisationDetails.ts +3 -2
- package/models/roleOrganisations/roleOrganisationInfos.ts +4 -3
- package/models/routes/applicationRoute.ts +1 -1
- package/models/routes/routeDetails.ts +2 -1
- package/models/scenarioDeviceOrganisations/scenarioDeviceOrganisationDetails.ts +15 -1
- package/models/scenarioDeviceOrganisations/scenarioDeviceOrganisationInfos.ts +2 -1
- package/models/scenarioOrganisationTypes/scenarioOrganisationTypeDetails.ts +7 -4
- package/models/scenarioOrganisationTypes/scenarioOrganisationTypeInfos.ts +2 -2
- package/models/scenarioOrganisations/scenarioOrganisationDetails.ts +7 -4
- package/models/scenarioOrganisations/scenarioOrganisationInfos.ts +2 -2
- package/models/serviceAccountOrganisationAuthTokens/serviceAccountOrganisationAuthTokenDetails.ts +2 -1
- package/models/serviceAccountOrganisations/serviceAccountOrganisationDetails.ts +5 -3
- package/models/serviceAccountOrganisations/serviceAccountOrganisationInfos.ts +2 -2
- package/models/shared/timeRange.ts +1 -1
- package/models/userOrganisationColumns/userOrganisationColumnDetails.ts +2 -1
- package/models/userOrganisationTables/userOrganisationTableDetails.ts +3 -2
- package/models/userOrganisationTables/userOrganisationTableInfos.ts +2 -1
- package/models/userOrganisations/userOrganisationDetails.ts +5 -3
- package/models/userOrganisations/userOrganisationInfos.ts +2 -2
- package/models/widgetTemplates/widgetTemplateDetails.ts +2 -1
- package/models/widgets/widgetDetails.ts +2 -1
- package/package.json +2 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { AlertStatus, Criticity } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { AlertStatus, Criticity } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
import { utcToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import type { AlertDataDefinitionDTO } from "./alertDataDefinition";
|
|
5
|
+
import { AlertDataDefinition } from "./alertDataDefinition";
|
|
6
|
+
import type { AlertStateDTO } from "./alertState";
|
|
7
|
+
import { AlertState } from "./alertState";
|
|
8
|
+
import type { SelectedEntities } from "../enums/sharedEnums";
|
|
9
|
+
import type { DateVariable } from "../shared/dateVariable";
|
|
8
10
|
|
|
9
11
|
export class AlertInfos {
|
|
10
12
|
id: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AlertStatus } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { AlertStatus } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
import { utcToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type { AlertDataDefinitionDTO } from "./alertDataDefinition";
|
|
5
|
+
import { AlertDataDefinition } from "./alertDataDefinition";
|
|
5
6
|
|
|
6
7
|
export class AlertState {
|
|
7
8
|
id: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartCategoryTranslationDTO } from "./chartCategoryTranslation";
|
|
2
|
+
import { ChartCategoryTranslation } from "./chartCategoryTranslation";
|
|
3
|
+
import type { ChartCategoryInfosDTO } from "./chartCategoryInfos";
|
|
4
|
+
import { ChartCategoryInfos } from "./chartCategoryInfos";
|
|
3
5
|
|
|
4
6
|
export class ChartCategoryDetails extends ChartCategoryInfos {
|
|
5
7
|
labelDefault: string;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import type { ChartPresetFilterDTO, CreateChartPresetFilterDTO } from "../charts/chartPresetFilter";
|
|
2
|
+
import { ChartPresetFilter } from "../charts/chartPresetFilter";
|
|
3
|
+
import type { ChartOrganisationTypeInfosDTO } from "./chartOrganisationTypeInfos";
|
|
4
|
+
import { ChartOrganisationTypeInfos } from "./chartOrganisationTypeInfos";
|
|
5
|
+
import type { ChartVariableDTO, CreateChartVariableDTO } from "../charts/chartVariable";
|
|
6
|
+
import { ChartVariable } from "../charts/chartVariable";
|
|
7
|
+
import type { ChartPresetDTO, CreateChartPresetDTO } from "../charts/chartPreset";
|
|
8
|
+
import { ChartPreset } from "../charts/chartPreset";
|
|
9
|
+
import type { ChartTranslationDTO } from "../charts/chartTranslation";
|
|
10
|
+
import { ChartTranslation } from "../charts/chartTranslation";
|
|
11
|
+
import type { ChartAxisDTO, CreateChartAxisDTO } from "../charts/chartAxis";
|
|
12
|
+
import { ChartAxis } from "../charts/chartAxis";
|
|
13
|
+
import type { ChartPlotDTO, CreateChartPlotDTO } from "../charts/chartPlot";
|
|
14
|
+
import { ChartPlot } from "../charts/chartPlot";
|
|
15
|
+
import type { ColorSets } from "../enums/chartEnums";
|
|
9
16
|
|
|
10
17
|
export class ChartOrganisationTypeDetails extends ChartOrganisationTypeInfos {
|
|
11
18
|
labelDefault: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ChartModelLabelDTO } from "../charts/chartModelLabel";
|
|
2
|
+
import { ChartModelLabel } from "../charts/chartModelLabel";
|
|
3
|
+
import type { ApplicationScope } from "../enums/applicationEnums";
|
|
4
|
+
import type { ChartType, PlotPer } from "../enums/chartEnums";
|
|
4
5
|
|
|
5
6
|
export class ChartOrganisationTypeInfos {
|
|
6
7
|
id: string;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import type { ChartPresetFilterDTO, CreateChartPresetFilterDTO } from "../charts/chartPresetFilter";
|
|
2
|
+
import { ChartPresetFilter } from "../charts/chartPresetFilter";
|
|
3
|
+
import type { ChartVariableDTO, CreateChartVariableDTO } from "../charts/chartVariable";
|
|
4
|
+
import { ChartVariable } from "../charts/chartVariable";
|
|
5
|
+
import type { ChartOrganisationInfosDTO } from "./chartOrganisationInfos";
|
|
6
|
+
import { ChartOrganisationInfos } from "./chartOrganisationInfos";
|
|
7
|
+
import type { ChartPresetDTO, CreateChartPresetDTO } from "../charts/chartPreset";
|
|
8
|
+
import { ChartPreset } from "../charts/chartPreset";
|
|
9
|
+
import type { ChartTranslationDTO } from "../charts/chartTranslation";
|
|
10
|
+
import { ChartTranslation } from "../charts/chartTranslation";
|
|
11
|
+
import type { ChartAxisDTO, CreateChartAxisDTO } from "../charts/chartAxis";
|
|
12
|
+
import { ChartAxis } from "../charts/chartAxis";
|
|
13
|
+
import type { ChartPlotDTO, CreateChartPlotDTO } from "../charts/chartPlot";
|
|
14
|
+
import { ChartPlot } from "../charts/chartPlot";
|
|
15
|
+
import type { ColorSets } from "../enums/chartEnums";
|
|
9
16
|
|
|
10
17
|
export class ChartOrganisationDetails extends ChartOrganisationInfos {
|
|
11
18
|
labelDefault: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ChartModelLabelDTO } from "../charts/chartModelLabel";
|
|
2
|
+
import { ChartModelLabel } from "../charts/chartModelLabel";
|
|
3
|
+
import type { ApplicationScope } from "../enums/applicationEnums";
|
|
4
|
+
import type { ChartType, PlotPer } from "../enums/chartEnums";
|
|
4
5
|
|
|
5
6
|
export class ChartOrganisationInfos {
|
|
6
7
|
id: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartValueRangeDTO, CreateChartValueRangeDTO } from "./chartValueRange";
|
|
2
|
+
import { ChartValueRange } from "./chartValueRange";
|
|
3
|
+
import type { CreateChartTimeRangeDTO, ChartTimeRangeDTO } from "./chartTimeRange";
|
|
4
|
+
import { ChartTimeRange } from "./chartTimeRange";
|
|
3
5
|
import { AxisType } from "../enums/chartEnums";
|
|
4
6
|
|
|
5
7
|
export class ChartAxis {
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import type { ChartPresetFilterDTO } from "./chartPresetFilter";
|
|
2
|
+
import { ChartPresetFilter } from "./chartPresetFilter";
|
|
3
|
+
import type { ChartVariableDTO } from "./chartVariable";
|
|
4
|
+
import { ChartVariable } from "./chartVariable";
|
|
5
|
+
import type { ChartPresetDTO } from "./chartPreset";
|
|
6
|
+
import { ChartPreset } from "./chartPreset";
|
|
7
|
+
import type { ChartInfosDTO } from "./chartInfos";
|
|
8
|
+
import { ChartInfos } from "./chartInfos";
|
|
9
|
+
import type { ChartAxisDTO } from "./chartAxis";
|
|
10
|
+
import { ChartAxis } from "./chartAxis";
|
|
11
|
+
import type { ChartPlotDTO } from "./chartPlot";
|
|
12
|
+
import { ChartPlot } from "./chartPlot";
|
|
13
|
+
import type { ColorSets } from "../enums/chartEnums";
|
|
8
14
|
|
|
9
15
|
export class ChartDetails extends ChartInfos {
|
|
10
16
|
colorSet: ColorSets;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ChartFilterValueDTO, CreateChartFilterValueDTO } from "./chartFilterValue";
|
|
2
|
+
import { ChartFilterValue } from "./chartFilterValue";
|
|
3
|
+
import type { ChartFilterTranslationDTO } from "./chartFilterTranslation";
|
|
4
|
+
import { ChartFilterTranslation } from "./chartFilterTranslation";
|
|
5
|
+
import type { ChartPresetFilterDTO } from "./chartPresetFilter";
|
|
6
|
+
import { ChartPresetFilter } from "./chartPresetFilter";
|
|
7
|
+
import type { FilterType } from "../enums/sharedEnums";
|
|
5
8
|
|
|
6
9
|
export class ChartFilter {
|
|
7
10
|
id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ChartModelLabelDTO } from "./chartModelLabel";
|
|
2
|
+
import { ChartModelLabel } from "./chartModelLabel";
|
|
3
|
+
import type { ApplicationScope } from "../enums/applicationEnums";
|
|
4
|
+
import type { ChartType } from "../enums/chartEnums";
|
|
4
5
|
|
|
5
6
|
export class ChartInfos {
|
|
6
7
|
id: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ChartModifierDTO, CreateChartModifierDTO } from "./chartModifier";
|
|
2
|
+
import { ChartModifier } from "./chartModifier";
|
|
3
|
+
import type { ChartFilterDTO, CreateChartFilterDTO } from "./chartFilter";
|
|
4
|
+
import { ChartFilter } from "./chartFilter";
|
|
5
|
+
import type { AggregationType } from "../enums/chartEnums";
|
|
4
6
|
|
|
5
7
|
export class ChartOperand {
|
|
6
8
|
id: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartSerieDTO, CreateChartSerieDTO } from "./chartSerie";
|
|
2
|
+
import { ChartSerie } from "./chartSerie";
|
|
3
|
+
import type { ChartAxisDTO, CreateChartAxisDTO } from "./chartAxis";
|
|
4
|
+
import { ChartAxis } from "./chartAxis";
|
|
3
5
|
|
|
4
6
|
export class ChartPlot {
|
|
5
7
|
id: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ChartPresetTranslationDTO } from "./chartPresetTranslation";
|
|
2
|
+
import { ChartPresetTranslation } from "./chartPresetTranslation";
|
|
3
|
+
import type { ChartPresetFilterDTO } from "./chartPresetFilter";
|
|
4
|
+
import { ChartPresetFilter } from "./chartPresetFilter";
|
|
3
5
|
|
|
4
6
|
export class ChartPreset {
|
|
5
7
|
id: string;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { ChartSerieTranslationDTO, CreateChartSerieTranslationDTO } from "./chartSerieTranslation";
|
|
2
|
+
import { ChartSerieTranslation } from "./chartSerieTranslation";
|
|
3
|
+
import type { ChartValueRangeDTO, CreateChartValueRangeDTO } from "./chartValueRange";
|
|
4
|
+
import { ChartValueRange } from "./chartValueRange";
|
|
5
|
+
import type { ChartTimeStepDTO, CreateChartTimeStepDTO } from "./chartTimeStep";
|
|
6
|
+
import { ChartTimeStep } from "./chartTimeStep";
|
|
7
|
+
import type { ChartOperandDTO, CreateChartOperandDTO } from "./chartOperand";
|
|
8
|
+
import { ChartOperand } from "./chartOperand";
|
|
5
9
|
|
|
6
10
|
export class ChartSerie {
|
|
7
11
|
id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Days } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { Days } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { ChartTimeRangeTranslationDTO, CreateChartTimeRangeTranslationDTO } from "./chartTimeRangeTranslation";
|
|
4
|
+
import { ChartTimeRangeTranslation } from "./chartTimeRangeTranslation";
|
|
4
5
|
import { TimeRange } from "../shared/timeRange";
|
|
5
6
|
|
|
6
7
|
export class ChartTimeRange extends TimeRange {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartValueRangeTranslationDTO, CreateChartValueRangeTranslationDTO } from "./chartValueRangeTranslation";
|
|
2
|
+
import { ChartValueRangeTranslation } from "./chartValueRangeTranslation";
|
|
2
3
|
import { ValueRange } from "../shared/valueRange";
|
|
3
4
|
|
|
4
5
|
export class ChartValueRange extends ValueRange {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ChartVariableTranslationDTO } from "./chartVariableTranslation";
|
|
2
|
+
import { ChartVariableTranslation } from "./chartVariableTranslation";
|
|
2
3
|
|
|
3
4
|
export class ChartVariable {
|
|
4
5
|
id: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ConnectivityAlertInfosDTO } from "./connectivityAlertInfos";
|
|
2
|
+
import { ConnectivityAlertInfos } from "./connectivityAlertInfos";
|
|
2
3
|
|
|
3
4
|
export class ConnectivityAlertDetails extends ConnectivityAlertInfos {
|
|
4
5
|
constructor(params: ConnectivityAlertDetailsDTO) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AlertStatus } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { AlertStatus } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
import { utcToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type { DeviceConnectivityInfosDTO } from "../deviceConnectivities/deviceConnectivityInfos";
|
|
5
|
+
import { DeviceConnectivityInfos } from "../deviceConnectivities/deviceConnectivityInfos";
|
|
5
6
|
|
|
6
7
|
export class ConnectivityAlertInfos {
|
|
7
8
|
id: string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ConnectivityScenarioInfosDTO } from "./connectivityScenarioInfos";
|
|
2
|
+
import { ConnectivityScenarioInfos } from "./connectivityScenarioInfos";
|
|
3
|
+
import type { CreateConnectivityScenarioUserDTO } from "./connectivityScenarioUserInfos";
|
|
2
4
|
|
|
3
5
|
export class ConnectivityScenarioDetails extends ConnectivityScenarioInfos {
|
|
4
6
|
constructor(params: ConnectivityScenarioDetailsDTO) {
|
|
@@ -14,12 +16,14 @@ export interface CreateConnectivityScenarioDTO {
|
|
|
14
16
|
time: number;
|
|
15
17
|
warnDeviceManager: boolean;
|
|
16
18
|
warnOnReconnection: boolean;
|
|
17
|
-
|
|
19
|
+
notifTimeByUser: boolean;
|
|
20
|
+
connectivityScenarioUsers: CreateConnectivityScenarioUserDTO[];
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
export interface UpdateConnectivityScenarioDTO {
|
|
21
24
|
time: number;
|
|
22
25
|
warnDeviceManager: boolean;
|
|
23
26
|
warnOnReconnection: boolean;
|
|
24
|
-
|
|
27
|
+
notifTimeByUser: boolean;
|
|
28
|
+
connectivityScenarioUsers: CreateConnectivityScenarioUserDTO[];
|
|
25
29
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DeviceConnectivityDetailsDTO } from "../deviceConnectivities/deviceConnectivityDetails";
|
|
2
|
+
import { DeviceConnectivityDetails } from "../deviceConnectivities/deviceConnectivityDetails";
|
|
3
|
+
import type { ConnectivityScenarioUserInfosDTO } from "./connectivityScenarioUserInfos";
|
|
4
|
+
import { ConnectivityScenarioUserInfos } from "./connectivityScenarioUserInfos";
|
|
2
5
|
|
|
3
6
|
export class ConnectivityScenarioInfos {
|
|
4
7
|
id: string
|
|
@@ -11,7 +14,8 @@ export class ConnectivityScenarioInfos {
|
|
|
11
14
|
time: number;
|
|
12
15
|
warnDeviceManager: boolean;
|
|
13
16
|
warnOnReconnection: boolean;
|
|
14
|
-
|
|
17
|
+
notifTimeByUser: boolean;
|
|
18
|
+
connectivityScenarioUsers: ConnectivityScenarioUserInfos[];
|
|
15
19
|
|
|
16
20
|
constructor(params: ConnectivityScenarioInfosDTO) {
|
|
17
21
|
this.id = params.id;
|
|
@@ -25,7 +29,8 @@ export class ConnectivityScenarioInfos {
|
|
|
25
29
|
this.time = params.time;
|
|
26
30
|
this.warnDeviceManager = params.warnDeviceManager;
|
|
27
31
|
this.warnOnReconnection = params.warnOnReconnection;
|
|
28
|
-
this.
|
|
32
|
+
this.notifTimeByUser = params.notifTimeByUser;
|
|
33
|
+
this.connectivityScenarioUsers = params.connectivityScenarioUsers.map(u => new ConnectivityScenarioUserInfos(u));
|
|
29
34
|
}
|
|
30
35
|
}
|
|
31
36
|
|
|
@@ -40,7 +45,8 @@ export interface ConnectivityScenarioInfosDTO {
|
|
|
40
45
|
time: number;
|
|
41
46
|
warnDeviceManager: boolean;
|
|
42
47
|
warnOnReconnection: boolean;
|
|
43
|
-
|
|
48
|
+
notifTimeByUser: boolean;
|
|
49
|
+
connectivityScenarioUsers: ConnectivityScenarioUserInfosDTO[];
|
|
44
50
|
}
|
|
45
51
|
|
|
46
52
|
export interface ConnectivityScenarioFilters {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
export class ConnectivityScenarioUserInfos {
|
|
3
|
+
id: string;
|
|
4
|
+
connectivityScenarioId: string;
|
|
5
|
+
userOrganisationId: string;
|
|
6
|
+
timeDelay: number;
|
|
7
|
+
|
|
8
|
+
constructor(params: ConnectivityScenarioUserInfosDTO) {
|
|
9
|
+
this.id = params.id;
|
|
10
|
+
this.connectivityScenarioId = params.connectivityScenarioId;
|
|
11
|
+
this.userOrganisationId = params.userOrganisationId;
|
|
12
|
+
this.timeDelay = params.timeDelay;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface ConnectivityScenarioUserInfosDTO {
|
|
17
|
+
id: string;
|
|
18
|
+
connectivityScenarioId: string;
|
|
19
|
+
userOrganisationId: string;
|
|
20
|
+
timeDelay: number;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface CreateConnectivityScenarioUserDTO {
|
|
24
|
+
userOrganisationId: string;
|
|
25
|
+
timeDelay: number;
|
|
26
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CustomPropertyInfosDTO } from "./customPropertyInfos";
|
|
2
|
+
import { CustomPropertyInfos } from "./customPropertyInfos";
|
|
2
3
|
|
|
3
4
|
export class CustomPropertyDetails extends CustomPropertyInfos {
|
|
4
5
|
constructor(params: CustomPropertyDetailsDTO) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { CustomPropertyColorDTO } from "./customPropertyColor";
|
|
2
|
+
import { CustomPropertyColor } from "./customPropertyColor";
|
|
3
|
+
import type { PropertyDataType, PropertyEntity } from "../enums/customPropertyEnums";
|
|
3
4
|
|
|
4
5
|
export class CustomPropertyInfos {
|
|
5
6
|
id: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CustomPropertyValueInfosDTO } from "./customPropertyValueInfos";
|
|
2
|
+
import { CustomPropertyValueInfos } from "./customPropertyValueInfos";
|
|
2
3
|
|
|
3
4
|
export class CustomPropertyValueDetails extends CustomPropertyValueInfos {
|
|
4
5
|
constructor(params: CustomPropertyValueDetailsDTO) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DashboardDatePresetTranslationDTO } from "./dashboardDatePresetTranslation";
|
|
2
|
+
import { DashboardDatePresetTranslation } from "./dashboardDatePresetTranslation";
|
|
2
3
|
|
|
3
4
|
export class DashboardDatePresetInfos {
|
|
4
5
|
hiddenCode: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DashboardEntityPresetTranslationDTO } from "./dashboardEntityPresetTranslation";
|
|
2
|
-
import { SelectedEntities } from "../enums/sharedEnums";
|
|
1
|
+
import type { DashboardEntityPresetTranslationDTO } from "./dashboardEntityPresetTranslation";
|
|
2
|
+
import type { SelectedEntities } from "../enums/sharedEnums";
|
|
3
3
|
|
|
4
4
|
export interface CreateDashboardEntityPresetDTO {
|
|
5
5
|
hiddenCode: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { DashboardEntityPresetTranslationDTO } from "./dashboardEntityPresetTranslation";
|
|
2
|
+
import { DashboardEntityPresetTranslation } from "./dashboardEntityPresetTranslation";
|
|
3
|
+
import type { SelectedEntities } from "../enums/sharedEnums";
|
|
3
4
|
|
|
4
5
|
export class DashboardEntityPresetInfos {
|
|
5
6
|
hiddenCode: string;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import { AutoRefresh } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { AutoRefresh } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
|
|
3
|
-
import { CreateDashboardEntityPresetDTO,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import type { CreateDashboardEntityPresetDTO, DashboardEntityPresetInfosDTO } from "../dashboardEntityPresets";
|
|
4
|
+
import { DashboardEntityPresetInfos } from "../dashboardEntityPresets";
|
|
5
|
+
import type { CreateDashboardDatePresetDTO, DashboardDatePresetInfosDTO } from "../dashboardDatePresets";
|
|
6
|
+
import { DashboardDatePresetInfos } from "../dashboardDatePresets";
|
|
7
|
+
import type { CreateDashboardVariableDTO, DashboardVariableInfosDTO } from "../dashboardVariables";
|
|
8
|
+
import { DashboardVariableInfos } from "../dashboardVariables";
|
|
9
|
+
import type { DashboardOrganisationTypeInfosDTO } from "./dashboardOrganisationTypeInfos";
|
|
10
|
+
import { DashboardOrganisationTypeInfos } from "./dashboardOrganisationTypeInfos";
|
|
11
|
+
import type { DashboardTranslationDTO } from "../dashboards";
|
|
12
|
+
import { DashboardTranslation } from "../dashboards";
|
|
13
|
+
import type { WidgetInfosDTO } from "../widgets/widgetInfos";
|
|
14
|
+
import { WidgetInfos } from "../widgets/widgetInfos";
|
|
15
|
+
import type { CreateWidgetDTO } from "../widgets/widgetDetails";
|
|
10
16
|
|
|
11
17
|
export class DashboardOrganisationTypeDetails extends DashboardOrganisationTypeInfos {
|
|
12
18
|
labelDefault: string;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import { AutoRefresh } from "@dative-gpi/foundation-shared-domain/models";
|
|
1
|
+
import type { AutoRefresh } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
2
|
|
|
3
|
-
import { CreateDashboardEntityPresetDTO,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import type { CreateDashboardEntityPresetDTO, DashboardEntityPresetInfosDTO } from "../dashboardEntityPresets";
|
|
4
|
+
import { DashboardEntityPresetInfos } from "../dashboardEntityPresets";
|
|
5
|
+
import type { CreateDashboardDatePresetDTO, DashboardDatePresetInfosDTO } from "../dashboardDatePresets";
|
|
6
|
+
import { DashboardDatePresetInfos } from "../dashboardDatePresets";
|
|
7
|
+
import type { CreateDashboardVariableDTO, DashboardVariableInfosDTO } from "../dashboardVariables";
|
|
8
|
+
import { DashboardVariableInfos } from "../dashboardVariables";
|
|
9
|
+
import type { DashboardOrganisationInfosDTO } from "./dashboardOrganisationInfos";
|
|
10
|
+
import { DashboardOrganisationInfos } from "./dashboardOrganisationInfos";
|
|
11
|
+
import type { DashboardTranslationDTO } from "../dashboards";
|
|
12
|
+
import { DashboardTranslation } from "../dashboards";
|
|
13
|
+
import type { WidgetInfosDTO } from "../widgets/widgetInfos";
|
|
14
|
+
import { WidgetInfos } from "../widgets/widgetInfos";
|
|
15
|
+
import type { PathCrumbDTO } from "../shared/pathCrumb";
|
|
16
|
+
import { PathCrumb } from "../shared/pathCrumb";
|
|
17
|
+
import type { CreateWidgetDTO } from "../widgets/widgetDetails";
|
|
11
18
|
|
|
12
19
|
export class DashboardOrganisationDetails extends DashboardOrganisationInfos {
|
|
13
20
|
labelDefault: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DashboardVariableValueDTO } from "../dashboardVariableValues";
|
|
2
|
+
import { DashboardVariableValue } from "../dashboardVariableValues";
|
|
2
3
|
|
|
3
4
|
export class DashboardShallowVariableInfos {
|
|
4
5
|
hiddenCode: string;
|