@ndla/types-backend 0.2.8 → 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.
@@ -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.8"
29
+ "version": "0.2.9"
30
30
  }