@ndla/types-taxonomy 1.0.39 → 1.0.41

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.
@@ -2162,6 +2162,7 @@ export type components = {
2162
2162
  */
2163
2163
  isPrimary: boolean;
2164
2164
  /**
2165
+ * @deprecated
2165
2166
  * @description The path part of the url for the subject or subtopic connected to this topic
2166
2167
  * @example /subject:1/topic:1
2167
2168
  */
@@ -2657,7 +2658,7 @@ export type components = {
2657
2658
  rootId?: string;
2658
2659
  };
2659
2660
  /** @enum {string} */
2660
- NodeType: "NODE" | "SUBJECT" | "TOPIC" | "RESOURCE" | "PROGRAMME";
2661
+ NodeType: "NODE" | "SUBJECT" | "TOPIC" | "CASE" | "RESOURCE" | "PROGRAMME";
2661
2662
  NodeWithParents: {
2662
2663
  /**
2663
2664
  * @description The stored name of the node
@@ -2920,6 +2921,11 @@ export type components = {
2920
2921
  * @example Lecture
2921
2922
  */
2922
2923
  name: string;
2924
+ /**
2925
+ * Format: int32
2926
+ * @description Order in which the resource type should be sorted among its siblings
2927
+ */
2928
+ order?: number;
2923
2929
  /**
2924
2930
  * Format: uri
2925
2931
  * @description If specified, the new resource type will be a child of the mentioned resource type.
@@ -2943,6 +2949,11 @@ export type components = {
2943
2949
  * @example Lecture
2944
2950
  */
2945
2951
  name: string;
2952
+ /**
2953
+ * Format: int32
2954
+ * @description Internal order of the resource types
2955
+ */
2956
+ order?: number;
2946
2957
  /**
2947
2958
  * Format: uri
2948
2959
  * @example urn:resourcetype:1
@@ -2977,6 +2988,8 @@ export type components = {
2977
2988
  name: {
2978
2989
  [key: string]: string;
2979
2990
  };
2991
+ /** Format: int32 */
2992
+ order?: number;
2980
2993
  parentId?: string;
2981
2994
  };
2982
2995
  /** @description The updated subject. Fields not included will be set to null. */
@@ -3126,6 +3139,8 @@ export type components = {
3126
3139
  id: string;
3127
3140
  /** @description Whether the parent connection is marked as active */
3128
3141
  isActive: boolean;
3142
+ /** @description Whether the root is marked as archived */
3143
+ isArchived: boolean;
3129
3144
  /** @description Whether the parent connection is primary or not */
3130
3145
  isPrimary: boolean;
3131
3146
  /** @description Whether the parent connection is visible or not */