From f96e6174fe90f3d2b1e3016861017cfcc25a6ddc Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 14 Nov 2020 23:11:06 +0300 Subject: feat: add APIClient --- src/types.ts | 12 ++++++++++++ 1 file changed, 12 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..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 {} + -- cgit v1.2.3