@ckeditor/ckeditor5-upload 37.0.0-alpha.1 → 37.0.0-alpha.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-upload",
3
- "version": "37.0.0-alpha.1",
3
+ "version": "37.0.0-alpha.3",
4
4
  "description": "Upload feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,9 +11,9 @@
11
11
  ],
12
12
  "main": "src/index.js",
13
13
  "dependencies": {
14
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.1",
15
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.1",
16
- "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.1"
14
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
15
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
16
+ "@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3"
17
17
  },
18
18
  "devDependencies": {
19
19
  "typescript": "^4.8.4",
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module upload/adapters/base64uploadadapter
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import FileRepository from '../filerepository';
9
10
  /**
10
11
  * A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
11
12
  * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
@@ -20,7 +21,7 @@ export default class Base64UploadAdapter extends Plugin {
20
21
  /**
21
22
  * @inheritDoc
22
23
  */
23
- static get requires(): PluginDependencies;
24
+ static get requires(): readonly [typeof FileRepository];
24
25
  /**
25
26
  * @inheritDoc
26
27
  */
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module upload/adapters/simpleuploadadapter
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import FileRepository from '../filerepository';
9
10
  /**
10
11
  * The Simple upload adapter allows uploading images to an application running on your server using
11
12
  * the [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) API with a
@@ -35,7 +36,7 @@ export default class SimpleUploadAdapter extends Plugin {
35
36
  /**
36
37
  * @inheritDoc
37
38
  */
38
- static get requires(): PluginDependencies;
39
+ static get requires(): readonly [typeof FileRepository];
39
40
  /**
40
41
  * @inheritDoc
41
42
  */
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module upload/filerepository
7
7
  */
8
- import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
8
+ import { Plugin, PendingActions } from '@ckeditor/ckeditor5-core';
9
9
  import { Collection } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * File repository plugin. A central point for managing file upload.
@@ -75,7 +75,7 @@ export default class FileRepository extends Plugin {
75
75
  /**
76
76
  * @inheritDoc
77
77
  */
78
- static get requires(): PluginDependencies;
78
+ static get requires(): readonly [typeof PendingActions];
79
79
  /**
80
80
  * @inheritDoc
81
81
  */