aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-17 16:28:18 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-17 16:28:18 -0400
commit86e01c6b0d252dabaa261b1be26c905da70ec94f (patch)
treec7499c3c7c2ac7b364d58f3aa3fc569675a0b2b9
parent251f30c402700169213ed4560a7797a785a50e78 (diff)
downloadJellySolutions-86e01c6b0d252dabaa261b1be26c905da70ec94f.tar.gz
JellySolutions-86e01c6b0d252dabaa261b1be26c905da70ec94f.tar.bz2
JellySolutions-86e01c6b0d252dabaa261b1be26c905da70ec94f.zip
Add userType to frontend
-rw-r--r--ufund-ui/src/app/models/User.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/ufund-ui/src/app/models/User.ts b/ufund-ui/src/app/models/User.ts
index 9149fe7..141f8aa 100644
--- a/ufund-ui/src/app/models/User.ts
+++ b/ufund-ui/src/app/models/User.ts
@@ -1,6 +1,12 @@
import {Need} from './Need';
+enum userType {
+ HELPER,
+ MANAGER
+}
+
export interface User {
username: string;
basket: Need[];
+ type: userType
}