@@ -17,7 +17,7 @@ import { ExtensionIdentifier, IExtensionDescription } from 'vs/platform/extensio
17
17
import { FileSystemProviderErrorCode , markAsFileSystemProviderError } from 'vs/platform/files/common/files' ;
18
18
import { RemoteAuthorityResolverErrorCode } from 'vs/platform/remote/common/remoteAuthorityResolver' ;
19
19
import { IRelativePatternDto } from 'vs/workbench/api/common/extHost.protocol' ;
20
- import { CellEditType , ICellPartialMetadataEdit , IDocumentMetadataEdit , isTextStreamMime } from 'vs/workbench/contrib/notebook/common/notebookCommon' ;
20
+ import { CellEditType , ICellMetadataEdit , IDocumentMetadataEdit , isTextStreamMime } from 'vs/workbench/contrib/notebook/common/notebookCommon' ;
21
21
import { checkProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions' ;
22
22
import type * as vscode from 'vscode' ;
23
23
@@ -775,7 +775,7 @@ export interface IFileSnippetTextEdit {
775
775
export interface IFileCellEdit {
776
776
readonly _type : FileEditType . Cell ;
777
777
readonly uri : URI ;
778
- readonly edit ?: ICellPartialMetadataEdit | IDocumentMetadataEdit ;
778
+ readonly edit ?: ICellMetadataEdit | IDocumentMetadataEdit ;
779
779
readonly notebookMetadata ?: Record < string , any > ;
780
780
readonly metadata ?: vscode . WorkspaceEditEntryMetadata ;
781
781
}
@@ -832,7 +832,7 @@ export class WorkspaceEdit implements vscode.WorkspaceEdit {
832
832
}
833
833
834
834
private replaceNotebookCellMetadata ( uri : URI , index : number , cellMetadata : Record < string , any > , metadata ?: vscode . WorkspaceEditEntryMetadata ) : void {
835
- this . _edits . push ( { _type : FileEditType . Cell , metadata, uri, edit : { editType : CellEditType . PartialMetadata , index, metadata : cellMetadata } } ) ;
835
+ this . _edits . push ( { _type : FileEditType . Cell , metadata, uri, edit : { editType : CellEditType . Metadata , index, metadata : cellMetadata } } ) ;
836
836
}
837
837
838
838
// --- text
0 commit comments