@ndla/types-backend 1.0.126 → 1.0.128
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 +83 -0
- package/build/taxonomy-api.d.ts +3766 -3901
- package/package.json +1 -1
package/build/image-api.d.ts
CHANGED
|
@@ -352,6 +352,26 @@ export type paths = {
|
|
|
352
352
|
patch?: never;
|
|
353
353
|
trace?: never;
|
|
354
354
|
};
|
|
355
|
+
"/image-api/raw/{image_name}/{variant_size}": {
|
|
356
|
+
parameters: {
|
|
357
|
+
query?: never;
|
|
358
|
+
header?: never;
|
|
359
|
+
path?: never;
|
|
360
|
+
cookie?: never;
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Fetch an image variant
|
|
364
|
+
* @description Fetches a specific image variant size
|
|
365
|
+
*/
|
|
366
|
+
get: operations["getImage-apiRawImage_nameVariant_size"];
|
|
367
|
+
put?: never;
|
|
368
|
+
post?: never;
|
|
369
|
+
delete?: never;
|
|
370
|
+
options?: never;
|
|
371
|
+
head?: never;
|
|
372
|
+
patch?: never;
|
|
373
|
+
trace?: never;
|
|
374
|
+
};
|
|
355
375
|
};
|
|
356
376
|
export type webhooks = Record<string, never>;
|
|
357
377
|
export type components = {
|
|
@@ -2232,6 +2252,9 @@ export interface operations {
|
|
|
2232
2252
|
responses: {
|
|
2233
2253
|
200: {
|
|
2234
2254
|
headers: {
|
|
2255
|
+
"Content-Type": string;
|
|
2256
|
+
"Content-Length": string;
|
|
2257
|
+
"Cache-Control": string;
|
|
2235
2258
|
[name: string]: unknown;
|
|
2236
2259
|
};
|
|
2237
2260
|
content: {
|
|
@@ -2304,6 +2327,66 @@ export interface operations {
|
|
|
2304
2327
|
responses: {
|
|
2305
2328
|
200: {
|
|
2306
2329
|
headers: {
|
|
2330
|
+
"Content-Type": string;
|
|
2331
|
+
"Content-Length": string;
|
|
2332
|
+
"Cache-Control": string;
|
|
2333
|
+
[name: string]: unknown;
|
|
2334
|
+
};
|
|
2335
|
+
content: {
|
|
2336
|
+
"application/octet-stream": Blob;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
400: {
|
|
2340
|
+
headers: {
|
|
2341
|
+
[name: string]: unknown;
|
|
2342
|
+
};
|
|
2343
|
+
content: {
|
|
2344
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2345
|
+
};
|
|
2346
|
+
};
|
|
2347
|
+
404: {
|
|
2348
|
+
headers: {
|
|
2349
|
+
[name: string]: unknown;
|
|
2350
|
+
};
|
|
2351
|
+
content: {
|
|
2352
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2353
|
+
};
|
|
2354
|
+
};
|
|
2355
|
+
default: {
|
|
2356
|
+
headers: {
|
|
2357
|
+
[name: string]: unknown;
|
|
2358
|
+
};
|
|
2359
|
+
content: {
|
|
2360
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
};
|
|
2365
|
+
"getImage-apiRawImage_nameVariant_size": {
|
|
2366
|
+
parameters: {
|
|
2367
|
+
query?: never;
|
|
2368
|
+
header?: never;
|
|
2369
|
+
path: {
|
|
2370
|
+
/**
|
|
2371
|
+
* @description The name of the image (without file extension)
|
|
2372
|
+
* @example foobar
|
|
2373
|
+
*/
|
|
2374
|
+
image_name: string;
|
|
2375
|
+
/**
|
|
2376
|
+
* @description Image variant size (with file extension)
|
|
2377
|
+
* @example medium.webp
|
|
2378
|
+
*/
|
|
2379
|
+
variant_size: string;
|
|
2380
|
+
};
|
|
2381
|
+
cookie?: never;
|
|
2382
|
+
};
|
|
2383
|
+
requestBody?: never;
|
|
2384
|
+
responses: {
|
|
2385
|
+
200: {
|
|
2386
|
+
headers: {
|
|
2387
|
+
"Content-Type": string;
|
|
2388
|
+
"Content-Length": string;
|
|
2389
|
+
"Cache-Control": string;
|
|
2307
2390
|
[name: string]: unknown;
|
|
2308
2391
|
};
|
|
2309
2392
|
content: {
|