@ndla/types-taxonomy 1.0.30 → 1.0.31

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[];
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.31"
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 {