-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13605 from ckeditor/ck/13565-improving-module-aug…
…mentation-for-packages Internal: Improve TypeScript module augmentation. See #13565.
- Loading branch information
Showing
115 changed files
with
566 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
import type { | ||
CKBox, | ||
CKBoxCommand, | ||
CKBoxConfig, | ||
CKBoxEditing | ||
} from './index'; | ||
|
||
declare module '@ckeditor/ckeditor5-core' { | ||
interface EditorConfig { | ||
|
||
/** | ||
* The configuration of the {@link module:ckbox/ckbox~CKBox CKBox feature}. | ||
* | ||
* Read more in {@link module:ckbox/ckboxconfig~CKBoxConfig}. | ||
*/ | ||
ckbox?: CKBoxConfig; | ||
} | ||
|
||
interface PluginsMap { | ||
[ CKBox.pluginName ]: CKBox; | ||
[ CKBoxEditing.pluginName ]: CKBoxEditing; | ||
} | ||
|
||
interface CommandsMap { | ||
ckbox: CKBoxCommand; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
import type { | ||
CKFinder, | ||
CKFinderCommand, | ||
CKFinderConfig, | ||
CKFinderEditing | ||
} from './index'; | ||
|
||
declare module '@ckeditor/ckeditor5-core' { | ||
interface EditorConfig { | ||
|
||
/** | ||
* The configuration of the {@link module:ckfinder/ckfinder~CKFinder CKFinder feature}. | ||
* | ||
* Read more in {@link module:ckfinder/ckfinderconfig~CKFinderConfig}. | ||
*/ | ||
ckfinder?: CKFinderConfig; | ||
} | ||
|
||
interface PluginsMap { | ||
[ CKFinder.pluginName ]: CKFinder; | ||
[ CKFinderEditing.pluginName ]: CKFinderEditing; | ||
} | ||
|
||
interface CommandsMap { | ||
ckfinder: CKFinderCommand; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
|
||
import type { | ||
CloudServices, | ||
CloudServicesConfig, | ||
CloudServicesCore | ||
} from './index'; | ||
|
||
declare module '@ckeditor/ckeditor5-core' { | ||
interface EditorConfig { | ||
|
||
/** | ||
* The configuration of CKEditor Cloud Services. Introduced by the {@link module:cloud-services/cloudservices~CloudServices} plugin. | ||
* | ||
* Read more in {@link module:cloud-services/cloudservicesconfig~CloudServicesConfig}. | ||
*/ | ||
cloudServices?: CloudServicesConfig; | ||
} | ||
|
||
interface PluginsMap { | ||
[ CloudServices.pluginName ]: CloudServices; | ||
[ CloudServicesCore.pluginName ]: CloudServicesCore; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.