@ndla/types-backend 1.0.140 → 1.0.142

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.
@@ -1719,19 +1719,19 @@ export type components = {
1719
1719
  Metadata: {
1720
1720
  customFields: {
1721
1721
  [key: string]: string;
1722
- };
1723
- grepCodes: string[];
1724
- visible: boolean;
1722
+ } | null;
1723
+ grepCodes: string[] | null;
1724
+ visible: boolean | null;
1725
1725
  };
1726
1726
  MetadataPUT: {
1727
1727
  /** @description Custom fields, Only updated if present */
1728
1728
  customFields?: {
1729
1729
  [key: string]: string;
1730
- };
1730
+ } | null;
1731
1731
  /** @description Set of grep codes, Only updated if present */
1732
- grepCodes?: string[];
1732
+ grepCodes?: string[] | null;
1733
1733
  /** @description Visibility of the node, Only updated if present */
1734
- visible?: boolean;
1734
+ visible?: boolean | null;
1735
1735
  };
1736
1736
  Node: {
1737
1737
  /**
@@ -2065,6 +2065,8 @@ export type components = {
2065
2065
  nodeType?: components["schemas"]["NodeType"];
2066
2066
  /** @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. */
2067
2067
  qualityEvaluation?: components["schemas"]["QualityEvaluationDTO"];
2068
+ /** @description ResourceType public ids to assign to the node. Only works on create for nodes of type RESOURCE */
2069
+ resourceTypes?: string[];
2068
2070
  /**
2069
2071
  * @deprecated
2070
2072
  * @description The node is a root node. Default is false. Only used if present.
package/package.json CHANGED
@@ -33,6 +33,6 @@
33
33
  "tsx": "^4.21.0",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
- "version": "1.0.140",
36
+ "version": "1.0.142",
37
37
  "packageManager": "yarn@4.10.3"
38
38
  }