NotebookState: INotebooksState & {
    activeCellChange: ((cellModelId) => void);
    addPortals: ((portalsId) => void);
    changeCellType: ((mutation) => void);
    changeKernel: ((kernelChange) => void);
    changeKernelStatus: ((kernelStatusId) => void);
    changeModel: ((notebookModelId) => void);
    changeNotebook: ((notebookChangeId) => void);
    delete: ((id) => void);
    dispose: ((id) => void);
    insertAbove: ((mutation) => void);
    insertBelow: ((mutation) => void);
    interrupt: ((id) => void);
    reset: (() => void);
    run: ((id) => void);
    runAll: ((id) => void);
    save: ((mutation) => void);
    selectActiveCell: ((id) => Cell<ICellModel> | undefined);
    selectKernelStatus: ((id) => string | undefined);
    selectNotebook: ((id) => INotebookState | undefined);
    selectNotebookAdapter: ((id) => NotebookAdapter | undefined);
    selectNotebookModel: ((id) => {
        changed: any;
        model: INotebookModel | undefined;
    } | undefined);
    selectNotebookPortalDisplay: ((id) => PortalDisplay | undefined);
    selectNotebookPortals: ((id) => React.ReactPortal[] | undefined);
    selectSaveRequest: ((id) => Date | undefined);
    setNotebooks: ((notebooks) => void);
    setPortalDisplay: ((portalDisplayId) => void);
    setPortals: ((portalsId) => void);
    update: ((update) => void);
}

Type declaration

  • activeCellChange: ((cellModelId) => void)
      • (cellModelId): void
      • Parameters

        • cellModelId: CellModelId

        Returns void

  • addPortals: ((portalsId) => void)
      • (portalsId): void
      • Parameters

        • portalsId: ReactPortalsMutation

        Returns void

  • changeCellType: ((mutation) => void)
      • (mutation): void
      • Parameters

        • mutation: CellMutation

        Returns void

  • changeKernel: ((kernelChange) => void)
      • (kernelChange): void
      • Parameters

        • kernelChange: KernelChangeMutation

        Returns void

  • changeKernelStatus: ((kernelStatusId) => void)
      • (kernelStatusId): void
      • Parameters

        • kernelStatusId: KernelStatusMutation

        Returns void

  • changeModel: ((notebookModelId) => void)
      • (notebookModelId): void
      • Parameters

        • notebookModelId: NotebookModelId

        Returns void

  • changeNotebook: ((notebookChangeId) => void)
      • (notebookChangeId): void
      • Parameters

        • notebookChangeId: NotebookChangeId

        Returns void

  • delete: ((id) => void)
      • (id): void
      • Parameters

        • id: string

        Returns void

  • dispose: ((id) => void)
      • (id): void
      • Parameters

        • id: string

        Returns void

  • insertAbove: ((mutation) => void)
      • (mutation): void
      • Parameters

        • mutation: CellMutation

        Returns void

  • insertBelow: ((mutation) => void)
      • (mutation): void
      • Parameters

        • mutation: CellMutation

        Returns void

  • interrupt: ((id) => void)
      • (id): void
      • Parameters

        • id: string

        Returns void

  • reset: (() => void)
      • (): void
      • Returns void

  • run: ((id) => void)
      • (id): void
      • Parameters

        • id: string

        Returns void

  • runAll: ((id) => void)
      • (id): void
      • Parameters

        • id: string

        Returns void

  • save: ((mutation) => void)
      • (mutation): void
      • Parameters

        • mutation: DateMutation

        Returns void

  • selectActiveCell: ((id) => Cell<ICellModel> | undefined)
      • (id): Cell<ICellModel> | undefined
      • Parameters

        • id: string

        Returns Cell<ICellModel> | undefined

  • selectKernelStatus: ((id) => string | undefined)
      • (id): string | undefined
      • Parameters

        • id: string

        Returns string | undefined

  • selectNotebook: ((id) => INotebookState | undefined)
  • selectNotebookAdapter: ((id) => NotebookAdapter | undefined)
  • selectNotebookModel: ((id) => {
        changed: any;
        model: INotebookModel | undefined;
    } | undefined)
      • (id): {
            changed: any;
            model: INotebookModel | undefined;
        } | undefined
      • Parameters

        • id: string

        Returns {
            changed: any;
            model: INotebookModel | undefined;
        } | undefined

  • selectNotebookPortalDisplay: ((id) => PortalDisplay | undefined)
  • selectNotebookPortals: ((id) => React.ReactPortal[] | undefined)
      • (id): React.ReactPortal[] | undefined
      • Parameters

        • id: string

        Returns React.ReactPortal[] | undefined

  • selectSaveRequest: ((id) => Date | undefined)
      • (id): Date | undefined
      • Parameters

        • id: string

        Returns Date | undefined

  • setNotebooks: ((notebooks) => void)
      • (notebooks): void
      • Parameters

        Returns void

  • setPortalDisplay: ((portalDisplayId) => void)
      • (portalDisplayId): void
      • Parameters

        • portalDisplayId: PortalDisplayMutation

        Returns void

  • setPortals: ((portalsId) => void)
      • (portalsId): void
      • Parameters

        • portalsId: ReactPortalsMutation

        Returns void

  • update: ((update) => void)
      • (update): void
      • Parameters

        • update: NotebookUpdate

        Returns void