@ndla/types-taxonomy 1.0.30 → 1.0.32

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.
@@ -261,10 +261,18 @@ export interface NodeSearchBody {
261
261
  * How many results to return per page
262
262
  */
263
263
  pageSize: number;
264
+ /**
265
+ * Id to parent id in context.
266
+ */
267
+ parentId?: string;
264
268
  /**
265
269
  * Query to search names
266
270
  */
267
271
  query?: string;
272
+ /**
273
+ * Id to root id in context.
274
+ */
275
+ rootId?: string;
268
276
  }
269
277
  export interface NodeWithParents extends Node {
270
278
  parents: NodeChild[];
@@ -399,7 +407,7 @@ export interface SubjectPostPut {
399
407
  */
400
408
  contentUri?: string;
401
409
  /**
402
- * 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.
410
+ * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
403
411
  */
404
412
  id?: string;
405
413
  /**
@@ -756,7 +764,7 @@ export interface Version {
756
764
  }
757
765
  export interface VersionPostPut {
758
766
  /**
759
- * 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.
767
+ * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
760
768
  */
761
769
  id?: string;
762
770
  /**
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.30"
20
+ "version": "1.0.32"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -276,10 +276,18 @@ export interface NodeSearchBody {
276
276
  * How many results to return per page
277
277
  */
278
278
  pageSize: number;
279
+ /**
280
+ * Id to parent id in context.
281
+ */
282
+ parentId?: string;
279
283
  /**
280
284
  * Query to search names
281
285
  */
282
286
  query?: string;
287
+ /**
288
+ * Id to root id in context.
289
+ */
290
+ rootId?: string;
283
291
  }
284
292
 
285
293
  export interface NodeWithParents extends Node {
@@ -428,7 +436,7 @@ export interface SubjectPostPut {
428
436
  */
429
437
  contentUri?: string;
430
438
  /**
431
- * 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.
439
+ * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
432
440
  */
433
441
  id?: string;
434
442
  /**
@@ -802,7 +810,7 @@ export interface Version {
802
810
 
803
811
  export interface VersionPostPut {
804
812
  /**
805
- * 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.
813
+ * If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
806
814
  */
807
815
  id?: string;
808
816
  /**