heartraite 1.0.43 → 1.0.44

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.
@@ -6,6 +6,7 @@ export * from "./like.enum";
6
6
  export * from "./match.enum";
7
7
  export * from "./report.enum";
8
8
  export * from "./gender.enum";
9
+ export * from "./pls.enum";
9
10
  export * from "./provider.enum";
10
11
  export * from "./state.enum";
11
12
  export * from "./notification.enum";
@@ -22,6 +22,7 @@ __exportStar(require("./like.enum"), exports);
22
22
  __exportStar(require("./match.enum"), exports);
23
23
  __exportStar(require("./report.enum"), exports);
24
24
  __exportStar(require("./gender.enum"), exports);
25
+ __exportStar(require("./pls.enum"), exports);
25
26
  __exportStar(require("./provider.enum"), exports);
26
27
  __exportStar(require("./state.enum"), exports);
27
28
  __exportStar(require("./notification.enum"), exports);
@@ -0,0 +1,24 @@
1
+ export declare enum PLSAgeInterval {
2
+ EIGHTEEN_TO_TWENTY_FOUR = "18-24",
3
+ TWENTY_FIVE_TO_THIRTY_ONE = "25-31",
4
+ THIRTY_TWO_TO_THIRTY_EIGHT = "32-38",
5
+ THIRTY_NINE_TO_FORTY_FIVE = "39-45",
6
+ FORTY_SIX_TO_FIFTY_TWO = "46-52",
7
+ FIFTY_THREE_TO_FIFTY_NINE = "53-59",
8
+ SIXTY_PLUS = "60+"
9
+ }
10
+ export declare enum PLSRelationshipDuration {
11
+ LESS_THAN_SIX_MONTHS = "less_than_six_months",
12
+ SIX_TO_TWELVE_MONTHS = "six_to_twelve_months",
13
+ ONE_TO_THREE_YEARS = "one_to_three_years",
14
+ FOUR_TO_SIX_YEARS = "four_to_six_years",
15
+ SEVEN_TO_TEN_YEARS = "seven_to_ten_years",
16
+ MORE_THAN_TEN_YEARS = "more_than_ten_years"
17
+ }
18
+ export declare enum PLSRelationshipStatus {
19
+ OPEN_RELATIONSHIP = "open_relationship",
20
+ LIVING_TOGETHER = "living_together",
21
+ ENGAGED = "engaged",
22
+ MARRIED = "married",
23
+ PARTNERS_BUT_NOT_LIVING_TOGETHER = "partners_but_not_living_together"
24
+ }
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PLSRelationshipStatus = exports.PLSRelationshipDuration = exports.PLSAgeInterval = void 0;
4
+ var PLSAgeInterval;
5
+ (function (PLSAgeInterval) {
6
+ PLSAgeInterval["EIGHTEEN_TO_TWENTY_FOUR"] = "18-24";
7
+ PLSAgeInterval["TWENTY_FIVE_TO_THIRTY_ONE"] = "25-31";
8
+ PLSAgeInterval["THIRTY_TWO_TO_THIRTY_EIGHT"] = "32-38";
9
+ PLSAgeInterval["THIRTY_NINE_TO_FORTY_FIVE"] = "39-45";
10
+ PLSAgeInterval["FORTY_SIX_TO_FIFTY_TWO"] = "46-52";
11
+ PLSAgeInterval["FIFTY_THREE_TO_FIFTY_NINE"] = "53-59";
12
+ PLSAgeInterval["SIXTY_PLUS"] = "60+";
13
+ })(PLSAgeInterval || (exports.PLSAgeInterval = PLSAgeInterval = {}));
14
+ var PLSRelationshipDuration;
15
+ (function (PLSRelationshipDuration) {
16
+ PLSRelationshipDuration["LESS_THAN_SIX_MONTHS"] = "less_than_six_months";
17
+ PLSRelationshipDuration["SIX_TO_TWELVE_MONTHS"] = "six_to_twelve_months";
18
+ PLSRelationshipDuration["ONE_TO_THREE_YEARS"] = "one_to_three_years";
19
+ PLSRelationshipDuration["FOUR_TO_SIX_YEARS"] = "four_to_six_years";
20
+ PLSRelationshipDuration["SEVEN_TO_TEN_YEARS"] = "seven_to_ten_years";
21
+ PLSRelationshipDuration["MORE_THAN_TEN_YEARS"] = "more_than_ten_years";
22
+ })(PLSRelationshipDuration || (exports.PLSRelationshipDuration = PLSRelationshipDuration = {}));
23
+ var PLSRelationshipStatus;
24
+ (function (PLSRelationshipStatus) {
25
+ PLSRelationshipStatus["OPEN_RELATIONSHIP"] = "open_relationship";
26
+ PLSRelationshipStatus["LIVING_TOGETHER"] = "living_together";
27
+ PLSRelationshipStatus["ENGAGED"] = "engaged";
28
+ PLSRelationshipStatus["MARRIED"] = "married";
29
+ PLSRelationshipStatus["PARTNERS_BUT_NOT_LIVING_TOGETHER"] = "partners_but_not_living_together";
30
+ })(PLSRelationshipStatus || (exports.PLSRelationshipStatus = PLSRelationshipStatus = {}));
@@ -1,11 +1,11 @@
1
- import { FeedbackAgreement, Gender } from "../enum";
1
+ import { FeedbackAgreement, Gender, PLSAgeInterval, PLSRelationshipDuration, PLSRelationshipStatus } from "../enum";
2
2
  type QuestionId = string;
3
3
  type CategoryId = string;
4
4
  export type Demographics = {
5
5
  gender: Gender;
6
- ageInterval: string;
7
- relationshipDuration: string;
8
- relationshipStatus: string;
6
+ ageInterval: PLSAgeInterval;
7
+ relationshipDuration: PLSRelationshipDuration;
8
+ relationshipStatus: PLSRelationshipStatus;
9
9
  appreciatedPartnerTraits: string;
10
10
  };
11
11
  export type Submission = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/enum/index.ts CHANGED
@@ -6,6 +6,7 @@ export * from "./like.enum";
6
6
  export * from "./match.enum";
7
7
  export * from "./report.enum";
8
8
  export * from "./gender.enum";
9
+ export * from "./pls.enum";
9
10
  export * from "./provider.enum";
10
11
  export * from "./state.enum";
11
12
  export * from "./notification.enum";
@@ -0,0 +1,26 @@
1
+ export enum PLSAgeInterval {
2
+ EIGHTEEN_TO_TWENTY_FOUR = "18-24",
3
+ TWENTY_FIVE_TO_THIRTY_ONE = "25-31",
4
+ THIRTY_TWO_TO_THIRTY_EIGHT = "32-38",
5
+ THIRTY_NINE_TO_FORTY_FIVE = "39-45",
6
+ FORTY_SIX_TO_FIFTY_TWO = "46-52",
7
+ FIFTY_THREE_TO_FIFTY_NINE = "53-59",
8
+ SIXTY_PLUS = "60+",
9
+ }
10
+
11
+ export enum PLSRelationshipDuration {
12
+ LESS_THAN_SIX_MONTHS = "less_than_six_months",
13
+ SIX_TO_TWELVE_MONTHS = "six_to_twelve_months",
14
+ ONE_TO_THREE_YEARS = "one_to_three_years",
15
+ FOUR_TO_SIX_YEARS = "four_to_six_years",
16
+ SEVEN_TO_TEN_YEARS = "seven_to_ten_years",
17
+ MORE_THAN_TEN_YEARS = "more_than_ten_years",
18
+ }
19
+
20
+ export enum PLSRelationshipStatus {
21
+ OPEN_RELATIONSHIP = "open_relationship",
22
+ LIVING_TOGETHER = "living_together",
23
+ ENGAGED = "engaged",
24
+ MARRIED = "married",
25
+ PARTNERS_BUT_NOT_LIVING_TOGETHER = "partners_but_not_living_together",
26
+ }
@@ -1,13 +1,19 @@
1
- import { FeedbackAgreement, Gender } from "../enum";
1
+ import {
2
+ FeedbackAgreement,
3
+ Gender,
4
+ PLSAgeInterval,
5
+ PLSRelationshipDuration,
6
+ PLSRelationshipStatus,
7
+ } from "../enum";
2
8
 
3
9
  type QuestionId = string;
4
10
  type CategoryId = string;
5
11
 
6
12
  export type Demographics = {
7
13
  gender: Gender;
8
- ageInterval: string;
9
- relationshipDuration: string;
10
- relationshipStatus: string;
14
+ ageInterval: PLSAgeInterval;
15
+ relationshipDuration: PLSRelationshipDuration;
16
+ relationshipStatus: PLSRelationshipStatus;
11
17
  appreciatedPartnerTraits: string;
12
18
  };
13
19