Last active
June 25, 2017 21:17
-
-
Save ellisonbg/238d5576e3b7d5def4752475d54d7876 to your computer and use it in GitHub Desktop.
Notes on a notebook model that is flattened and normalized
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ICellModel { | |
type: string; | |
inputAreaId: string; | |
outputAreaId: string; | |
} | |
interface IInputAreaModel { | |
source: string; | |
} | |
interface IOutputAreaModel { | |
mimeBundleIds: string[]; | |
} | |
interface IMimeBundle { } | |
interface IOutputStore { | |
mimeBudlesById: { [id: string]: IMimeBundle }; | |
} | |
interface INotebookStore extends IOutputStore { | |
cells: string[]; | |
cellsById: { [id: string]: ICellModel }; | |
inputAreaModelsById: { [id: string]: IInputAreaModel } | |
outputAreaModelsById: { [id: string]: IOutputAreaModel }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment