@ndla/types-backend 1.0.90 → 1.0.92

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.
@@ -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 */
@@ -633,6 +637,13 @@ export type components = {
633
637
  lastUpdated: string;
634
638
  /** @description Describes the license of the resource */
635
639
  license?: string;
640
+ /**
641
+ * Format: int32
642
+ * @description The revision number of the article
643
+ */
644
+ revision?: number;
645
+ /** @description If the article has been edited after last status or responsible change */
646
+ started: boolean;
636
647
  /** @description A list of revisions planned for the article */
637
648
  revisions: components["schemas"]["RevisionMetaDTO"][];
638
649
  responsible?: components["schemas"]["ResponsibleDTO"];
@@ -655,6 +666,8 @@ export type components = {
655
666
  favorited?: number;
656
667
  /** @description Type of the resource */
657
668
  resultType: components["schemas"]["SearchType"];
669
+ /** @description List of codes the resource is tagged with */
670
+ grepCodes: string[];
658
671
  typename: components["schemas"]["MultiSearchSummaryDTO1"];
659
672
  };
660
673
  /**
@@ -708,7 +721,7 @@ export type components = {
708
721
  * NodeType
709
722
  * @enum {string}
710
723
  */
711
- NodeType: "NODE" | "SUBJECT" | "TOPIC" | "RESOURCE" | "PROGRAMME";
724
+ NodeType: "NODE" | "SUBJECT" | "TOPIC" | "CASE" | "RESOURCE" | "PROGRAMME";
712
725
  /**
713
726
  * NotFoundWithSupportedLanguages
714
727
  * @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.90",
35
+ "version": "1.0.92",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }