diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
| commit | c63738e17df4d5bfff2049a6d1c445c609c2189e (patch) | |
| tree | 5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/types.ts | |
| parent | 71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff) | |
fix: fix lots of type errors
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 18 |
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; +} |
