From c63738e17df4d5bfff2049a6d1c445c609c2189e Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Thu, 14 Mar 2024 19:29:29 -0400 Subject: fix: fix lots of type errors --- src/types.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/types.ts (limited to 'src/types.ts') diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..29d14a3 --- /dev/null +++ b/src/types.ts @@ -0,0 +1,18 @@ +export interface Project { + id: string; + owner: string; + name: string; +} + +export interface Node { + id: string; + x: number; + y: number; + name: string; +} + +export interface Link { + id: string; + from: string; + to: string; +} -- cgit v1.2.3