@ndla/types-taxonomy 1.0.33 → 1.0.34

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.
@@ -31,6 +31,10 @@ export interface Node {
31
31
  * An id unique for this context.
32
32
  */
33
33
  contextId?: string;
34
+ /**
35
+ * A list of all contextids this node has ever had
36
+ */
37
+ contextids: string[];
34
38
  contexts: TaxonomyContext[];
35
39
  /**
36
40
  * A number representing the average grade of all children nodes recursively.
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.33"
20
+ "version": "1.0.34"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -37,6 +37,10 @@ export interface Node {
37
37
  * An id unique for this context.
38
38
  */
39
39
  contextId?: string;
40
+ /**
41
+ * A list of all contextids this node has ever had
42
+ */
43
+ contextids: string[];
40
44
  contexts: TaxonomyContext[];
41
45
  /**
42
46
  * A number representing the average grade of all children nodes recursively.