@dative-gpi/foundation-core-domain 1.0.54 → 1.0.56

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/index.ts CHANGED
@@ -10,20 +10,20 @@ export * from "./connectivityAlerts";
10
10
  export * from "./connectivityScenarios";
11
11
  export * from "./customProperties";
12
12
  export * from "./customPropertyValues";
13
- export * from "./dashboardDatePresets"; // No service
14
- export * from "./dashboardEntityPresets"; // No service
13
+ export * from "./dashboardDatePresets"; // No service
14
+ export * from "./dashboardEntityPresets"; // No service
15
15
  export * from "./dashboardOrganisations";
16
16
  export * from "./dashboardOrganisationTypes";
17
17
  export * from "./dashboards";
18
- export * from "./dashboardShallowDatePresets"; // No service
19
- export * from "./dashboardShallowEntityPresets"; // No service
18
+ export * from "./dashboardShallowDatePresets"; // No service
19
+ export * from "./dashboardShallowEntityPresets"; // No service
20
20
  export * from "./dashboardShallows";
21
- export * from "./dashboardShallowVariables"; // No service
22
- export * from "./dashboardVariables"; // No service
23
- export * from "./dashboardVariableValues"; // No service
21
+ export * from "./dashboardShallowVariables"; // No service
22
+ export * from "./dashboardVariables"; // No service
23
+ export * from "./dashboardVariableValues"; // No service
24
24
  export * from "./dataCategories";
25
25
  export * from "./dataDefinitions";
26
- export * from "./dataDefinitionMappings"; // No service
26
+ export * from "./dataDefinitionMappings"; // No service
27
27
  export * from "./deviceConnectivities";
28
28
  export * from "./deviceOrganisations";
29
29
  export * from "./deviceStatuses";
@@ -33,8 +33,7 @@ export * from "./groups";
33
33
  export * from "./locations";
34
34
  export * from "./manufacturers";
35
35
  export * from "./models";
36
- export * from "./modelStatuses"; // No service
37
- export * from "./notifications";
36
+ export * from "./modelStatuses"; // No service
38
37
  export * from "./organisations";
39
38
  export * from "./permissionCategories";
40
39
  export * from "./roleOrganisations";
@@ -43,14 +42,14 @@ export * from "./routes";
43
42
  export * from "./scenarioDeviceOrganisations";
44
43
  export * from "./scenarioOrganisations";
45
44
  export * from "./scenarioOrganisationTypes";
46
- export * from "./scenarioParameterDeviceOrganisations";
47
- export * from "./scenarios"; // No service
48
- export * from "./shared"; // No service
45
+ export * from "./scenarioParameterDeviceOrganisations"; // No service
46
+ export * from "./scenarios"; // No service
47
+ export * from "./shared"; // No service
49
48
  export * from "./serviceAccountOrganisationAuthTokens";
50
49
  export * from "./serviceAccountOrganisations";
51
50
  export * from "./serviceAccountRoleOrganisations";
52
- export * from "./userOrganisationColumns"; // No service
51
+ export * from "./userOrganisationColumns"; // No service
53
52
  export * from "./userOrganisations";
54
53
  export * from "./userOrganisationTables";
55
- export * from "./widgets"; // No service
54
+ export * from "./widgets"; // No service
56
55
  export * from "./widgetTemplates";
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.54",
4
+ "version": "1.0.56",
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.54",
14
- "@dative-gpi/foundation-shared-services": "1.0.54"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.56",
14
+ "@dative-gpi/foundation-shared-services": "1.0.56"
15
15
  },
16
- "gitHead": "332546e736d95d481dc97c06af935200d8344b2c"
16
+ "gitHead": "c77d95e9a7724fa4a39d94b0b2bd0fa9d4fbdefc"
17
17
  }
@@ -1,2 +0,0 @@
1
- export * from "./notificationDetails";
2
- export * from "./notificationInfos";
@@ -1,10 +0,0 @@
1
- import { NotificationInfos, type NotificationInfosDTO } from "./notificationInfos";
2
-
3
- export class NotificationDetails extends NotificationInfos {
4
- constructor(params: NotificationDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface NotificationDetailsDTO extends NotificationInfosDTO {
10
- }
@@ -1,43 +0,0 @@
1
- import { type Criticity } from "@dative-gpi/foundation-shared-domain/enums";
2
- import { isoToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
3
-
4
- import { type NotificationType } from "@dative-gpi/foundation-shared-domain/enums";
5
-
6
- export class NotificationInfos {
7
- id: string;
8
- title: string;
9
- body: string;
10
- pageUrl: string;
11
- timestamp: number;
12
- criticity: Criticity;
13
- acknowledged: boolean | null;
14
- acknowledgingTimestamp: number | null;
15
-
16
- constructor(params: NotificationInfosDTO) {
17
- this.id = params.id;
18
- this.title = params.title;
19
- this.body = params.body;
20
- this.pageUrl = params.pageUrl;
21
- this.timestamp = isoToEpoch(params.timestamp);
22
- this.criticity = params.criticity as Criticity;
23
- this.acknowledged = params.acknowledged;
24
- this.acknowledgingTimestamp = params.acknowledgingTimestamp ?
25
- isoToEpoch(params.acknowledgingTimestamp) : null;
26
- }
27
- }
28
-
29
- export interface NotificationInfosDTO {
30
- id: string;
31
- title: string;
32
- body: string;
33
- pageUrl: string;
34
- timestamp: string;
35
- criticity: number;
36
- acknowledged: boolean | null;
37
- acknowledgingTimestamp: string | null;
38
- }
39
-
40
- export interface NotificationFilters {
41
- type?: NotificationType | null;
42
- acknowledged?: boolean | null;
43
- }