diff options
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..dc429a4 --- /dev/null +++ b/src/types.ts @@ -0,0 +1,12 @@ +interface Base { + _id: string; + createdAt: string; + updatedAt: string; +} + +export interface User extends Base { + username: string; +} + +export interface Event extends Base {} + |