Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. interface ICellModel {
  2. type: string;
  3. inputAreaId: string;
  4. outputAreaId: string;
  5. }
  6.  
  7. interface IInputAreaModel {
  8. source: string;
  9. }
  10.  
  11. interface IOutputAreaModel {
  12. mimeBundleIds: string[];
  13. }
  14.  
  15. interface IMimeBundle { }
  16.  
  17. interface INotebookModel {
  18. // array of cell ids
  19. cells: string[];
  20.  
  21. // mapping of cell id to cell
  22. cellsById: { [id: string]: ICellModel };
  23.  
  24. inputAreaModelsById: { [id: string]: IInputAreaModel }
  25.  
  26. outputAreaModelsById: { [id: string]: IOutputAreaModel };
  27.  
  28. mimeBudlesById: { [id: string]: IMimeBundle };
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement