On cell chat

This commit is contained in:
rebornix
2023-11-13 19:35:17 -08:00
parent 9c7cdf4589
commit ecd4f3806f
12 changed files with 761 additions and 12 deletions

View File

@@ -1045,7 +1045,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
}
}
export type CellViewModel = CodeCellViewModel | MarkupCellViewModel;
export type CellViewModel = (CodeCellViewModel | MarkupCellViewModel) & ICellViewModel;
export function createCellViewModel(instantiationService: IInstantiationService, notebookViewModel: NotebookViewModel, cell: NotebookCellTextModel, viewContext: ViewContext) {
if (cell.cellKind === CellKind.Code) {