From adcd15d83cb79fd3f2a1565b9bc360d478b7db8a Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Sat, 15 Apr 2023 01:31:30 +0100 Subject: [PATCH] Added basic types --- backend-services/friend-service/src/Types/Friend.ts | 4 ++++ backend-services/friend-service/src/Types/Request.ts | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 backend-services/friend-service/src/Types/Friend.ts create mode 100644 backend-services/friend-service/src/Types/Request.ts diff --git a/backend-services/friend-service/src/Types/Friend.ts b/backend-services/friend-service/src/Types/Friend.ts new file mode 100644 index 00000000..4e85acb1 --- /dev/null +++ b/backend-services/friend-service/src/Types/Friend.ts @@ -0,0 +1,4 @@ +export type Friend = { + User1: string, + User2: string +} \ No newline at end of file diff --git a/backend-services/friend-service/src/Types/Request.ts b/backend-services/friend-service/src/Types/Request.ts new file mode 100644 index 00000000..8e57f8bb --- /dev/null +++ b/backend-services/friend-service/src/Types/Request.ts @@ -0,0 +1,4 @@ +export type FriendRequest = { + SourceUser: string, + TargetUser: string +} \ No newline at end of file -- GitLab