feat: improving infrastructure

This commit is contained in:
Daniel Ledda
2022-06-30 08:33:13 +02:00
parent bd177c7f09
commit 3e5c53f9f5
12 changed files with 76 additions and 61 deletions

2
server/Maybe.ts Normal file
View File

@@ -0,0 +1,2 @@
export type Maybe<T> = Just<T> | { just?: never, error: { message: string }};
export type Just<T> = { just: T, error?: never };