Skip to content

Commit

Permalink
fix: improve sadface types
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Jun 6, 2023
1 parent 0c42c91 commit 4f2ba54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/schemas/sadface.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { JsonObject } from "@bufbuild/protobuf";

export interface Graph {
nodes: Array<Node>;
edges: Array<Edge>;
Expand All @@ -14,7 +16,7 @@ export type Node = AtomNode | SchemeNode;

export interface AtomNode {
id: string;
metadata: object;
metadata: JsonObject;
sources: Array<any>;
text: string;
type: "atom";
Expand All @@ -24,7 +26,7 @@ export const DATE_FORMAT = "YYYY-MM-DDTHH:mm:ss";

export interface SchemeNode {
id: string;
metadata: object;
metadata: JsonObject;
name: string;
type: "scheme";
}
Expand Down

0 comments on commit 4f2ba54

Please # to comment.