@rimori/client 2.3.0-next.3 → 2.3.0-next.5

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.
@@ -11,6 +11,7 @@ export interface CreateExerciseParams {
11
11
  name: string;
12
12
  description: string;
13
13
  estimated_duration: number;
14
+ achievement_topic: string;
14
15
  }
15
16
  export interface Exercise {
16
17
  id: string;
@@ -18,6 +19,7 @@ export interface Exercise {
18
19
  start_date: string;
19
20
  end_date: string;
20
21
  trigger_action: TriggerAction;
22
+ achievement_topic: string;
21
23
  name: string;
22
24
  description: string;
23
25
  estimated_duration: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rimori/client",
3
- "version": "2.3.0-next.3",
3
+ "version": "2.3.0-next.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": {
@@ -11,6 +11,7 @@ export interface CreateExerciseParams {
11
11
  name: string;
12
12
  description: string;
13
13
  estimated_duration: number;
14
+ achievement_topic: string; // Required: Topic in format "skillCategory.accomplishmentKeyword" for matching accomplishments
14
15
  }
15
16
 
16
17
  export interface Exercise {
@@ -19,6 +20,8 @@ export interface Exercise {
19
20
  start_date: string;
20
21
  end_date: string;
21
22
  trigger_action: TriggerAction;
23
+ // topic that identifies the accomplishment that the exercise is related to
24
+ achievement_topic: string;
22
25
  name: string;
23
26
  description: string;
24
27
  estimated_duration: number;