Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
GordonSmith committed Aug 19, 2024
1 parent f6099f7 commit 526e11d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/notebook/controller/serializer-types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import type { ohq } from "@hpcc-js/observablehq-compiler";

export interface WUOutput {
configuration: string;
wuid: string;
results: { [id: string]: object };
}

export interface OJSCell {
nodeId: string | number;
ojsSource: string;
}

export interface OJSOutput {
notebookId: string;
folder: string;
files: ohq.File[], // notebook: ohq.Notebook;
cell: OJSCell;
otherCells: OJSCell[];
}

export interface Meta {
notebook: { [id: string]: ohq.Notebook },
node: { [id: string | number]: ohq.Node }
}

0 comments on commit 526e11d

Please sign in to comment.