@ndla/types-taxonomy 1.0.29 → 1.0.30

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.
@@ -44,7 +44,7 @@ export interface Node {
44
44
  * The type of node
45
45
  */
46
46
  nodeType: NodeType;
47
- path: string;
47
+ path?: string;
48
48
  paths: string[];
49
49
  /**
50
50
  * Quality evaluation of the article
@@ -549,7 +549,7 @@ export interface TaxonomyContext {
549
549
  /**
550
550
  * Pretty-url of this particular context
551
551
  */
552
- url?: string;
552
+ url: string;
553
553
  }
554
554
  export interface TaxonomyCrumb {
555
555
  /**
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.29"
20
+ "version": "1.0.30"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -50,7 +50,7 @@ export interface Node {
50
50
  * The type of node
51
51
  */
52
52
  nodeType: NodeType;
53
- path: string;
53
+ path?: string;
54
54
  paths: string[];
55
55
  /**
56
56
  * Quality evaluation of the article
@@ -582,7 +582,7 @@ export interface TaxonomyContext {
582
582
  /**
583
583
  * Pretty-url of this particular context
584
584
  */
585
- url?: string;
585
+ url: string;
586
586
  }
587
587
 
588
588
  export interface TaxonomyCrumb {