@ndla/types-taxonomy 1.0.13 → 1.0.14

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.
@@ -343,7 +343,7 @@ export interface SubjectPostPut {
343
343
  /**
344
344
  * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If ommitted, an id will be assigned automatically.
345
345
  */
346
- id: string;
346
+ id?: string;
347
347
  /**
348
348
  * The name of the subject
349
349
  */
@@ -497,7 +497,7 @@ export interface TopicPostPut {
497
497
  /**
498
498
  * If specified, set the id to this value. Must start with urn:topic: and be a valid URI. If omitted, an id will be assigned automatically.
499
499
  */
500
- id: string;
500
+ id?: string;
501
501
  /**
502
502
  * The name of the topic
503
503
  */
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.13"
20
+ "version": "1.0.14"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -370,7 +370,7 @@ export interface SubjectPostPut {
370
370
  /**
371
371
  * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If ommitted, an id will be assigned automatically.
372
372
  */
373
- id: string;
373
+ id?: string;
374
374
  /**
375
375
  * The name of the subject
376
376
  */
@@ -529,7 +529,7 @@ export interface TopicPostPut {
529
529
  /**
530
530
  * If specified, set the id to this value. Must start with urn:topic: and be a valid URI. If omitted, an id will be assigned automatically.
531
531
  */
532
- id: string;
532
+ id?: string;
533
533
  /**
534
534
  * The name of the topic
535
535
  */