Type Alias NotebookDocument

NotebookDocument: {
    cells: NotebookCell[];
    metadata?: LSPObject;
    notebookType: string;
    uri: URI;
    version: integer;
}

A notebook document.

Type declaration

  • cells: NotebookCell[]

    The cells of a notebook.

  • Optionalmetadata?: LSPObject

    Additional metadata stored with the notebook document.

    Note: should always be an object literal (e.g. LSPObject)

  • notebookType: string

    The type of the notebook.

  • uri: URI

    The notebook document's uri.

  • version: integer

    The version number of this document (it will increase after each change, including undo/redo).

3.17.0