@ndla/types-taxonomy 1.0.40 → 1.0.42

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
  */
@@ -2197,10 +2198,6 @@ export type components = {
2197
2198
  /** Format: int32 */
2198
2199
  count: number;
2199
2200
  };
2200
- /** @description The name of the root parent of the context */
2201
- LanguageFieldString: {
2202
- [key: string]: string;
2203
- };
2204
2201
  Metadata: {
2205
2202
  customFields: {
2206
2203
  [key: string]: string;
@@ -2512,7 +2509,7 @@ export type components = {
2512
2509
  * @example topic
2513
2510
  */
2514
2511
  nodeType: components["schemas"]["NodeType"];
2515
- /** @description The quality evaluation of the node. Consist of a score from 1 to 5 and a comment. */
2512
+ /** @description The quality evaluation of the node. Consist of a score from 1 to 5 and a comment. Can be null to remove existing evaluation. */
2516
2513
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
2517
2514
  /**
2518
2515
  * @deprecated
@@ -2750,13 +2747,12 @@ export type components = {
2750
2747
  /** @description A pretty url based on name and context. Empty if no context. */
2751
2748
  url?: string;
2752
2749
  };
2753
- /** @description The quality evaluation of the node. Consist of a score from 1 to 5 and a comment. */
2754
2750
  QualityEvaluationDTO: {
2755
2751
  /** @description The grade (1-5) of the article */
2756
2752
  grade: components["schemas"]["Grade"];
2757
2753
  /** @description Note explaining the score */
2758
2754
  note?: string;
2759
- } | null;
2755
+ };
2760
2756
  Relevance: {
2761
2757
  /**
2762
2758
  * Format: uri
@@ -3138,6 +3134,8 @@ export type components = {
3138
3134
  id: string;
3139
3135
  /** @description Whether the parent connection is marked as active */
3140
3136
  isActive: boolean;
3137
+ /** @description Whether the root is marked as archived */
3138
+ isArchived: boolean;
3141
3139
  /** @description Whether the parent connection is primary or not */
3142
3140
  isPrimary: boolean;
3143
3141
  /** @description Whether the parent connection is visible or not */
@@ -3162,7 +3160,9 @@ export type components = {
3162
3160
  */
3163
3161
  rank: number;
3164
3162
  /** @description Name of the relevance of the parent connection */
3165
- relevance: components["schemas"]["LanguageFieldString"];
3163
+ relevance: {
3164
+ [key: string]: string;
3165
+ };
3166
3166
  /**
3167
3167
  * Format: uri
3168
3168
  * @description Id of the relevance of the parent connection
@@ -3191,7 +3191,9 @@ export type components = {
3191
3191
  */
3192
3192
  id: string;
3193
3193
  /** @description The name of the node */
3194
- name: components["schemas"]["LanguageFieldString"];
3194
+ name: {
3195
+ [key: string]: string;
3196
+ };
3195
3197
  /** @description The context path */
3196
3198
  path: string;
3197
3199
  /** @description The context url */
@@ -6,7 +6,6 @@ export type Context = schemas["Context"];
6
6
  export type ContextPOST = schemas["ContextPOST"];
7
7
  export type Grade = schemas["Grade"];
8
8
  export type GradeAverage = schemas["GradeAverage"];
9
- export type LanguageFieldString = schemas["LanguageFieldString"];
10
9
  export type Metadata = schemas["Metadata"];
11
10
  export type Node = schemas["Node"];
12
11
  export type NodeChild = schemas["NodeChild"];