← Về thư mục
frontend/src/features/notebook/cells.ts
- asCells · function · L33-L35 — function asCells(value: unknown): NotebookCell[]
- nbEventCellId · function · L38-L42 — function nbEventCellId(event: WsMessage | null | undefined): string
- nbCellKey · function · L45-L55 — function nbCellKey(cell: NotebookCell | null | undefined): string
- mergeNotebookCells · function · L58-L71 — function mergeNotebookCells( serverCells: NotebookCell[] | null | undefined, localCells: NotebookCell[] | null | undefined, ): NotebookCell[]
- nbFindCell · function · L74-L81 — function nbFindCell(producingCellId: unknown): NotebookCell | null
- bindNotebookArtifact · function · L85-L117 — function bindNotebookArtifact(event: WsMessage): boolean
- CellOutputSignals · type · L119-L125 — type CellOutputSignals = { stdout: Signal; stderr: Signal; source: Signal; figures: Signal; status: Signal; };
- resetCellOutputs · function · L129-L131 — function resetCellOutputs(): void
- cellOutput · function · L133-L146 — function cellOutput(key: string): CellOutputSignals
- syncCellOutput · function · L148-L156 — function syncCellOutput(cell: NotebookCell): CellOutputSignals
- appendTextNodeDelta · function · L162-L175 — function appendTextNodeDelta( node: { data: string; appendData: (s: string) => void }, previousLength: number, next: string, ): number
- setLive · function · L177-L179 — function setLive(next: NotebookCell[]): void
- setSaved · function · L181-L183 — function setSaved(next: NotebookCell[]): void
- nbCellDraft · function · L186-L234 — function nbCellDraft(event: WsMessage): void
- nbCellStart · function · L237-L278 — function nbCellStart(event: WsMessage): void
- nbCellChunk · function · L285-L306 — function nbCellChunk(event: WsMessage): void
- nbCellFinished · function · L309-L343 — function nbCellFinished(event: WsMessage): void
- nbLiveStart · function · L348-L387 — function nbLiveStart( tool: string | null | undefined, raw: string | null | undefined, serverKernelId: string | null | undefined, serverCellIndex: number | string | null | undefined, serverLanguage: string | null | undefined, ): void
- TOOL_LABELS_HAS · function · L389-L393 — function TOOL_LABELS_HAS(tool: string): boolean
- nbLiveAppend · function · L396-L415 — function nbLiveAppend(txt: string): void
- projectNotebookCells · function · L418-L464 — function projectNotebookCells( rawEntries: NotebookCell[] | null | undefined, ): NotebookCell[]
- notebookDisplayEntries · function · L466-L471 — function notebookDisplayEntries(): NotebookCell[]
- setNotebookApi · function · L477-L479 — function setNotebookApi(fn: import("./types").NotebookApi | null): void
- setNotebookLoadArtifacts · function · L481-L483 — function setNotebookLoadArtifacts(fn: ((id: string) => void) | null): void
- setShowProvenance · function · L485-L487 — function setShowProvenance(fn: ((a: unknown) => void) | null): void
- notebookFetch · function · L489-L513 — async function notebookFetch( path: string, init?: RequestInit, ): Promise | null>
- loadExecutionLog · function · L516-L544 — async function loadExecutionLog(id: string): Promise
- notifyLoadArtifacts · function · L546-L548 — function notifyLoadArtifacts(id: string): void