@dative-gpi/foundation-shared-domain 1.0.164-notificationv2 → 1.0.164-notificationv3
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.
|
@@ -9,7 +9,6 @@ export class NotificationInfos {
|
|
|
9
9
|
body: string;
|
|
10
10
|
pageUrl: string;
|
|
11
11
|
audiences: NotificationAudience[];
|
|
12
|
-
organisationId?: string;
|
|
13
12
|
type: MessageType;
|
|
14
13
|
criticity: Criticity;
|
|
15
14
|
imageId: string | null;
|
|
@@ -28,7 +27,6 @@ export class NotificationInfos {
|
|
|
28
27
|
this.icon = params.icon;
|
|
29
28
|
this.color = params.color;
|
|
30
29
|
this.audiences = params.audiences.map((a: NotificationAudience) => new NotificationAudience(a));
|
|
31
|
-
this.organisationId = params.organisationId;
|
|
32
30
|
this.type = params.type as MessageType;
|
|
33
31
|
this.criticity = params.criticity as Criticity;
|
|
34
32
|
this.timestamp = isoToEpoch(params.timestamp);
|
|
@@ -44,7 +42,6 @@ export interface NotificationInfosDTO {
|
|
|
44
42
|
body: string;
|
|
45
43
|
pageUrl: string;
|
|
46
44
|
audiences: NotificationAudience[];
|
|
47
|
-
organisationId?: string;
|
|
48
45
|
imageId: string | null;
|
|
49
46
|
icon: string;
|
|
50
47
|
color: string;
|
|
@@ -6,7 +6,7 @@ export class OrganisationInfos {
|
|
|
6
6
|
userOrganisationsCount: number;
|
|
7
7
|
adminId: string | null;
|
|
8
8
|
adminName: string | null;
|
|
9
|
-
|
|
9
|
+
currentUserOrganisationId: string | null;
|
|
10
10
|
|
|
11
11
|
constructor(params: OrganisationInfosDTO) {
|
|
12
12
|
this.id = params.id;
|
|
@@ -16,7 +16,7 @@ export class OrganisationInfos {
|
|
|
16
16
|
this.userOrganisationsCount = params.userOrganisationsCount;
|
|
17
17
|
this.adminId = params.adminId;
|
|
18
18
|
this.adminName = params.adminName;
|
|
19
|
-
this.
|
|
19
|
+
this.currentUserOrganisationId = params.currentUserOrganisationId;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -28,7 +28,7 @@ export interface OrganisationInfosDTO {
|
|
|
28
28
|
userOrganisationsCount: number;
|
|
29
29
|
adminId: string | null;
|
|
30
30
|
adminName: string | null;
|
|
31
|
-
|
|
31
|
+
currentUserOrganisationId: string | null;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export interface OrganisationFilters {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-domain",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.164-
|
|
4
|
+
"version": "1.0.164-notificationv3",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"date-fns": "^3.6.0"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "9bf9b150cdf7b8c7466282eaa4ace3cff7d0f68d"
|
|
16
16
|
}
|