Types.NotebookDocumentChangeEvent
type textContent = {
document : VersionedTextDocumentIdentifier.t;
changes : TextDocumentContentChangeEvent.t list;
}
val create_textContent :
document:VersionedTextDocumentIdentifier.t ->
changes:TextDocumentContentChangeEvent.t list ->
textContent
type structure = {
array : NotebookCellArrayChange.t;
didOpen : TextDocumentItem.t list option;
didClose : TextDocumentIdentifier.t list option;
}
val create_structure :
array:NotebookCellArrayChange.t ->
?didOpen:TextDocumentItem.t list ->
?didClose:TextDocumentIdentifier.t list ->
unit ->
structure
type cells = {
structure : structure option;
data : NotebookCell.t list option;
textContent : textContent list option;
}
val create_cells :
?structure:structure ->
?data:NotebookCell.t list ->
?textContent:textContent list ->
unit ->
cells
val create : ?cells:cells -> ?metadata:Import.Json.Object.t -> unit -> t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t