@ndla/types-backend 1.0.89 → 1.0.91

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.
@@ -539,7 +539,7 @@ export type components = {
539
539
  * ConfigKey
540
540
  * @enum {string}
541
541
  */
542
- ConfigKey: "LEARNINGPATH_WRITE_RESTRICTED" | "MY_NDLA_WRITE_RESTRICTED";
542
+ ConfigKey: "MY_NDLA_WRITE_RESTRICTED";
543
543
  /**
544
544
  * ConfigMetaDTO
545
545
  * @description Describes configuration value.
@@ -2982,7 +2982,7 @@ export interface operations {
2982
2982
  query?: never;
2983
2983
  header?: never;
2984
2984
  path: {
2985
- /** @description The of configuration value. Can only be one of 'LEARNINGPATH_WRITE_RESTRICTED', 'MY_NDLA_WRITE_RESTRICTED' */
2985
+ /** @description The of configuration value. Can only be one of 'MY_NDLA_WRITE_RESTRICTED' */
2986
2986
  "config-key": components["schemas"]["ConfigKey"];
2987
2987
  };
2988
2988
  cookie?: never;
@@ -3044,7 +3044,7 @@ export interface operations {
3044
3044
  query?: never;
3045
3045
  header?: never;
3046
3046
  path: {
3047
- /** @description The of configuration value. Can only be one of 'LEARNINGPATH_WRITE_RESTRICTED', 'MY_NDLA_WRITE_RESTRICTED' */
3047
+ /** @description The of configuration value. Can only be one of 'MY_NDLA_WRITE_RESTRICTED' */
3048
3048
  "config-key": components["schemas"]["ConfigKey"];
3049
3049
  };
3050
3050
  cookie?: never;
@@ -610,6 +610,10 @@ export type components = {
610
610
  metaImage?: components["schemas"]["MetaImageDTO"];
611
611
  /** @description Url pointing to the resource */
612
612
  url: string;
613
+ /** @description List of nodeIds the resource is connected to */
614
+ nodeIds: string[];
615
+ /** @description Resource-types of this resource, independent of contexts */
616
+ resourceTypes: components["schemas"]["TaxonomyResourceTypeDTO"][];
613
617
  /** @description Primary context of the resource */
614
618
  context?: components["schemas"]["ApiTaxonomyContextDTO"];
615
619
  /** @description Contexts of the resource */
@@ -708,7 +712,7 @@ export type components = {
708
712
  * NodeType
709
713
  * @enum {string}
710
714
  */
711
- NodeType: "NODE" | "SUBJECT" | "TOPIC" | "RESOURCE" | "PROGRAMME";
715
+ NodeType: "NODE" | "SUBJECT" | "TOPIC" | "CASE" | "RESOURCE" | "PROGRAMME";
712
716
  /**
713
717
  * NotFoundWithSupportedLanguages
714
718
  * @description Information about an error
package/package.json CHANGED
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.21.0",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
- "version": "1.0.89",
35
+ "version": "1.0.91",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }