@ckeditor/ckeditor5-cloud-services 38.2.0-alpha.1 → 39.0.1
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/README.md +0 -1
- package/package.json +2 -3
- package/src/augmentation.d.ts +1 -1
- package/src/cloudservices.d.ts +4 -4
- package/src/cloudservices.js +3 -3
- package/src/cloudservicescore.d.ts +4 -4
- package/src/cloudservicescore.js +3 -3
- package/src/index.d.ts +7 -7
- package/src/index.js +3 -3
- package/src/token/token.d.ts +3 -3
- package/src/token/token.js +1 -1
- package/src/uploadgateway/fileuploader.d.ts +4 -4
- package/src/uploadgateway/fileuploader.js +1 -1
- package/src/uploadgateway/uploadgateway.d.ts +2 -2
- package/src/uploadgateway/uploadgateway.js +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ CKEditor 5's Cloud Services integration
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services)
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
|
7
|
-

|
|
8
7
|
|
|
9
8
|
CKEditor 5's [Cloud Services](https://ckeditor.com/ckeditor-cloud-services/) integration layer, which handles `config.cloudServices` and tokens.
|
|
10
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-cloud-services",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "39.0.1",
|
|
4
4
|
"description": "CKEditor 5's Cloud Services integration layer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
"ckeditor5-dll"
|
|
11
11
|
],
|
|
12
12
|
"main": "src/index.js",
|
|
13
|
-
"type": "module",
|
|
14
13
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "
|
|
14
|
+
"ckeditor5": "39.0.1"
|
|
16
15
|
},
|
|
17
16
|
"engines": {
|
|
18
17
|
"node": ">=16.0.0",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { CloudServices, CloudServicesConfig, CloudServicesCore } from './index
|
|
5
|
+
import type { CloudServices, CloudServicesConfig, CloudServicesCore } from './index';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
package/src/cloudservices.d.ts
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/cloudservices
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5/src/core
|
|
9
|
-
import CloudServicesCore from './cloudservicescore
|
|
10
|
-
import type { CloudServicesConfig, TokenUrl } from './cloudservicesconfig
|
|
11
|
-
import type { InitializedToken } from './token/token
|
|
8
|
+
import { ContextPlugin } from 'ckeditor5/src/core';
|
|
9
|
+
import CloudServicesCore from './cloudservicescore';
|
|
10
|
+
import type { CloudServicesConfig, TokenUrl } from './cloudservicesconfig';
|
|
11
|
+
import type { InitializedToken } from './token/token';
|
|
12
12
|
/**
|
|
13
13
|
* Plugin introducing the integration between CKEditor 5 and CKEditor Cloud Services .
|
|
14
14
|
*
|
package/src/cloudservices.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/cloudservices
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5/src/core
|
|
9
|
-
import { CKEditorError } from 'ckeditor5/src/utils
|
|
10
|
-
import CloudServicesCore from './cloudservicescore
|
|
8
|
+
import { ContextPlugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { CKEditorError } from 'ckeditor5/src/utils';
|
|
10
|
+
import CloudServicesCore from './cloudservicescore';
|
|
11
11
|
/**
|
|
12
12
|
* Plugin introducing the integration between CKEditor 5 and CKEditor Cloud Services .
|
|
13
13
|
*
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/cloudservicescore
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5/src/core
|
|
9
|
-
import type { TokenUrl } from './cloudservicesconfig
|
|
10
|
-
import Token, { type InitializedToken, type TokenOptions } from './token/token
|
|
11
|
-
import UploadGateway from './uploadgateway/uploadgateway
|
|
8
|
+
import { ContextPlugin } from 'ckeditor5/src/core';
|
|
9
|
+
import type { TokenUrl } from './cloudservicesconfig';
|
|
10
|
+
import Token, { type InitializedToken, type TokenOptions } from './token/token';
|
|
11
|
+
import UploadGateway from './uploadgateway/uploadgateway';
|
|
12
12
|
/**
|
|
13
13
|
* The `CloudServicesCore` plugin exposes the base API for communication with CKEditor Cloud Services.
|
|
14
14
|
*/
|
package/src/cloudservicescore.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/cloudservicescore
|
|
7
7
|
*/
|
|
8
|
-
import { ContextPlugin } from 'ckeditor5/src/core
|
|
9
|
-
import Token from './token/token
|
|
10
|
-
import UploadGateway from './uploadgateway/uploadgateway
|
|
8
|
+
import { ContextPlugin } from 'ckeditor5/src/core';
|
|
9
|
+
import Token from './token/token';
|
|
10
|
+
import UploadGateway from './uploadgateway/uploadgateway';
|
|
11
11
|
/**
|
|
12
12
|
* The `CloudServicesCore` plugin exposes the base API for communication with CKEditor Cloud Services.
|
|
13
13
|
*/
|
package/src/index.d.ts
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services
|
|
7
7
|
*/
|
|
8
|
-
export { default as CloudServices } from './cloudservices
|
|
9
|
-
export { default as CloudServicesCore } from './cloudservicescore
|
|
10
|
-
export { TokenUrl, type CloudServicesConfig } from './cloudservicesconfig
|
|
11
|
-
export type { default as Token, InitializedToken } from './token/token
|
|
12
|
-
export type { default as UploadGateway } from './uploadgateway/uploadgateway
|
|
13
|
-
export type { default as FileUploader } from './uploadgateway/fileuploader
|
|
14
|
-
import './augmentation
|
|
8
|
+
export { default as CloudServices } from './cloudservices';
|
|
9
|
+
export { default as CloudServicesCore } from './cloudservicescore';
|
|
10
|
+
export { TokenUrl, type CloudServicesConfig } from './cloudservicesconfig';
|
|
11
|
+
export type { default as Token, InitializedToken } from './token/token';
|
|
12
|
+
export type { default as UploadGateway } from './uploadgateway/uploadgateway';
|
|
13
|
+
export type { default as FileUploader } from './uploadgateway/fileuploader';
|
|
14
|
+
import './augmentation';
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services
|
|
7
7
|
*/
|
|
8
|
-
export { default as CloudServices } from './cloudservices
|
|
9
|
-
export { default as CloudServicesCore } from './cloudservicescore
|
|
10
|
-
import './augmentation
|
|
8
|
+
export { default as CloudServices } from './cloudservices';
|
|
9
|
+
export { default as CloudServicesCore } from './cloudservicescore';
|
|
10
|
+
import './augmentation';
|
package/src/token/token.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { TokenUrl } from '../cloudservicesconfig
|
|
5
|
+
import type { TokenUrl } from '../cloudservicesconfig';
|
|
6
6
|
declare const Token_base: {
|
|
7
|
-
new (): import("ckeditor5/src/utils
|
|
8
|
-
prototype: import("ckeditor5/src/utils
|
|
7
|
+
new (): import("ckeditor5/src/utils").Observable;
|
|
8
|
+
prototype: import("ckeditor5/src/utils").Observable;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Class representing the token used for communication with CKEditor Cloud Services.
|
package/src/token/token.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module cloud-services/token/token
|
|
7
7
|
*/
|
|
8
8
|
/* globals XMLHttpRequest, setTimeout, clearTimeout, atob */
|
|
9
|
-
import { ObservableMixin, CKEditorError } from 'ckeditor5/src/utils
|
|
9
|
+
import { ObservableMixin, CKEditorError } from 'ckeditor5/src/utils';
|
|
10
10
|
const DEFAULT_OPTIONS = { autoRefresh: true };
|
|
11
11
|
const DEFAULT_TOKEN_REFRESH_TIMEOUT_TIME = 3600000;
|
|
12
12
|
/**
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/uploadgateway/fileuploader
|
|
7
7
|
*/
|
|
8
|
-
import type { UploadResponse } from 'ckeditor5/src/upload
|
|
9
|
-
import type { InitializedToken } from '../token/token
|
|
8
|
+
import type { UploadResponse } from 'ckeditor5/src/upload';
|
|
9
|
+
import type { InitializedToken } from '../token/token';
|
|
10
10
|
declare const FileUploader_base: {
|
|
11
|
-
new (): import("ckeditor5/src/utils
|
|
12
|
-
prototype: import("ckeditor5/src/utils
|
|
11
|
+
new (): import("ckeditor5/src/utils").Emitter;
|
|
12
|
+
prototype: import("ckeditor5/src/utils").Emitter;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* FileUploader class used to upload single file.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { EmitterMixin, CKEditorError } from 'ckeditor5/src/utils
|
|
5
|
+
import { EmitterMixin, CKEditorError } from 'ckeditor5/src/utils';
|
|
6
6
|
const BASE64_HEADER_REG_EXP = /^data:(\S*?);base64,/;
|
|
7
7
|
/**
|
|
8
8
|
* FileUploader class used to upload single file.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/uploadgateway/uploadgateway
|
|
7
7
|
*/
|
|
8
|
-
import FileUploader from './fileuploader
|
|
9
|
-
import type { InitializedToken } from '../token/token
|
|
8
|
+
import FileUploader from './fileuploader';
|
|
9
|
+
import type { InitializedToken } from '../token/token';
|
|
10
10
|
/**
|
|
11
11
|
* UploadGateway abstracts file uploads to CKEditor Cloud Services.
|
|
12
12
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module cloud-services/uploadgateway/uploadgateway
|
|
7
7
|
*/
|
|
8
|
-
import FileUploader from './fileuploader
|
|
9
|
-
import { CKEditorError } from 'ckeditor5/src/utils
|
|
8
|
+
import FileUploader from './fileuploader';
|
|
9
|
+
import { CKEditorError } from 'ckeditor5/src/utils';
|
|
10
10
|
/**
|
|
11
11
|
* UploadGateway abstracts file uploads to CKEditor Cloud Services.
|
|
12
12
|
*/
|