@ndla/types-backend 1.0.116 → 1.0.118

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.
@@ -484,6 +484,8 @@ export type components = {
484
484
  variants: components["schemas"]["ImageVariantDTO"][];
485
485
  /** @description ISO 639-1 code that represents the language used in the caption */
486
486
  language: string;
487
+ /** @description Date image was taken, if available */
488
+ originalDate?: string;
487
489
  };
488
490
  /**
489
491
  * ImageMetaInformationV2DTO
@@ -813,6 +813,16 @@ export type components = {
813
813
  /** @description Value to set configuration param to. */
814
814
  value: string[] | boolean;
815
815
  };
816
+ /** CopyResourcesDTO */
817
+ CopyResourcesDTO: {
818
+ /**
819
+ * Format: uuid
820
+ * @description Folder to move to. Empty value moves resource to root.
821
+ */
822
+ toFolderId: string | null;
823
+ /** @description The resources to move */
824
+ resourceIds: string[];
825
+ };
816
826
  /**
817
827
  * CreateRobotDefinitionDTO
818
828
  * @description DTO for creating a new robot definition
@@ -1309,6 +1319,7 @@ export type ConfigKey = components['schemas']['ConfigKey'];
1309
1319
  export type ConfigMetaDTO = components['schemas']['ConfigMetaDTO'];
1310
1320
  export type ConfigMetaRestrictedDTO = components['schemas']['ConfigMetaRestrictedDTO'];
1311
1321
  export type ConfigMetaValueDTO = components['schemas']['ConfigMetaValueDTO'];
1322
+ export type CopyResourcesDTO = components['schemas']['CopyResourcesDTO'];
1312
1323
  export type CreateRobotDefinitionDTO = components['schemas']['CreateRobotDefinitionDTO'];
1313
1324
  export type ErrorBody = components['schemas']['ErrorBody'];
1314
1325
  export type ExportedUserDataDTO = components['schemas']['ExportedUserDataDTO'];
@@ -3352,7 +3363,7 @@ export interface operations {
3352
3363
  };
3353
3364
  requestBody: {
3354
3365
  content: {
3355
- "application/json": components["schemas"]["MoveResourcesDTO"];
3366
+ "application/json": components["schemas"]["CopyResourcesDTO"];
3356
3367
  };
3357
3368
  };
3358
3369
  responses: {
package/package.json CHANGED
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.21.0",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
- "version": "1.0.116",
35
+ "version": "1.0.118",
36
36
  "packageManager": "yarn@4.10.3"
37
37
  }