@jupyterlab/metadataform 4.2.0-beta.0 → 4.2.0-beta.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/lib/metadataform.js +2 -2
- package/lib/token.d.ts +2 -2
- package/package.json +9 -10
- package/src/metadataform.ts +2 -2
- package/src/token.ts +2 -2
package/lib/metadataform.js
CHANGED
|
@@ -365,8 +365,8 @@ var Private;
|
|
|
365
365
|
* Recursive function to clean the empty nested metadata before updating real metadata.
|
|
366
366
|
* this function is called when a nested metadata is undefined (or default), so maybe some
|
|
367
367
|
* object are now empty.
|
|
368
|
-
* @param metadataObject
|
|
369
|
-
* @param metadataKeysList
|
|
368
|
+
* @param metadataObject PartialJSONObject representing the metadata to update.
|
|
369
|
+
* @param metadataKeysList Array<string> of the undefined nested metadata.
|
|
370
370
|
* @returns PartialJSONObject without empty object.
|
|
371
371
|
*/
|
|
372
372
|
function deleteEmptyNested(metadataObject, metadataKeysList) {
|
package/lib/token.d.ts
CHANGED
|
@@ -146,8 +146,8 @@ export declare namespace MetadataForm {
|
|
|
146
146
|
/**
|
|
147
147
|
* Update the metadata of the current cell or notebook.
|
|
148
148
|
*
|
|
149
|
-
* @param formData
|
|
150
|
-
* @param reload
|
|
149
|
+
* @param formData the cell metadata set in the form.
|
|
150
|
+
* @param reload whether to update the form after updating the metadata.
|
|
151
151
|
*
|
|
152
152
|
* ## Notes
|
|
153
153
|
* Metadata are updated from root only. If some metadata is nested,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/metadataform",
|
|
3
|
-
"version": "4.2.0-beta.
|
|
3
|
+
"version": "4.2.0-beta.2",
|
|
4
4
|
"description": "A helper to build form for metadata",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -45,27 +45,26 @@
|
|
|
45
45
|
"watch": "tsc -w --listEmittedFiles"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@jupyterlab/apputils": "^4.3.0-beta.
|
|
49
|
-
"@jupyterlab/nbformat": "^4.2.0-beta.
|
|
50
|
-
"@jupyterlab/notebook": "^4.2.0-beta.
|
|
51
|
-
"@jupyterlab/settingregistry": "^4.2.0-beta.
|
|
52
|
-
"@jupyterlab/translation": "^4.2.0-beta.
|
|
53
|
-
"@jupyterlab/ui-components": "^4.2.0-beta.
|
|
48
|
+
"@jupyterlab/apputils": "^4.3.0-beta.2",
|
|
49
|
+
"@jupyterlab/nbformat": "^4.2.0-beta.2",
|
|
50
|
+
"@jupyterlab/notebook": "^4.2.0-beta.2",
|
|
51
|
+
"@jupyterlab/settingregistry": "^4.2.0-beta.2",
|
|
52
|
+
"@jupyterlab/translation": "^4.2.0-beta.2",
|
|
53
|
+
"@jupyterlab/ui-components": "^4.2.0-beta.2",
|
|
54
54
|
"@lumino/coreutils": "^2.1.2",
|
|
55
55
|
"@lumino/messaging": "^2.0.1",
|
|
56
|
-
"@lumino/widgets": "^2.3.
|
|
56
|
+
"@lumino/widgets": "^2.3.2",
|
|
57
57
|
"@rjsf/core": "^5.13.4",
|
|
58
58
|
"@rjsf/validator-ajv8": "^5.13.4",
|
|
59
59
|
"json-schema": "^0.4.0",
|
|
60
60
|
"react": "^18.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@jupyterlab/testing": "^4.2.0-beta.
|
|
63
|
+
"@jupyterlab/testing": "^4.2.0-beta.2",
|
|
64
64
|
"@types/jest": "^29.2.0",
|
|
65
65
|
"@types/react": "^18.0.26",
|
|
66
66
|
"jest": "^29.2.0",
|
|
67
67
|
"rimraf": "~5.0.5",
|
|
68
|
-
"typedoc": "~0.24.7",
|
|
69
68
|
"typescript": "~5.1.6"
|
|
70
69
|
},
|
|
71
70
|
"publishConfig": {
|
package/src/metadataform.ts
CHANGED
|
@@ -463,8 +463,8 @@ namespace Private {
|
|
|
463
463
|
* Recursive function to clean the empty nested metadata before updating real metadata.
|
|
464
464
|
* this function is called when a nested metadata is undefined (or default), so maybe some
|
|
465
465
|
* object are now empty.
|
|
466
|
-
* @param metadataObject
|
|
467
|
-
* @param metadataKeysList
|
|
466
|
+
* @param metadataObject PartialJSONObject representing the metadata to update.
|
|
467
|
+
* @param metadataKeysList Array<string> of the undefined nested metadata.
|
|
468
468
|
* @returns PartialJSONObject without empty object.
|
|
469
469
|
*/
|
|
470
470
|
export function deleteEmptyNested(
|
package/src/token.ts
CHANGED
|
@@ -179,8 +179,8 @@ export namespace MetadataForm {
|
|
|
179
179
|
/**
|
|
180
180
|
* Update the metadata of the current cell or notebook.
|
|
181
181
|
*
|
|
182
|
-
* @param formData
|
|
183
|
-
* @param reload
|
|
182
|
+
* @param formData the cell metadata set in the form.
|
|
183
|
+
* @param reload whether to update the form after updating the metadata.
|
|
184
184
|
*
|
|
185
185
|
* ## Notes
|
|
186
186
|
* Metadata are updated from root only. If some metadata is nested,
|