@ckeditor/ckeditor5-autosave 37.0.0-alpha.0 → 37.0.0-alpha.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/package.json +9 -9
- package/src/augmentation.d.ts +18 -0
- package/src/augmentation.js +5 -0
- package/src/autosave.d.ts +0 -13
- package/src/index.d.ts +2 -1
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-autosave",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
3
|
+
"version": "37.0.0-alpha.2",
|
|
4
4
|
"description": "Autosave feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^37.0.0-alpha.
|
|
15
|
+
"ckeditor5": "^37.0.0-alpha.2",
|
|
16
16
|
"lodash-es": "^4.17.15"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
21
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
|
19
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
|
|
20
|
+
"@ckeditor/ckeditor5-dev-utils": "^35.0.0",
|
|
21
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
|
|
23
|
+
"@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.2",
|
|
24
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
|
|
25
25
|
"typescript": "^4.8.4",
|
|
26
26
|
"webpack": "^5.58.1",
|
|
27
27
|
"webpack-cli": "^4.9.0"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"scripts": {
|
|
52
52
|
"dll:build": "webpack",
|
|
53
|
-
"build": "tsc -p ./tsconfig.
|
|
53
|
+
"build": "tsc -p ./tsconfig.json",
|
|
54
54
|
"postversion": "npm run build"
|
|
55
55
|
},
|
|
56
56
|
"types": "src/index.d.ts"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { Autosave, AutosaveConfig } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface PluginsMap {
|
|
8
|
+
[Autosave.pluginName]: Autosave;
|
|
9
|
+
}
|
|
10
|
+
interface EditorConfig {
|
|
11
|
+
/**
|
|
12
|
+
* The configuration of the {@link module:autosave/autosave~Autosave autosave feature}.
|
|
13
|
+
*
|
|
14
|
+
* Read more in {@link module:autosave/autosave~AutosaveConfig}.
|
|
15
|
+
*/
|
|
16
|
+
autosave?: AutosaveConfig;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/src/autosave.d.ts
CHANGED
|
@@ -218,16 +218,3 @@ export interface AutosaveConfig {
|
|
|
218
218
|
*/
|
|
219
219
|
waitingTime?: number;
|
|
220
220
|
}
|
|
221
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
222
|
-
interface PluginsMap {
|
|
223
|
-
[Autosave.pluginName]: Autosave;
|
|
224
|
-
}
|
|
225
|
-
interface EditorConfig {
|
|
226
|
-
/**
|
|
227
|
-
* The configuration of the {@link module:autosave/autosave~Autosave autosave feature}.
|
|
228
|
-
*
|
|
229
|
-
* Read more in {@link module:autosave/autosave~AutosaveConfig}.
|
|
230
|
-
*/
|
|
231
|
-
autosave?: AutosaveConfig;
|
|
232
|
-
}
|
|
233
|
-
}
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED