@ndla/types-backend 1.0.151 → 1.0.152

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.
@@ -312,6 +312,26 @@ export type paths = {
312
312
  patch?: never;
313
313
  trace?: never;
314
314
  };
315
+ "/image-api/v3/images/users/editors": {
316
+ parameters: {
317
+ query?: never;
318
+ header?: never;
319
+ path?: never;
320
+ cookie?: never;
321
+ };
322
+ /**
323
+ * Get list of users that have edited images
324
+ * @description Get list of user IDs from updatedBy and editor notes in images
325
+ */
326
+ get: operations["getImage-apiV3ImagesUsersEditors"];
327
+ put?: never;
328
+ post?: never;
329
+ delete?: never;
330
+ options?: never;
331
+ head?: never;
332
+ patch?: never;
333
+ trace?: never;
334
+ };
315
335
  "/image-api/raw/id/{image_id}": {
316
336
  parameters: {
317
337
  query?: never;
@@ -573,6 +593,14 @@ export type components = {
573
593
  */
574
594
  height: number;
575
595
  };
596
+ /**
597
+ * ImageEditorsDTO
598
+ * @description A list of image editors
599
+ */
600
+ ImageEditorsDTO: {
601
+ /** @description The user ids of the editors */
602
+ ids?: string[];
603
+ };
576
604
  /**
577
605
  * ImageFileDTO
578
606
  * @description Describes the image file
@@ -1042,6 +1070,7 @@ export type ImageAltTextDTO = components['schemas']['ImageAltTextDTO'];
1042
1070
  export type ImageCaptionDTO = components['schemas']['ImageCaptionDTO'];
1043
1071
  export type ImageContentType = components['schemas']['ImageContentType'];
1044
1072
  export type ImageDimensionsDTO = components['schemas']['ImageDimensionsDTO'];
1073
+ export type ImageEditorsDTO = components['schemas']['ImageEditorsDTO'];
1045
1074
  export type ImageFileDTO = components['schemas']['ImageFileDTO'];
1046
1075
  export type ImageMetaInformationV2DTO = components['schemas']['ImageMetaInformationV2DTO'];
1047
1076
  export type ImageMetaInformationV3DTO = components['schemas']['ImageMetaInformationV3DTO'];
@@ -2341,6 +2370,65 @@ export interface operations {
2341
2370
  };
2342
2371
  };
2343
2372
  };
2373
+ "getImage-apiV3ImagesUsersEditors": {
2374
+ parameters: {
2375
+ query?: never;
2376
+ header?: never;
2377
+ path?: never;
2378
+ cookie?: never;
2379
+ };
2380
+ requestBody?: never;
2381
+ responses: {
2382
+ 200: {
2383
+ headers: {
2384
+ [name: string]: unknown;
2385
+ };
2386
+ content: {
2387
+ "application/json": components["schemas"]["ImageEditorsDTO"];
2388
+ };
2389
+ };
2390
+ 400: {
2391
+ headers: {
2392
+ [name: string]: unknown;
2393
+ };
2394
+ content: {
2395
+ "application/json": components["schemas"]["AllErrors"];
2396
+ };
2397
+ };
2398
+ 401: {
2399
+ headers: {
2400
+ [name: string]: unknown;
2401
+ };
2402
+ content: {
2403
+ "application/json": components["schemas"]["AllErrors"];
2404
+ };
2405
+ };
2406
+ 403: {
2407
+ headers: {
2408
+ [name: string]: unknown;
2409
+ };
2410
+ content: {
2411
+ "application/json": components["schemas"]["AllErrors"];
2412
+ };
2413
+ };
2414
+ 404: {
2415
+ headers: {
2416
+ [name: string]: unknown;
2417
+ };
2418
+ content: {
2419
+ "application/json": components["schemas"]["AllErrors"];
2420
+ };
2421
+ };
2422
+ default: {
2423
+ headers: {
2424
+ [name: string]: unknown;
2425
+ };
2426
+ content: {
2427
+ "application/json": components["schemas"]["AllErrors"];
2428
+ };
2429
+ };
2430
+ };
2431
+ };
2344
2432
  "getImage-apiRawIdImage_id": {
2345
2433
  parameters: {
2346
2434
  query?: {
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.151",
36
+ "version": "1.0.152",
37
37
  "packageManager": "yarn@4.10.3"
38
38
  }