@dative-gpi/foundation-shared-domain 1.0.73 → 1.0.75
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 +4 -2
- package/models/legalInformations/index.ts +2 -0
- package/models/legalInformations/legalInformationDetails.ts +10 -0
- package/models/legalInformations/legalInformationInfos.ts +17 -0
- package/models/userLegalInformations/index.ts +2 -0
- package/models/userLegalInformations/userLegalInformationDetails.ts +14 -0
- package/models/userLegalInformations/userLegalInformationInfos.ts +17 -0
- package/package.json +2 -2
package/models/index.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
export * from "./applications";
|
|
2
2
|
export * from "./authTokens";
|
|
3
3
|
export * from "./images";
|
|
4
|
-
export * from "./languages";
|
|
4
|
+
export * from "./languages"; // No service
|
|
5
|
+
export * from "./legalInformations";
|
|
5
6
|
export * from "./locations";
|
|
6
7
|
export * from "./notifications";
|
|
7
8
|
export * from "./organisations";
|
|
8
|
-
export * from "./organisationTypes";
|
|
9
|
+
export * from "./organisationTypes"; // No service
|
|
9
10
|
export * from "./permissions";
|
|
10
11
|
export * from "./terminals";
|
|
11
12
|
export * from "./timeZones";
|
|
12
13
|
export * from "./translations";
|
|
14
|
+
export * from "./userLegalInformations";
|
|
13
15
|
export * from "./users";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LegalInformationInfos, type LegalInformationInfosDTO } from "./legalInformationInfos";
|
|
2
|
+
|
|
3
|
+
export class LegalInformationDetails extends LegalInformationInfos {
|
|
4
|
+
constructor(params: LegalInformationDetailsDTO) {
|
|
5
|
+
super(params);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface LegalInformationDetailsDTO extends LegalInformationInfosDTO {
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class LegalInformationInfos {
|
|
2
|
+
id: string;
|
|
3
|
+
privacyPolicyId: string;
|
|
4
|
+
generalConditionsId: string;
|
|
5
|
+
|
|
6
|
+
constructor(params: LegalInformationInfosDTO) {
|
|
7
|
+
this.id = params.id;
|
|
8
|
+
this.privacyPolicyId = params.privacyPolicyId;
|
|
9
|
+
this.generalConditionsId = params.generalConditionsId;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface LegalInformationInfosDTO {
|
|
14
|
+
id: string;
|
|
15
|
+
privacyPolicyId: string;
|
|
16
|
+
generalConditionsId: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserLegalInformationInfos, type UserLegalInformationInfosDTO } from "./userLegalInformationInfos";
|
|
2
|
+
|
|
3
|
+
export class UserLegalInformationDetails extends UserLegalInformationInfos {
|
|
4
|
+
constructor(params: UserLegalInformationDetailsDTO) {
|
|
5
|
+
super(params);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface UserLegalInformationDetailsDTO extends UserLegalInformationInfosDTO {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface CreateUserLegalInformationDTO {
|
|
13
|
+
legalInformationId: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export class UserLegalInformationInfos {
|
|
2
|
+
id: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
legalInformationId: string;
|
|
5
|
+
|
|
6
|
+
constructor(params: UserLegalInformationInfosDTO) {
|
|
7
|
+
this.id = params.id;
|
|
8
|
+
this.userId = params.userId;
|
|
9
|
+
this.legalInformationId = params.legalInformationId;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface UserLegalInformationInfosDTO {
|
|
14
|
+
id: string;
|
|
15
|
+
userId: string;
|
|
16
|
+
legalInformationId: string;
|
|
17
|
+
}
|
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.
|
|
4
|
+
"version": "1.0.75",
|
|
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": "ef20cc0c223aabf078f1383104e2651a9f6b290c"
|
|
16
16
|
}
|