@ndla/types-taxonomy 1.0.22 → 1.0.23

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.
@@ -344,7 +344,7 @@ export interface ResourceType {
344
344
  /**
345
345
  * Sub resource types
346
346
  */
347
- subtypes: ResourceType[];
347
+ subtypes?: ResourceType[];
348
348
  /**
349
349
  * List of language codes supported by translations
350
350
  */
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.22"
20
+ "version": "1.0.23"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -367,7 +367,7 @@ export interface ResourceType {
367
367
  /**
368
368
  * Sub resource types
369
369
  */
370
- subtypes: ResourceType[];
370
+ subtypes?: ResourceType[];
371
371
  /**
372
372
  * List of language codes supported by translations
373
373
  */