@dative-gpi/foundation-shared-domain 0.0.13 → 0.0.15

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
@@ -1,16 +1,10 @@
1
1
  export * from "./applications";
2
2
  export * from "./authTokens";
3
3
  export * from "./enums"; // No service
4
- export * from "./frequentlyAskedQuestions";
5
4
  export * from "./images";
6
- export * from "./landingPages";
7
5
  export * from "./languages"; // No service
8
- export * from "./layoutPages";
9
- export * from "./legalInformations";
10
6
  export * from "./organisations";
11
7
  export * from "./permissions";
12
- export * from "./securitySettings";
13
8
  export * from "./timeZones";
14
9
  export * from "./translations";
15
- export * from "./userLegalInformations";
16
10
  export * from "./users";
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.13",
4
+ "version": "0.0.15",
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": "c99a5f4be0427449b3b00ef6d467528bae8b1ada"
12
+ "gitHead": "f6e18a1e01b07e70a7a79301ed29bc397dc10749"
13
13
  }
@@ -1,10 +0,0 @@
1
- import { FrequentlyAskedQuestionInfos, FrequentlyAskedQuestionInfosDTO } from "./frequentlyAskedQuestionInfos";
2
-
3
- export class FrequentlyAskedQuestionDetails extends FrequentlyAskedQuestionInfos {
4
- constructor(params: FrequentlyAskedQuestionDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface FrequentlyAskedQuestionDetailsDTO extends FrequentlyAskedQuestionInfosDTO {
10
- }
@@ -1,24 +0,0 @@
1
- export class FrequentlyAskedQuestionInfos {
2
- id: string;
3
- question: string;
4
- answer: string;
5
- position: number;
6
-
7
- constructor(params: FrequentlyAskedQuestionInfosDTO) {
8
- this.id = params.id;
9
- this.question = params.question;
10
- this.answer = params.answer;
11
- this.position = params.position;
12
- }
13
- }
14
-
15
- export interface FrequentlyAskedQuestionInfosDTO {
16
- id: string;
17
- question: string;
18
- answer: string;
19
- position: number;
20
- }
21
-
22
- export interface FrequentlyAskedQuestionFilters {
23
- search?: string;
24
- }
@@ -1,2 +0,0 @@
1
- export * from "./frequentlyAskedQuestionDetails";
2
- export * from "./frequentlyAskedQuestionInfos";
@@ -1,2 +0,0 @@
1
- export * from "./landingPageDetails";
2
- export * from "./landingPageInfos";
@@ -1,10 +0,0 @@
1
- import { LandingPageInfos, LandingPageInfosDTO } from "./landingPageInfos";
2
-
3
- export class LandingPageDetails extends LandingPageInfos {
4
- constructor(params: LandingPageDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface LandingPageDetailsDTO extends LandingPageInfosDTO {
10
- }
@@ -1,50 +0,0 @@
1
- export class LandingPageInfos {
2
- id: string;
3
- backgroundImageId?: string;
4
- backgroundImageBlurHash?: string;
5
- backgroundImageHeight?: number;
6
- backgroundImageWidth?: number;
7
- bannerImageId?: string;
8
- bannerImageBlurHash?: string;
9
- bannerImageHeight?: number;
10
- bannerImageWidth?: number;
11
- title: string;
12
- subTitle: string;
13
- theme: string;
14
- faqLink: string;
15
- signUpLink: string;
16
-
17
- constructor(params: LandingPageInfosDTO) {
18
- this.id = params.id;
19
- this.backgroundImageId = params.backgroundImageId;
20
- this.backgroundImageBlurHash = params.backgroundImageBlurHash;
21
- this.backgroundImageHeight = params.backgroundImageHeight;
22
- this.backgroundImageWidth = params.backgroundImageWidth;
23
- this.bannerImageId = params.bannerImageId;
24
- this.bannerImageBlurHash = params.bannerImageBlurHash;
25
- this.bannerImageHeight = params.bannerImageHeight;
26
- this.bannerImageWidth = params.bannerImageWidth;
27
- this.title = params.title;
28
- this.subTitle = params.subTitle;
29
- this.theme = params.theme;
30
- this.faqLink = params.faqLink;
31
- this.signUpLink = params.signUpLink;
32
- }
33
- }
34
-
35
- export interface LandingPageInfosDTO {
36
- id: string;
37
- backgroundImageId?: string;
38
- backgroundImageBlurHash?: string;
39
- backgroundImageHeight?: number;
40
- backgroundImageWidth?: number;
41
- bannerImageId?: string;
42
- bannerImageBlurHash?: string;
43
- bannerImageHeight?: number;
44
- bannerImageWidth?: number;
45
- title: string;
46
- subTitle: string;
47
- theme: string;
48
- faqLink: string;
49
- signUpLink: string;
50
- }
@@ -1,2 +0,0 @@
1
- export * from "./layoutPageDetails";
2
- export * from "./layoutPageInfos";
@@ -1,10 +0,0 @@
1
- import { LayoutPageInfos, LayoutPageInfosDTO } from "./layoutPageInfos";
2
-
3
- export class LayoutPageDetails extends LayoutPageInfos {
4
- constructor(params: LayoutPageDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface LayoutPageDetailsDTO extends LayoutPageInfosDTO {
10
- }
@@ -1,32 +0,0 @@
1
- export class LayoutPageInfos {
2
- id: string;
3
- bannerImageId?: string;
4
- bannerImageBlurHash?: string;
5
- bannerImageHeight?: number;
6
- bannerImageWidth?: number;
7
- backgroundColor: string;
8
- textColor: string;
9
- gradiantColors: string[];
10
-
11
- constructor(params: LayoutPageInfosDTO) {
12
- this.id = params.id;
13
- this.bannerImageId = params.bannerImageId;
14
- this.bannerImageBlurHash = params.bannerImageBlurHash;
15
- this.bannerImageHeight = params.bannerImageHeight;
16
- this.bannerImageWidth = params.bannerImageWidth;
17
- this.backgroundColor = params.backgroundColor;
18
- this.textColor = params.textColor;
19
- this.gradiantColors = params.gradiantColors?.slice();
20
- }
21
- }
22
-
23
- export interface LayoutPageInfosDTO {
24
- id: string;
25
- bannerImageId?: string;
26
- bannerImageBlurHash?: string;
27
- bannerImageHeight?: number;
28
- bannerImageWidth?: number;
29
- backgroundColor: string;
30
- textColor: string;
31
- gradiantColors: string[];
32
- }
@@ -1,2 +0,0 @@
1
- export * from "./legalInformationDetails";
2
- export * from "./legalInformationInfos";
@@ -1,10 +0,0 @@
1
- import { LegalInformationInfos, 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
- }
@@ -1,17 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- export * from "./securitySettingDetails";
2
- export * from "./securitySettingInfos";
@@ -1,10 +0,0 @@
1
- import { SecuritySettingInfos, SecuritySettingInfosDTO } from "./securitySettingInfos";
2
-
3
- export class SecuritySettingDetails extends SecuritySettingInfos {
4
- constructor(params: SecuritySettingDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface SecuritySettingDetailsDTO extends SecuritySettingInfosDTO {
10
- }
@@ -1,47 +0,0 @@
1
- export class SecuritySettingInfos {
2
- id: string;
3
- useGoogle: boolean;
4
- useFacebook: boolean;
5
- useMicrosoft: boolean;
6
- useLocalAccounts: boolean;
7
- allowSignUp: boolean;
8
- allowedOrganisationTypes: string[];
9
- localPasswordUppercaseMandatory: boolean;
10
- localPasswordLowercaseMandatory: boolean;
11
- localPasswordNumberMandatory: boolean;
12
- localPasswordSpecialCharacterMandatory: boolean;
13
- localPasswordMinimalLength: number;
14
- localPasswordMaximalLength: number;
15
-
16
- constructor(params: SecuritySettingInfosDTO) {
17
- this.id = params.id;
18
- this.useGoogle = params.useGoogle;
19
- this.useFacebook = params.useFacebook;
20
- this.useMicrosoft = params.useMicrosoft;
21
- this.useLocalAccounts = params.useLocalAccounts;
22
- this.allowSignUp = params.allowSignUp;
23
- this.allowedOrganisationTypes = params.allowedOrganisationTypes?.slice();
24
- this.localPasswordUppercaseMandatory = params.localPasswordUppercaseMandatory;
25
- this.localPasswordLowercaseMandatory = params.localPasswordLowercaseMandatory;
26
- this.localPasswordNumberMandatory = params.localPasswordNumberMandatory;
27
- this.localPasswordSpecialCharacterMandatory = params.localPasswordSpecialCharacterMandatory;
28
- this.localPasswordMinimalLength = params.localPasswordMinimalLength;
29
- this.localPasswordMaximalLength = params.localPasswordMaximalLength;
30
- }
31
- }
32
-
33
- export interface SecuritySettingInfosDTO {
34
- id: string;
35
- useGoogle: boolean;
36
- useFacebook: boolean;
37
- useMicrosoft: boolean;
38
- useLocalAccounts: boolean;
39
- allowSignUp: boolean;
40
- allowedOrganisationTypes: string[];
41
- localPasswordUppercaseMandatory: boolean;
42
- localPasswordLowercaseMandatory: boolean;
43
- localPasswordNumberMandatory: boolean;
44
- localPasswordSpecialCharacterMandatory: boolean;
45
- localPasswordMinimalLength: number;
46
- localPasswordMaximalLength: number;
47
- }
@@ -1,2 +0,0 @@
1
- export * from "./userLegalInformationDetails";
2
- export * from "./userLegalInformationInfos";
@@ -1,16 +0,0 @@
1
- import { UserLegalInformationInfos, 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
- acceptGeneralConditions: boolean;
15
- acceptPrivacyPolicy: boolean;
16
- }
@@ -1,14 +0,0 @@
1
- export class UserLegalInformationInfos {
2
- userId: string;
3
- legalInformationId: string;
4
-
5
- constructor(params: UserLegalInformationInfosDTO) {
6
- this.userId = params.userId;
7
- this.legalInformationId = params.legalInformationId;
8
- }
9
- }
10
-
11
- export interface UserLegalInformationInfosDTO {
12
- userId: string;
13
- legalInformationId: string;
14
- }