@ndla/types-backend 1.0.128 → 1.0.129
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.
- package/build/image-api.d.ts +7 -0
- package/package.json +1 -1
package/build/image-api.d.ts
CHANGED
|
@@ -2237,6 +2237,8 @@ export interface operations {
|
|
|
2237
2237
|
ratio?: number;
|
|
2238
2238
|
/** @description The wanted aspect ratio, defined as width/height. To be used together with the focal parameters. If used the width and height is ignored and derived from the aspect ratio instead. */
|
|
2239
2239
|
language?: string;
|
|
2240
|
+
/** @description Whether the image should be downloaded or not. Only the presence of this parameter is needed. */
|
|
2241
|
+
download?: string;
|
|
2240
2242
|
};
|
|
2241
2243
|
header?: {
|
|
2242
2244
|
/** @description Your app-key. May be omitted to access api anonymously, but rate limiting may apply on anonymous access. */
|
|
@@ -2254,6 +2256,7 @@ export interface operations {
|
|
|
2254
2256
|
headers: {
|
|
2255
2257
|
"Content-Type": string;
|
|
2256
2258
|
"Content-Length": string;
|
|
2259
|
+
"Content-Disposition"?: string;
|
|
2257
2260
|
"Cache-Control": string;
|
|
2258
2261
|
[name: string]: unknown;
|
|
2259
2262
|
};
|
|
@@ -2312,6 +2315,8 @@ export interface operations {
|
|
|
2312
2315
|
ratio?: number;
|
|
2313
2316
|
/** @description The wanted aspect ratio, defined as width/height. To be used together with the focal parameters. If used the width and height is ignored and derived from the aspect ratio instead. */
|
|
2314
2317
|
language?: string;
|
|
2318
|
+
/** @description Whether the image should be downloaded or not. Only the presence of this parameter is needed. */
|
|
2319
|
+
download?: string;
|
|
2315
2320
|
};
|
|
2316
2321
|
header?: {
|
|
2317
2322
|
/** @description Your app-key. May be omitted to access api anonymously, but rate limiting may apply on anonymous access. */
|
|
@@ -2329,6 +2334,7 @@ export interface operations {
|
|
|
2329
2334
|
headers: {
|
|
2330
2335
|
"Content-Type": string;
|
|
2331
2336
|
"Content-Length": string;
|
|
2337
|
+
"Content-Disposition"?: string;
|
|
2332
2338
|
"Cache-Control": string;
|
|
2333
2339
|
[name: string]: unknown;
|
|
2334
2340
|
};
|
|
@@ -2386,6 +2392,7 @@ export interface operations {
|
|
|
2386
2392
|
headers: {
|
|
2387
2393
|
"Content-Type": string;
|
|
2388
2394
|
"Content-Length": string;
|
|
2395
|
+
"Content-Disposition"?: string;
|
|
2389
2396
|
"Cache-Control": string;
|
|
2390
2397
|
[name: string]: unknown;
|
|
2391
2398
|
};
|