heartraite 1.0.67 → 1.0.69

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,4 +1,3 @@
1
- type UserID = string;
2
1
  export type AMDatingSuggestions = {
3
2
  summary: string;
4
3
  suggestions: AMDatingSuggestion[];
@@ -38,7 +37,7 @@ export type AMLoveLanguage = {
38
37
  };
39
38
  export type AMLoveLanguages = {
40
39
  summary: string;
41
- languages: Record<UserID, AMLoveLanguage[]>;
40
+ languages: AMLoveLanguage[];
42
41
  };
43
42
  export type AMPersonalityTrait = {
44
43
  id: string;
@@ -79,4 +78,3 @@ export type AdvancedMatch = {
79
78
  version: string;
80
79
  created: string;
81
80
  };
82
- export {};
@@ -8,7 +8,7 @@ export type CA = {
8
8
  userId: string;
9
9
  completed: boolean;
10
10
  answers: Record<QuestionId, Answer>;
11
- categoryEvaluations?: Record<CategoryId, CategoryEvaluation>;
11
+ categoryEvaluations: Record<CategoryId, CategoryEvaluation>;
12
12
  };
13
13
  export type CAScore = {
14
14
  created: string;
@@ -1,50 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // export type User = {
4
- // id: string;
5
- // intro: string;
6
- // firstName: string;
7
- // state: string;
8
- // birth: string;
9
- // gender: string;
10
- // interestedIn: string;
11
- // zodiacSign: string;
12
- // images: string[];
13
- // profileInput: ProfileInput;
14
- // lat: number;
15
- // lng: number;
16
- // radius: number;
17
- // geohash: string;
18
- // minAge: number;
19
- // maxAge: number;
20
- // aiSummary?: string;
21
- // attachedSummary: boolean;
22
- // thumbnail: string;
23
- // image: string;
24
- // bankIDVerified: boolean;
25
- // emailNotificationsEnabled: boolean;
26
- // pushNotificationsEnabled: boolean;
27
- // pushNotificationSettings: NotificationSettings;
28
- // registrationReferralAllowed: boolean;
29
- // };
30
- // export type UpdateUserData = {
31
- // intro: string;
32
- // firstName: string;
33
- // state: string;
34
- // birth: string;
35
- // profileInput: ProfileInput;
36
- // lat: number;
37
- // lng: number;
38
- // radius: number;
39
- // geohash: string;
40
- // minAge: number;
41
- // maxAge: number;
42
- // interestedIn: string; // maybe to be removed before release
43
- // attachedSummary: boolean;
44
- // expoPushToken?: string;
45
- // pushNotificationsEnabled: boolean;
46
- // emailNotificationsEnabled: boolean;
47
- // pushNotificationSettings?: NotificationSettings;
48
- // emailNotificationSettings?: NotificationSettings;
49
- // };
50
- // export type ProfileInput = Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,7 +47,7 @@ export type AMLoveLanguage = {
47
47
 
48
48
  export type AMLoveLanguages = {
49
49
  summary: string;
50
- languages: Record<UserID, AMLoveLanguage[]>;
50
+ languages: AMLoveLanguage[];
51
51
  };
52
52
 
53
53
  export type AMPersonalityTrait = {
@@ -11,7 +11,7 @@ export type CA = {
11
11
  userId: string;
12
12
  completed: boolean;
13
13
  answers: Record<QuestionId, Answer>;
14
- categoryEvaluations?: Record<CategoryId, CategoryEvaluation>;
14
+ categoryEvaluations: Record<CategoryId, CategoryEvaluation>;
15
15
  };
16
16
 
17
17
  export type CAScore = {
@@ -54,54 +54,3 @@ export type DatingPreferences = {
54
54
  interestedIn: Gender[];
55
55
  distanceRadius: number;
56
56
  };
57
-
58
- // export type User = {
59
- // id: string;
60
- // intro: string;
61
- // firstName: string;
62
- // state: string;
63
- // birth: string;
64
- // gender: string;
65
- // interestedIn: string;
66
- // zodiacSign: string;
67
- // images: string[];
68
- // profileInput: ProfileInput;
69
- // lat: number;
70
- // lng: number;
71
- // radius: number;
72
- // geohash: string;
73
- // minAge: number;
74
- // maxAge: number;
75
- // aiSummary?: string;
76
- // attachedSummary: boolean;
77
- // thumbnail: string;
78
- // image: string;
79
- // bankIDVerified: boolean;
80
- // emailNotificationsEnabled: boolean;
81
- // pushNotificationsEnabled: boolean;
82
- // pushNotificationSettings: NotificationSettings;
83
- // registrationReferralAllowed: boolean;
84
- // };
85
-
86
- // export type UpdateUserData = {
87
- // intro: string;
88
- // firstName: string;
89
- // state: string;
90
- // birth: string;
91
- // profileInput: ProfileInput;
92
- // lat: number;
93
- // lng: number;
94
- // radius: number;
95
- // geohash: string;
96
- // minAge: number;
97
- // maxAge: number;
98
- // interestedIn: string; // maybe to be removed before release
99
- // attachedSummary: boolean;
100
- // expoPushToken?: string;
101
- // pushNotificationsEnabled: boolean;
102
- // emailNotificationsEnabled: boolean;
103
- // pushNotificationSettings?: NotificationSettings;
104
- // emailNotificationSettings?: NotificationSettings;
105
- // };
106
-
107
- // export type ProfileInput = Record<string, string>;