heartraite 1.0.26 → 1.0.28

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,3 +1,4 @@
1
+ import { MatchCompatibility } from "./matchmaking.types";
1
2
  import { PLSScore } from "./pls.types";
2
3
  import { Submission } from "./submission.types";
3
4
  type SubmissionId = string;
@@ -5,11 +6,11 @@ export type Assessment = {
5
6
  id: string;
6
7
  created: string;
7
8
  createdBy: string;
8
- intimateTopics: boolean;
9
9
  version: string;
10
10
  };
11
11
  export type FullAssessment = Assessment & {
12
12
  submissions: Submission[];
13
13
  scores?: Record<SubmissionId, PLSScore>;
14
+ compatibility?: MatchCompatibility;
14
15
  };
15
16
  export {};
@@ -91,9 +91,7 @@ export type SubmitPLSCategoryFeedbackRequest = {
91
91
  evaluationReflection: string;
92
92
  additionalThoughts: string;
93
93
  };
94
- export type CreatePLSAssessmentRequest = {
95
- intimateTopics: boolean;
96
- };
94
+ export type CreatePLSAssessmentRequest = undefined;
97
95
  export type GetPLSAssessmentRequest = {
98
96
  id: string;
99
97
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +1,4 @@
1
+ import { MatchCompatibility } from "./matchmaking.types";
1
2
  import { PLSScore } from "./pls.types";
2
3
  import { Submission } from "./submission.types";
3
4
 
@@ -7,11 +8,11 @@ export type Assessment = {
7
8
  id: string;
8
9
  created: string;
9
10
  createdBy: string;
10
- intimateTopics: boolean;
11
11
  version: string;
12
12
  };
13
13
 
14
14
  export type FullAssessment = Assessment & {
15
15
  submissions: Submission[];
16
16
  scores?: Record<SubmissionId, PLSScore>;
17
+ compatibility?: MatchCompatibility;
17
18
  };
@@ -86,7 +86,7 @@ export type SubmitPLSCategoryFeedbackRequest = {
86
86
  evaluationReflection: string;
87
87
  additionalThoughts: string;
88
88
  };
89
- export type CreatePLSAssessmentRequest = { intimateTopics: boolean };
89
+ export type CreatePLSAssessmentRequest = undefined;
90
90
  export type GetPLSAssessmentRequest = { id: string };
91
91
 
92
92
  // rating