heartraite 1.0.42 → 1.0.43
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,11 +1,18 @@
|
|
|
1
|
-
import { FeedbackAgreement } from "../enum";
|
|
1
|
+
import { FeedbackAgreement, Gender } from "../enum";
|
|
2
2
|
type QuestionId = string;
|
|
3
3
|
type CategoryId = string;
|
|
4
|
+
export type Demographics = {
|
|
5
|
+
gender: Gender;
|
|
6
|
+
ageInterval: string;
|
|
7
|
+
relationshipDuration: string;
|
|
8
|
+
relationshipStatus: string;
|
|
9
|
+
appreciatedPartnerTraits: string;
|
|
10
|
+
};
|
|
4
11
|
export type Submission = {
|
|
5
12
|
id: string;
|
|
6
13
|
assessmentId: string;
|
|
7
|
-
introductionSeen: boolean;
|
|
8
14
|
answers: Record<QuestionId, Answer>;
|
|
15
|
+
demographics?: Demographics;
|
|
9
16
|
categoryEvaluations: Record<CategoryId, CategoryEvaluation>;
|
|
10
17
|
lastUpdated: string;
|
|
11
18
|
created: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { FeedbackAgreement } from "../enum";
|
|
1
|
+
import { FeedbackAgreement, Gender } from "../enum";
|
|
2
2
|
|
|
3
3
|
type QuestionId = string;
|
|
4
4
|
type CategoryId = string;
|
|
5
5
|
|
|
6
|
+
export type Demographics = {
|
|
7
|
+
gender: Gender;
|
|
8
|
+
ageInterval: string;
|
|
9
|
+
relationshipDuration: string;
|
|
10
|
+
relationshipStatus: string;
|
|
11
|
+
appreciatedPartnerTraits: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
6
14
|
export type Submission = {
|
|
7
15
|
id: string;
|
|
8
16
|
assessmentId: string;
|
|
9
|
-
introductionSeen: boolean;
|
|
10
17
|
answers: Record<QuestionId, Answer>;
|
|
18
|
+
demographics?: Demographics;
|
|
11
19
|
categoryEvaluations: Record<CategoryId, CategoryEvaluation>;
|
|
12
20
|
lastUpdated: string;
|
|
13
21
|
created: string;
|