@ndla/types-backend 1.0.101 → 1.0.103

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.
@@ -708,7 +708,7 @@ export type components = {
708
708
  * @description The number of search hits to display for each page.
709
709
  */
710
710
  pageSize?: number;
711
- /** @description Only show podcast friendly images. */
711
+ /** @description Only show podcast friendly images. Same width and height, and between 1400 and 3000 pixels. */
712
712
  podcastFriendly?: boolean;
713
713
  /** @description A search context retrieved from the response header of a previous search. */
714
714
  scrollId?: string;
@@ -718,6 +718,26 @@ export type components = {
718
718
  modelReleased?: string[];
719
719
  /** @description Filter editors of the image(s). Multiple values can be specified in a comma separated list. */
720
720
  users?: string[];
721
+ /**
722
+ * Format: int32
723
+ * @description Filter images with width greater than or equal to this value.
724
+ */
725
+ widthFrom?: number;
726
+ /**
727
+ * Format: int32
728
+ * @description Filter images with width less than or equal to this value.
729
+ */
730
+ widthTo?: number;
731
+ /**
732
+ * Format: int32
733
+ * @description Filter images with height greater than or equal to this value.
734
+ */
735
+ heightFrom?: number;
736
+ /**
737
+ * Format: int32
738
+ * @description Filter images with height less than or equal to this value.
739
+ */
740
+ heightTo?: number;
721
741
  };
722
742
  /**
723
743
  * SearchResultDTO
@@ -901,6 +921,14 @@ export interface operations {
901
921
  "model-released"?: string[];
902
922
  /** @description Include inactive images */
903
923
  inactive?: boolean;
924
+ /** @description Filter images with width greater than or equal to this value. */
925
+ "width-from"?: number;
926
+ /** @description Filter images with width less than or equal to this value. */
927
+ "width-to"?: number;
928
+ /** @description Filter images with height greater than or equal to this value. */
929
+ "height-from"?: number;
930
+ /** @description Filter images with height less than or equal to this value. */
931
+ "height-to"?: number;
904
932
  };
905
933
  header?: never;
906
934
  path?: never;
@@ -1475,6 +1503,14 @@ export interface operations {
1475
1503
  users?: string[];
1476
1504
  /** @description Include inactive images */
1477
1505
  inactive?: boolean;
1506
+ /** @description Filter images with width greater than or equal to this value. */
1507
+ "width-from"?: number;
1508
+ /** @description Filter images with width less than or equal to this value. */
1509
+ "width-to"?: number;
1510
+ /** @description Filter images with height greater than or equal to this value. */
1511
+ "height-from"?: number;
1512
+ /** @description Filter images with height less than or equal to this value. */
1513
+ "height-to"?: number;
1478
1514
  };
1479
1515
  header?: never;
1480
1516
  path?: never;
@@ -131,6 +131,26 @@ export type paths = {
131
131
  patch?: never;
132
132
  trace?: never;
133
133
  };
134
+ "/myndla-api/v1/folders/resources/tags": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ /**
142
+ * Fetch all tags that belongs to a user
143
+ * @description Fetch all tags that belongs to a user
144
+ */
145
+ get: operations["getMyndla-apiV1FoldersResourcesTags"];
146
+ put?: never;
147
+ post?: never;
148
+ delete?: never;
149
+ options?: never;
150
+ head?: never;
151
+ patch?: never;
152
+ trace?: never;
153
+ };
134
154
  "/myndla-api/v1/folders/resources/has-favorited": {
135
155
  parameters: {
136
156
  query?: never;
@@ -1730,6 +1750,65 @@ export interface operations {
1730
1750
  };
1731
1751
  };
1732
1752
  };
1753
+ "getMyndla-apiV1FoldersResourcesTags": {
1754
+ parameters: {
1755
+ query?: never;
1756
+ header?: never;
1757
+ path?: never;
1758
+ cookie?: never;
1759
+ };
1760
+ requestBody?: never;
1761
+ responses: {
1762
+ 200: {
1763
+ headers: {
1764
+ [name: string]: unknown;
1765
+ };
1766
+ content: {
1767
+ "application/json": string[];
1768
+ };
1769
+ };
1770
+ 400: {
1771
+ headers: {
1772
+ [name: string]: unknown;
1773
+ };
1774
+ content: {
1775
+ "application/json": components["schemas"]["AllErrors"];
1776
+ };
1777
+ };
1778
+ 401: {
1779
+ headers: {
1780
+ [name: string]: unknown;
1781
+ };
1782
+ content: {
1783
+ "application/json": components["schemas"]["AllErrors"];
1784
+ };
1785
+ };
1786
+ 403: {
1787
+ headers: {
1788
+ [name: string]: unknown;
1789
+ };
1790
+ content: {
1791
+ "application/json": components["schemas"]["AllErrors"];
1792
+ };
1793
+ };
1794
+ 404: {
1795
+ headers: {
1796
+ [name: string]: unknown;
1797
+ };
1798
+ content: {
1799
+ "application/json": components["schemas"]["AllErrors"];
1800
+ };
1801
+ };
1802
+ 500: {
1803
+ headers: {
1804
+ [name: string]: unknown;
1805
+ };
1806
+ content: {
1807
+ "application/json": components["schemas"]["ErrorBody"];
1808
+ };
1809
+ };
1810
+ };
1811
+ };
1733
1812
  "getMyndla-apiV1FoldersResourcesHas-favorited": {
1734
1813
  parameters: {
1735
1814
  query: {
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.101",
35
+ "version": "1.0.103",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }