@ndla/types-taxonomy 1.0.41 → 1.0.43

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.
package/package.json CHANGED
@@ -21,6 +21,6 @@
21
21
  "tsx": "^4.19.3",
22
22
  "typescript": "^5.3.3"
23
23
  },
24
- "version": "1.0.41",
24
+ "version": "1.0.43",
25
25
  "packageManager": "yarn@4.10.3"
26
26
  }
@@ -2198,10 +2198,6 @@ export type components = {
2198
2198
  /** Format: int32 */
2199
2199
  count: number;
2200
2200
  };
2201
- /** @description The name of the root parent of the context */
2202
- LanguageFieldString: {
2203
- [key: string]: string;
2204
- };
2205
2201
  Metadata: {
2206
2202
  customFields: {
2207
2203
  [key: string]: string;
@@ -2513,7 +2509,7 @@ export type components = {
2513
2509
  * @example topic
2514
2510
  */
2515
2511
  nodeType: components["schemas"]["NodeType"];
2516
- /** @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. */
2517
2513
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
2518
2514
  /**
2519
2515
  * @deprecated
@@ -2751,13 +2747,12 @@ export type components = {
2751
2747
  /** @description A pretty url based on name and context. Empty if no context. */
2752
2748
  url?: string;
2753
2749
  };
2754
- /** @description The quality evaluation of the node. Consist of a score from 1 to 5 and a comment. */
2755
2750
  QualityEvaluationDTO: {
2756
2751
  /** @description The grade (1-5) of the article */
2757
2752
  grade: components["schemas"]["Grade"];
2758
2753
  /** @description Note explaining the score */
2759
2754
  note?: string;
2760
- } | null;
2755
+ };
2761
2756
  Relevance: {
2762
2757
  /**
2763
2758
  * Format: uri
@@ -3165,7 +3160,9 @@ export type components = {
3165
3160
  */
3166
3161
  rank: number;
3167
3162
  /** @description Name of the relevance of the parent connection */
3168
- relevance: components["schemas"]["LanguageFieldString"];
3163
+ relevance: {
3164
+ [key: string]: string;
3165
+ };
3169
3166
  /**
3170
3167
  * Format: uri
3171
3168
  * @description Id of the relevance of the parent connection
@@ -3194,7 +3191,9 @@ export type components = {
3194
3191
  */
3195
3192
  id: string;
3196
3193
  /** @description The name of the node */
3197
- name: components["schemas"]["LanguageFieldString"];
3194
+ name: {
3195
+ [key: string]: string;
3196
+ };
3198
3197
  /** @description The context path */
3199
3198
  path: string;
3200
3199
  /** @description The context url */
package/taxonomy-api.ts CHANGED
@@ -8,7 +8,6 @@ export type Context = schemas["Context"];
8
8
  export type ContextPOST = schemas["ContextPOST"];
9
9
  export type Grade = schemas["Grade"];
10
10
  export type GradeAverage = schemas["GradeAverage"];
11
- export type LanguageFieldString = schemas["LanguageFieldString"];
12
11
  export type Metadata = schemas["Metadata"];
13
12
  export type Node = schemas["Node"];
14
13
  export type NodeChild = schemas["NodeChild"];