@@ -197,35 +197,30 @@ export interface ISharedNotebook extends ISharedDocument {
197
197
*
198
198
* @returns Notebook's metadata.
199
199
*/
200
- getMetadata ( ) : nbformat . INotebookMetadata ;
201
-
202
- /**
203
- * Returns a metadata associated with the notebook.
204
- *
205
- * @param key Key to get from the metadata
206
- * @returns Notebook's metadata.
207
- */
208
- getMetadata ( key : string ) : PartialJSONValue | undefined ;
209
-
210
- /**
211
- * Sets all metadata associated with the notebook.
212
- *
213
- * @param metadata All Notebook's metadata.
214
- */
215
- setMetadata (
216
- metadata : nbformat . INotebookMetadata ,
217
- ) : void ;
218
-
219
- /**
220
- * Sets a metadata associated with the notebook.
221
- *
222
- * @param metadata The key to set.
223
- * @param value New metadata value
224
- */
225
- setMetadata (
226
- metadata : string ,
227
- value : PartialJSONValue
228
- ) : void ;
200
+ getMetadata ( ) : nbformat . INotebookMetadata ;
201
+
202
+ /**
203
+ * Returns a metadata associated with the notebook.
204
+ *
205
+ * @param key Key to get from the metadata
206
+ * @returns Notebook's metadata.
207
+ */
208
+ getMetadata ( key : string ) : PartialJSONValue | undefined ;
209
+
210
+ /**
211
+ * Sets all metadata associated with the notebook.
212
+ *
213
+ * @param metadata All Notebook's metadata.
214
+ */
215
+ setMetadata ( metadata : nbformat . INotebookMetadata ) : void ;
216
+
217
+ /**
218
+ * Sets a metadata associated with the notebook.
219
+ *
220
+ * @param metadata The key to set.
221
+ * @param value New metadata value
222
+ */
223
+ setMetadata ( metadata : string , value : PartialJSONValue ) : void ;
229
224
230
225
/**
231
226
* Updates the metadata associated with the notebook.
@@ -456,20 +451,15 @@ export interface ISharedBaseCell<
456
451
*
457
452
* @param metadata Cell's metadata.
458
453
*/
459
- setMetadata (
460
- metadata : Partial < Metadata > ,
461
- ) : void ;
454
+ setMetadata ( metadata : Partial < Metadata > ) : void ;
462
455
463
456
/**
464
457
* Sets a cell metadata.
465
458
*
466
459
* @param metadata Cell's metadata key.
467
460
* @param value Metadata value
468
461
*/
469
- setMetadata (
470
- metadata : string ,
471
- value : PartialJSONValue
472
- ) : void ;
462
+ setMetadata ( metadata : string , value : PartialJSONValue ) : void ;
473
463
474
464
/**
475
465
* Serialize the model to JSON.
0 commit comments