From ed1d6251e601201df62e2c5aeebe8b108e2dfb15 Mon Sep 17 00:00:00 2001 From: TylerLeonhardt Date: Mon, 24 Aug 2020 22:02:43 +0000 Subject: [PATCH] [Ignore] Update Notebook dts --- vscode.proposed.d.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/vscode.proposed.d.ts b/vscode.proposed.d.ts index c5625e269e..9ab1a3a38d 100644 --- a/vscode.proposed.d.ts +++ b/vscode.proposed.d.ts @@ -215,6 +215,7 @@ declare module 'vscode' { export interface NotebookDocument { readonly uri: Uri; + readonly version: number; readonly fileName: string; readonly viewType: string; readonly isDirty: boolean; @@ -245,7 +246,14 @@ declare module 'vscode' { } export interface NotebookEditorCellEdit { + + replaceCells(from: number, to: number, cells: NotebookCellData[]): void; + replaceOutputs(index: number, outputs: CellOutput[]): void; + replaceMetadata(index: number, metadata: NotebookCellMetadata): void; + + /** @deprecated */ insert(index: number, content: string | string[], language: string, type: CellKind, outputs: CellOutput[], metadata: NotebookCellMetadata | undefined): void; + /** @deprecated */ delete(index: number): void; } @@ -369,9 +377,9 @@ declare module 'vscode' { export interface NotebookCellData { readonly cellKind: CellKind; readonly source: string; - language: string; - outputs: CellOutput[]; - metadata: NotebookCellMetadata; + readonly language: string; + readonly outputs: CellOutput[]; + readonly metadata: NotebookCellMetadata | undefined; } export interface NotebookData {