@ndla/types-taxonomy 1.0.39 → 1.0.40

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.
@@ -2657,7 +2657,7 @@ export type components = {
2657
2657
  rootId?: string;
2658
2658
  };
2659
2659
  /** @enum {string} */
2660
- NodeType: "NODE" | "SUBJECT" | "TOPIC" | "RESOURCE" | "PROGRAMME";
2660
+ NodeType: "NODE" | "SUBJECT" | "TOPIC" | "CASE" | "RESOURCE" | "PROGRAMME";
2661
2661
  NodeWithParents: {
2662
2662
  /**
2663
2663
  * @description The stored name of the node
@@ -2920,6 +2920,11 @@ export type components = {
2920
2920
  * @example Lecture
2921
2921
  */
2922
2922
  name: string;
2923
+ /**
2924
+ * Format: int32
2925
+ * @description Order in which the resource type should be sorted among its siblings
2926
+ */
2927
+ order?: number;
2923
2928
  /**
2924
2929
  * Format: uri
2925
2930
  * @description If specified, the new resource type will be a child of the mentioned resource type.
@@ -2943,6 +2948,11 @@ export type components = {
2943
2948
  * @example Lecture
2944
2949
  */
2945
2950
  name: string;
2951
+ /**
2952
+ * Format: int32
2953
+ * @description Internal order of the resource types
2954
+ */
2955
+ order?: number;
2946
2956
  /**
2947
2957
  * Format: uri
2948
2958
  * @example urn:resourcetype:1
@@ -2977,6 +2987,8 @@ export type components = {
2977
2987
  name: {
2978
2988
  [key: string]: string;
2979
2989
  };
2990
+ /** Format: int32 */
2991
+ order?: number;
2980
2992
  parentId?: string;
2981
2993
  };
2982
2994
  /** @description The updated subject. Fields not included will be set to null. */