@dative-gpi/foundation-shared-domain 0.0.99 → 0.0.101
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/applications/applicationInfos.ts +2 -2
- package/models/authTokens/authTokenInfos.ts +5 -5
- package/models/languages/languageInfos.ts +1 -1
- package/models/organisationTypes/organisationTypeDetails.ts +1 -1
- package/models/organisationTypes/organisationTypeInfos.ts +3 -3
- package/models/organisations/organisationDetails.ts +4 -4
- package/models/organisations/organisationInfos.ts +7 -7
- package/models/timeZones/timeZoneInfos.ts +1 -1
- package/models/users/userDetails.ts +2 -2
- package/models/users/userInfos.ts +3 -3
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export class ApplicationInfos {
|
|
2
2
|
id: string;
|
|
3
3
|
fallbackLanguageCode: string;
|
|
4
|
-
logoId
|
|
4
|
+
logoId: string | null;
|
|
5
5
|
label: string;
|
|
6
6
|
|
|
7
7
|
constructor(params: ApplicationInfosDTO) {
|
|
@@ -15,6 +15,6 @@ export class ApplicationInfos {
|
|
|
15
15
|
export interface ApplicationInfosDTO {
|
|
16
16
|
id: string;
|
|
17
17
|
fallbackLanguageCode: string;
|
|
18
|
-
logoId
|
|
18
|
+
logoId: string | null;
|
|
19
19
|
label: string;
|
|
20
20
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { DatesTools } from "../../tools";
|
|
2
2
|
|
|
3
3
|
export class AuthTokenInfos {
|
|
4
|
-
id
|
|
4
|
+
id: string | null;
|
|
5
5
|
token: string;
|
|
6
|
-
dateMax
|
|
6
|
+
dateMax: number | null;
|
|
7
7
|
|
|
8
8
|
constructor(params: AuthTokenInfosDTO) {
|
|
9
9
|
this.id = params.id;
|
|
10
10
|
this.token = params.token;
|
|
11
11
|
this.dateMax = params.dateMax ?
|
|
12
|
-
DatesTools.utcToEpoch(params.dateMax) :
|
|
12
|
+
DatesTools.utcToEpoch(params.dateMax) : null;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export interface AuthTokenInfosDTO {
|
|
17
|
-
id
|
|
17
|
+
id: string | null;
|
|
18
18
|
token: string;
|
|
19
|
-
dateMax
|
|
19
|
+
dateMax: string | null;
|
|
20
20
|
}
|
|
@@ -2,7 +2,7 @@ import { DashboardType } from "../enums/dashboardEnums";
|
|
|
2
2
|
|
|
3
3
|
export class OrganisationTypeInfos {
|
|
4
4
|
id: string;
|
|
5
|
-
mainDashboardId
|
|
5
|
+
mainDashboardId: string | null;
|
|
6
6
|
mainDashboardType: DashboardType;
|
|
7
7
|
code: string;
|
|
8
8
|
label: string;
|
|
@@ -18,12 +18,12 @@ export class OrganisationTypeInfos {
|
|
|
18
18
|
|
|
19
19
|
export interface OrganisationTypeInfosDTO {
|
|
20
20
|
id: string;
|
|
21
|
-
mainDashboardId
|
|
21
|
+
mainDashboardId: string | null;
|
|
22
22
|
mainDashboardType: DashboardType;
|
|
23
23
|
code: string;
|
|
24
24
|
label: string;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface OrganisationTypeFilters {
|
|
28
|
-
search
|
|
28
|
+
search: string | null;
|
|
29
29
|
}
|
|
@@ -5,7 +5,7 @@ import { DashboardType } from "../enums/dashboardEnums";
|
|
|
5
5
|
export class OrganisationDetails extends OrganisationInfos {
|
|
6
6
|
code: string;
|
|
7
7
|
organisationTypeId: string;
|
|
8
|
-
mainDashboardId
|
|
8
|
+
mainDashboardId: string | null;
|
|
9
9
|
mainDashboardType: DashboardType;
|
|
10
10
|
description: string;
|
|
11
11
|
locationsCount: number;
|
|
@@ -29,7 +29,7 @@ export class OrganisationDetails extends OrganisationInfos {
|
|
|
29
29
|
export interface OrganisationDetailsDTO extends OrganisationInfosDTO {
|
|
30
30
|
code: string;
|
|
31
31
|
organisationTypeId: string;
|
|
32
|
-
mainDashboardId
|
|
32
|
+
mainDashboardId: string | null;
|
|
33
33
|
mainDashboardType: DashboardType;
|
|
34
34
|
description: string;
|
|
35
35
|
locationsCount: number;
|
|
@@ -38,8 +38,8 @@ export interface OrganisationDetailsDTO extends OrganisationInfosDTO {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export interface UpdateOrganisationDTO {
|
|
41
|
-
imageId
|
|
42
|
-
image
|
|
41
|
+
imageId: string | null;
|
|
42
|
+
image: string | null;
|
|
43
43
|
label: string;
|
|
44
44
|
description: string;
|
|
45
45
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export class OrganisationInfos {
|
|
2
2
|
id: string;
|
|
3
|
-
imageId
|
|
3
|
+
imageId: string | null;
|
|
4
4
|
label: string;
|
|
5
5
|
userOrganisationsCount: number;
|
|
6
|
-
adminId
|
|
7
|
-
adminName
|
|
6
|
+
adminId: string | null;
|
|
7
|
+
adminName: string | null;
|
|
8
8
|
|
|
9
9
|
constructor(params: OrganisationInfosDTO) {
|
|
10
10
|
this.id = params.id;
|
|
@@ -18,13 +18,13 @@ export class OrganisationInfos {
|
|
|
18
18
|
|
|
19
19
|
export interface OrganisationInfosDTO {
|
|
20
20
|
id: string;
|
|
21
|
-
imageId
|
|
21
|
+
imageId: string | null;
|
|
22
22
|
label: string;
|
|
23
23
|
userOrganisationsCount: number;
|
|
24
|
-
adminId
|
|
25
|
-
adminName
|
|
24
|
+
adminId: string | null;
|
|
25
|
+
adminName: string | null;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface OrganisationFilters {
|
|
29
|
-
search
|
|
29
|
+
search: string | null;
|
|
30
30
|
}
|
|
@@ -35,8 +35,8 @@ export interface UserDetailsDTO extends UserInfosDTO {
|
|
|
35
35
|
export interface UpdateCurrentUserDTO {
|
|
36
36
|
languageCode: string;
|
|
37
37
|
timeZoneId: string;
|
|
38
|
-
imageId
|
|
39
|
-
image
|
|
38
|
+
imageId: string | null;
|
|
39
|
+
image: string | null;
|
|
40
40
|
allowSms: boolean;
|
|
41
41
|
allowEmails: boolean;
|
|
42
42
|
phoneNumber: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export class UserInfos {
|
|
2
2
|
id: string;
|
|
3
|
-
imageId
|
|
3
|
+
imageId: string | null;
|
|
4
4
|
email: string;
|
|
5
5
|
phoneNumber: string;
|
|
6
6
|
firstName: string;
|
|
@@ -18,7 +18,7 @@ export class UserInfos {
|
|
|
18
18
|
|
|
19
19
|
export interface UserInfosDTO {
|
|
20
20
|
id: string;
|
|
21
|
-
imageId
|
|
21
|
+
imageId: string | null;
|
|
22
22
|
email: string;
|
|
23
23
|
phoneNumber: string;
|
|
24
24
|
firstName: string;
|
|
@@ -26,5 +26,5 @@ export class UserInfos {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface UserFilters {
|
|
29
|
-
search
|
|
29
|
+
search: string | null;
|
|
30
30
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-domain",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.101",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"date-fns": "^3.6.0"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "8ab763942b592e5d46dc629ca95e80cfb7729400"
|
|
16
16
|
}
|