@ndla/types-backend 0.2.7 → 0.2.9

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.
@@ -254,6 +254,7 @@ export interface IUpdatedComment {
254
254
  export interface IUpdatedUserData {
255
255
  savedSearches?: string[];
256
256
  latestEditedArticles?: string[];
257
+ latestEditedConcepts?: string[];
257
258
  favoriteSubjects?: string[];
258
259
  }
259
260
  export interface IUploadedFile {
@@ -266,6 +267,7 @@ export interface IUserData {
266
267
  userId: string;
267
268
  savedSearches?: string[];
268
269
  latestEditedArticles?: string[];
270
+ latestEditedConcepts?: string[];
269
271
  favoriteSubjects?: string[];
270
272
  }
271
273
  export interface IVisualElement {
@@ -1,15 +1,20 @@
1
1
  export interface IApiTaxonomyContext {
2
2
  id: string;
3
+ publicId: string;
3
4
  subject: string;
5
+ root: string;
4
6
  subjectId: string;
7
+ rootId: string;
5
8
  relevance: string;
6
9
  path: string;
7
10
  breadcrumbs: string[];
8
- filters: ITaxonomyContextFilter[];
9
11
  learningResourceType: string;
12
+ contextType: string;
10
13
  resourceTypes: ITaxonomyResourceType[];
11
14
  language: string;
12
15
  isPrimaryConnection: boolean;
16
+ isPrimary: boolean;
17
+ isActive: boolean;
13
18
  }
14
19
  export interface IArticleIntroduction {
15
20
  introduction: string;
@@ -178,11 +183,6 @@ export interface ISuggestOption {
178
183
  text: string;
179
184
  score: number;
180
185
  }
181
- export interface ITaxonomyContextFilter {
182
- id: string;
183
- name: string;
184
- relevance: string;
185
- }
186
186
  export interface ITaxonomyResourceType {
187
187
  id: string;
188
188
  name: string;
package/package.json CHANGED
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typescript": "^5.0.2"
28
28
  },
29
- "version": "0.2.7"
29
+ "version": "0.2.9"
30
30
  }