summaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-03-14 19:29:29 -0400
commitc63738e17df4d5bfff2049a6d1c445c609c2189e (patch)
tree5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/types.ts
parent71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff)
fix: fix lots of type errors
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts18
1 files changed, 18 insertions, 0 deletions
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;
+}