@ndla/types-backend 1.0.127 → 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 +77 -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 = {
|
|
@@ -2342,4 +2362,61 @@ export interface operations {
|
|
|
2342
2362
|
};
|
|
2343
2363
|
};
|
|
2344
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;
|
|
2390
|
+
[name: string]: unknown;
|
|
2391
|
+
};
|
|
2392
|
+
content: {
|
|
2393
|
+
"application/octet-stream": Blob;
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
400: {
|
|
2397
|
+
headers: {
|
|
2398
|
+
[name: string]: unknown;
|
|
2399
|
+
};
|
|
2400
|
+
content: {
|
|
2401
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2402
|
+
};
|
|
2403
|
+
};
|
|
2404
|
+
404: {
|
|
2405
|
+
headers: {
|
|
2406
|
+
[name: string]: unknown;
|
|
2407
|
+
};
|
|
2408
|
+
content: {
|
|
2409
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2410
|
+
};
|
|
2411
|
+
};
|
|
2412
|
+
default: {
|
|
2413
|
+
headers: {
|
|
2414
|
+
[name: string]: unknown;
|
|
2415
|
+
};
|
|
2416
|
+
content: {
|
|
2417
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2345
2422
|
}
|