@jupyterlab/settingregistry 4.2.0-alpha.2 → 4.2.0-beta.0
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/lib/tokens.d.ts +3 -3
- package/package.json +4 -4
- package/src/tokens.ts +5 -3
package/lib/tokens.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ export declare namespace ISettingRegistry {
|
|
|
390
390
|
/**
|
|
391
391
|
* An interface for manipulating the settings of a specific plugin.
|
|
392
392
|
*/
|
|
393
|
-
interface ISettings extends IDisposable {
|
|
393
|
+
interface ISettings<O extends ReadonlyPartialJSONObject = ReadonlyPartialJSONObject> extends IDisposable {
|
|
394
394
|
/**
|
|
395
395
|
* A signal that emits when the plugin's settings have changed.
|
|
396
396
|
*/
|
|
@@ -398,7 +398,7 @@ export declare namespace ISettingRegistry {
|
|
|
398
398
|
/**
|
|
399
399
|
* The composite of user settings and extension defaults.
|
|
400
400
|
*/
|
|
401
|
-
readonly composite:
|
|
401
|
+
readonly composite: O;
|
|
402
402
|
/**
|
|
403
403
|
* The plugin's ID.
|
|
404
404
|
*/
|
|
@@ -415,7 +415,7 @@ export declare namespace ISettingRegistry {
|
|
|
415
415
|
/**
|
|
416
416
|
* The user settings.
|
|
417
417
|
*/
|
|
418
|
-
readonly user:
|
|
418
|
+
readonly user: O;
|
|
419
419
|
/**
|
|
420
420
|
* The published version of the NPM package containing these settings.
|
|
421
421
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/settingregistry",
|
|
3
|
-
"version": "4.2.0-
|
|
3
|
+
"version": "4.2.0-beta.0",
|
|
4
4
|
"description": "Settings registry for Jupyterlab",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"watch": "tsc -b --watch"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jupyterlab/nbformat": "^4.2.0-
|
|
41
|
-
"@jupyterlab/statedb": "^4.2.0-
|
|
40
|
+
"@jupyterlab/nbformat": "^4.2.0-beta.0",
|
|
41
|
+
"@jupyterlab/statedb": "^4.2.0-beta.0",
|
|
42
42
|
"@lumino/commands": "^2.2.0",
|
|
43
43
|
"@lumino/coreutils": "^2.1.2",
|
|
44
44
|
"@lumino/disposable": "^2.1.2",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"json5": "^2.2.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@jupyterlab/testing": "^4.2.0-
|
|
51
|
+
"@jupyterlab/testing": "^4.2.0-beta.0",
|
|
52
52
|
"@types/jest": "^29.2.0",
|
|
53
53
|
"jest": "^29.2.0",
|
|
54
54
|
"rimraf": "~5.0.5",
|
package/src/tokens.ts
CHANGED
|
@@ -480,7 +480,9 @@ export namespace ISettingRegistry {
|
|
|
480
480
|
/**
|
|
481
481
|
* An interface for manipulating the settings of a specific plugin.
|
|
482
482
|
*/
|
|
483
|
-
export interface ISettings
|
|
483
|
+
export interface ISettings<
|
|
484
|
+
O extends ReadonlyPartialJSONObject = ReadonlyPartialJSONObject
|
|
485
|
+
> extends IDisposable {
|
|
484
486
|
/**
|
|
485
487
|
* A signal that emits when the plugin's settings have changed.
|
|
486
488
|
*/
|
|
@@ -489,7 +491,7 @@ export namespace ISettingRegistry {
|
|
|
489
491
|
/**
|
|
490
492
|
* The composite of user settings and extension defaults.
|
|
491
493
|
*/
|
|
492
|
-
readonly composite:
|
|
494
|
+
readonly composite: O;
|
|
493
495
|
|
|
494
496
|
/**
|
|
495
497
|
* The plugin's ID.
|
|
@@ -514,7 +516,7 @@ export namespace ISettingRegistry {
|
|
|
514
516
|
/**
|
|
515
517
|
* The user settings.
|
|
516
518
|
*/
|
|
517
|
-
readonly user:
|
|
519
|
+
readonly user: O;
|
|
518
520
|
|
|
519
521
|
/**
|
|
520
522
|
* The published version of the NPM package containing these settings.
|