heartraite 1.0.66 → 1.0.67

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.
@@ -1,9 +1,17 @@
1
1
  type UserID = string;
2
+ export type AMDatingSuggestions = {
3
+ summary: string;
4
+ suggestions: AMDatingSuggestion[];
5
+ };
2
6
  export type AMDatingSuggestion = {
3
7
  title: string;
4
8
  description: string;
5
9
  };
6
- export type AMIceBreaker = {
10
+ export type AMIcebreakers = {
11
+ summary: string;
12
+ icebreakers: AMIcebreaker[];
13
+ };
14
+ export type AMIcebreaker = {
7
15
  title: string;
8
16
  description: string;
9
17
  };
@@ -14,11 +22,11 @@ export type AMInterest = {
14
22
  export type AMActivity = {
15
23
  name: string;
16
24
  description: string;
17
- category: string;
18
25
  location: string;
19
26
  reasoning: string;
20
27
  };
21
28
  export type AMInterestActivity = {
29
+ summary: string;
22
30
  interests: AMInterest[];
23
31
  activities: AMActivity[];
24
32
  };
@@ -28,6 +36,10 @@ export type AMLoveLanguage = {
28
36
  reasoning: string;
29
37
  tips: string[];
30
38
  };
39
+ export type AMLoveLanguages = {
40
+ summary: string;
41
+ languages: Record<UserID, AMLoveLanguage[]>;
42
+ };
31
43
  export type AMPersonalityTrait = {
32
44
  id: string;
33
45
  examples: string[];
@@ -35,7 +47,7 @@ export type AMPersonalityTrait = {
35
47
  tips: string[];
36
48
  };
37
49
  export type AMPersonality = {
38
- overview: string;
50
+ summary: string;
39
51
  traits: AMPersonalityTrait[];
40
52
  };
41
53
  export type AMStrength = {
@@ -53,15 +65,16 @@ export type AMChallenge = {
53
65
  examples: string[];
54
66
  };
55
67
  export type AMStrengthsAndChallenges = {
68
+ summary: string;
56
69
  strengths: AMStrength[];
57
70
  challenges: AMChallenge[];
58
71
  };
59
72
  export type AdvancedMatch = {
60
- datingSuggestions: AMDatingSuggestion[];
61
- icebreakers: AMIceBreaker[];
73
+ datingSuggestions: AMDatingSuggestions;
74
+ icebreakers: AMIcebreakers;
62
75
  strengthsAndChallenges: AMStrengthsAndChallenges;
63
76
  personality: AMPersonality;
64
- loveLanguages: Record<UserID, AMLoveLanguage[]>;
77
+ loveLanguages: AMLoveLanguages;
65
78
  interestActivity: AMInterestActivity;
66
79
  version: string;
67
80
  created: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,11 +1,21 @@
1
1
  type UserID = string;
2
2
 
3
+ export type AMDatingSuggestions = {
4
+ summary: string;
5
+ suggestions: AMDatingSuggestion[];
6
+ };
7
+
3
8
  export type AMDatingSuggestion = {
4
9
  title: string;
5
10
  description: string;
6
11
  };
7
12
 
8
- export type AMIceBreaker = {
13
+ export type AMIcebreakers = {
14
+ summary: string;
15
+ icebreakers: AMIcebreaker[];
16
+ };
17
+
18
+ export type AMIcebreaker = {
9
19
  title: string;
10
20
  description: string;
11
21
  };
@@ -18,12 +28,12 @@ export type AMInterest = {
18
28
  export type AMActivity = {
19
29
  name: string;
20
30
  description: string;
21
- category: string;
22
31
  location: string;
23
32
  reasoning: string;
24
33
  };
25
34
 
26
35
  export type AMInterestActivity = {
36
+ summary: string;
27
37
  interests: AMInterest[];
28
38
  activities: AMActivity[];
29
39
  };
@@ -35,6 +45,11 @@ export type AMLoveLanguage = {
35
45
  tips: string[];
36
46
  };
37
47
 
48
+ export type AMLoveLanguages = {
49
+ summary: string;
50
+ languages: Record<UserID, AMLoveLanguage[]>;
51
+ };
52
+
38
53
  export type AMPersonalityTrait = {
39
54
  id: string;
40
55
  examples: string[];
@@ -43,7 +58,7 @@ export type AMPersonalityTrait = {
43
58
  };
44
59
 
45
60
  export type AMPersonality = {
46
- overview: string;
61
+ summary: string;
47
62
  traits: AMPersonalityTrait[];
48
63
  };
49
64
 
@@ -64,16 +79,17 @@ export type AMChallenge = {
64
79
  };
65
80
 
66
81
  export type AMStrengthsAndChallenges = {
82
+ summary: string;
67
83
  strengths: AMStrength[];
68
84
  challenges: AMChallenge[];
69
85
  };
70
86
 
71
87
  export type AdvancedMatch = {
72
- datingSuggestions: AMDatingSuggestion[];
73
- icebreakers: AMIceBreaker[];
88
+ datingSuggestions: AMDatingSuggestions;
89
+ icebreakers: AMIcebreakers;
74
90
  strengthsAndChallenges: AMStrengthsAndChallenges;
75
91
  personality: AMPersonality;
76
- loveLanguages: Record<UserID, AMLoveLanguage[]>;
92
+ loveLanguages: AMLoveLanguages;
77
93
  interestActivity: AMInterestActivity;
78
94
  version: string;
79
95
  created: string;