@dative-gpi/foundation-core-domain 0.0.111 → 0.0.112
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.
|
@@ -2,35 +2,38 @@ import { RoleOrganisationInfos, RoleOrganisationInfosDTO } from "./roleOrganisat
|
|
|
2
2
|
import { RoleType } from "../enums/roleEnums";
|
|
3
3
|
|
|
4
4
|
export class RoleOrganisationDetails extends RoleOrganisationInfos {
|
|
5
|
-
|
|
5
|
+
description: string;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
constructor(params: RoleOrganisationDetailsDTO) {
|
|
8
|
+
super(params);
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
this.description = params.description;
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export interface RoleOrganisationDetailsDTO extends RoleOrganisationInfosDTO {
|
|
15
|
-
|
|
15
|
+
description: string;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface CreateRoleOrganisationDTO {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
roleTemplateType: RoleType;
|
|
20
|
+
roleTemplateId: string | null;
|
|
21
|
+
userType: number;
|
|
22
|
+
icon: string;
|
|
23
|
+
code: string;
|
|
24
|
+
label: string;
|
|
25
|
+
description: string;
|
|
26
|
+
tags: string[];
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export interface UpdateRoleOrganisationDTO {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
icon: string;
|
|
31
|
+
code: string;
|
|
32
|
+
label: string;
|
|
33
|
+
description: string;
|
|
34
|
+
tags: string[];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface UpdateRoleOrganisationPermissionsDTO {
|
|
38
|
+
permissionsIds: string[];
|
|
36
39
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-domain",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.112",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"main": "index.ts",
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "199459dde27ef496bc06d7c5a74e56892fc32bbd"
|
|
13
13
|
}
|