@ndla/types-backend 1.0.125 → 1.0.127

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.
@@ -273,7 +273,7 @@ export type components = {
273
273
  query?: string;
274
274
  /** @description The ISO 639-1 language code describing language used in query-params */
275
275
  language?: string;
276
- /** @description Return only articles with provided license. */
276
+ /** @description Return only articles with provided license. Specifying 'all' gives all articles regardless of license. */
277
277
  license?: string;
278
278
  /**
279
279
  * Format: int32
@@ -628,7 +628,7 @@ export type components = {
628
628
  SearchParamsDTO: {
629
629
  /** @description Return only audio with titles, alt-texts or tags matching the specified query. */
630
630
  query?: string;
631
- /** @description Return only audio with provided license. */
631
+ /** @description Return only audio with provided license. Specifying 'all' gives all audio regardless of license. */
632
632
  license?: string;
633
633
  /** @description The ISO 639-1 language code describing language used in query-params */
634
634
  language?: string;
@@ -914,7 +914,7 @@ export interface operations {
914
914
  query?: string;
915
915
  /** @description The ISO 639-1 language code describing language. */
916
916
  language?: string;
917
- /** @description Return only audio with provided license. */
917
+ /** @description Return only audio with provided license. Specifying 'all' gives all audio regardless of license. */
918
918
  license?: string;
919
919
  /**
920
920
  * @description The sorting used on results.
@@ -697,7 +697,7 @@ export type components = {
697
697
  query?: string;
698
698
  /** @description The ISO 639-1 language code describing language used in query-params */
699
699
  language?: string;
700
- /** @description Return only articles with provided license. */
700
+ /** @description Return only articles with provided license. Specifying 'all' gives all articles regardless of license. */
701
701
  license?: string;
702
702
  /**
703
703
  * Format: int32
@@ -1634,7 +1634,7 @@ export interface operations {
1634
1634
  ids?: number[];
1635
1635
  /** @description The ISO 639-1 language code describing language. */
1636
1636
  language?: string;
1637
- /** @description Return only results with provided license. */
1637
+ /** @description Return only results with provided license. Specifying 'all' gives all results regardless of license. */
1638
1638
  license?: string;
1639
1639
  /** @description The page number of the search hits to display. */
1640
1640
  page?: number;
@@ -688,7 +688,7 @@ export type components = {
688
688
  SearchParamsDTO: {
689
689
  /** @description Return only images with titles, alt-texts or tags matching the specified query. */
690
690
  query?: string;
691
- /** @description Return only images with provided license. */
691
+ /** @description Return only images with provided license. Specifying 'all' gives all images regardless of license. */
692
692
  license?: string;
693
693
  /** @description The ISO 639-1 language code describing language used in query-params */
694
694
  language?: string;
@@ -937,7 +937,7 @@ export interface operations {
937
937
  language?: string;
938
938
  /** @description Fallback to existing language if language is specified. */
939
939
  fallback?: boolean;
940
- /** @description Return only images with provided license. */
940
+ /** @description Return only images with provided license. Specifying 'all' gives all images regardless of license. */
941
941
  license?: string;
942
942
  /**
943
943
  * @description The sorting used on results.
@@ -1510,7 +1510,7 @@ export interface operations {
1510
1510
  language?: string;
1511
1511
  /** @description Fallback to existing language if language is specified. */
1512
1512
  fallback?: boolean;
1513
- /** @description Return only images with provided license. */
1513
+ /** @description Return only images with provided license. Specifying 'all' gives all images regardless of license. */
1514
1514
  license?: string;
1515
1515
  /**
1516
1516
  * @deprecated
@@ -2232,6 +2232,9 @@ export interface operations {
2232
2232
  responses: {
2233
2233
  200: {
2234
2234
  headers: {
2235
+ "Content-Type": string;
2236
+ "Content-Length": string;
2237
+ "Cache-Control": string;
2235
2238
  [name: string]: unknown;
2236
2239
  };
2237
2240
  content: {
@@ -2304,6 +2307,9 @@ export interface operations {
2304
2307
  responses: {
2305
2308
  200: {
2306
2309
  headers: {
2310
+ "Content-Type": string;
2311
+ "Content-Length": string;
2312
+ "Cache-Control": string;
2307
2313
  [name: string]: unknown;
2308
2314
  };
2309
2315
  content: {
@@ -224,7 +224,7 @@ export type components = {
224
224
  ids?: number[];
225
225
  /** @description Return only resources of specific type(s). */
226
226
  resourceTypes?: string[];
227
- /** @description Return only results with provided license. */
227
+ /** @description Return only results with provided license. Specifying 'all' gives all results regardless of license. */
228
228
  license?: string;
229
229
  /** @description Return only results with content matching the specified query. */
230
230
  query?: string;
@@ -855,7 +855,7 @@ export type components = {
855
855
  fallback?: boolean;
856
856
  /** @description The ISO 639-1 language code describing language. */
857
857
  language?: string;
858
- /** @description Return only results with provided license. */
858
+ /** @description Return only results with provided license. Specifying 'all' gives all results regardless of license. */
859
859
  license?: string;
860
860
  sort?: components["schemas"]["Sort"];
861
861
  /** @description Return only learning resources that have one of the provided ids. */
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.125",
36
+ "version": "1.0.127",
37
37
  "packageManager": "yarn@4.10.3"
38
38
  }