@ndla/types-taxonomy 1.0.14 → 1.0.16

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.
@@ -132,6 +132,10 @@ export interface NodePostPut {
132
132
  * The node is a root node. Default is false. Only used if present.
133
133
  */
134
134
  root?: boolean;
135
+ /**
136
+ * The node is visible. Default is true.
137
+ */
138
+ visible?: boolean;
135
139
  }
136
140
  export interface NodeResource {
137
141
  /**
@@ -674,7 +678,7 @@ export interface VersionPostPut {
674
678
  /**
675
679
  * 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.
676
680
  */
677
- id: string;
681
+ id?: string;
678
682
  /**
679
683
  * If specified, set the locked property to this value.
680
684
  */
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.14"
20
+ "version": "1.0.16"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -142,6 +142,10 @@ export interface NodePostPut {
142
142
  * The node is a root node. Default is false. Only used if present.
143
143
  */
144
144
  root?: boolean;
145
+ /**
146
+ * The node is visible. Default is true.
147
+ */
148
+ visible?: boolean;
145
149
  }
146
150
 
147
151
  export interface NodeResource {
@@ -717,7 +721,7 @@ export interface VersionPostPut {
717
721
  /**
718
722
  * 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.
719
723
  */
720
- id: string;
724
+ id?: string;
721
725
  /**
722
726
  * If specified, set the locked property to this value.
723
727
  */