@isardsat/editorial-common 6.13.0 → 6.13.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @isardsat/editorial-common
2
2
 
3
+ ## 6.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - bf07080: Fix upload types
8
+
9
+ ## 6.13.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 9d96ec7: Fix file management
14
+
3
15
  ## 6.13.0
4
16
 
5
17
  ### Minor Changes
package/dist/types.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { EditorialConfigSchema, EditorialDataItemSchema, EditorialDataObjec
3
3
  export interface LargeFileHandler {
4
4
  list: () => Promise<object[]>;
5
5
  delete: () => Promise<void>;
6
- upload: () => Promise<void>;
6
+ upload: (file: unknown, options?: unknown) => Promise<void>;
7
7
  }
8
8
  export type EditorialConfig = z.infer<typeof EditorialConfigSchema>;
9
9
  export type EditorialData = z.infer<typeof EditorialDataSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-common",
3
- "version": "6.13.0",
3
+ "version": "6.13.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -13,7 +13,7 @@ import type {
13
13
  export interface LargeFileHandler {
14
14
  list: () => Promise<object[]>;
15
15
  delete: () => Promise<void>;
16
- upload: () => Promise<void>;
16
+ upload: (file: unknown, options?: unknown) => Promise<void>;
17
17
  }
18
18
 
19
19
  export type EditorialConfig = z.infer<typeof EditorialConfigSchema>;