diff options
| author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-17 23:12:49 -0400 | 
|---|---|---|
| committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-17 23:12:49 -0400 | 
| commit | 5b6c20479fbb6ed0cabbbc88b42280c5a7dbd22c (patch) | |
| tree | 16f93b3ce3b40de1e550f3824f60ca3aac632265 /ufund-ui/src/app/models | |
| parent | 7a5c5073e9e410b3ccc3ab7902a0d6f558277c7d (diff) | |
| parent | 2b847078b7af4ade35461b8af52352bc88994be3 (diff) | |
| download | JellySolutions-5b6c20479fbb6ed0cabbbc88b42280c5a7dbd22c.tar.gz JellySolutions-5b6c20479fbb6ed0cabbbc88b42280c5a7dbd22c.tar.bz2 JellySolutions-5b6c20479fbb6ed0cabbbc88b42280c5a7dbd22c.zip  | |
Merge branch 'main' into funding_basket
Diffstat (limited to 'ufund-ui/src/app/models')
| -rw-r--r-- | ufund-ui/src/app/models/Need.ts | 2 | ||||
| -rw-r--r-- | ufund-ui/src/app/models/User.ts | 10 | 
2 files changed, 9 insertions, 3 deletions
diff --git a/ufund-ui/src/app/models/Need.ts b/ufund-ui/src/app/models/Need.ts index c0425ec..9e97fd4 100644 --- a/ufund-ui/src/app/models/Need.ts +++ b/ufund-ui/src/app/models/Need.ts @@ -1,7 +1,7 @@  export interface Need {    name: string,    id: number, -  filterAttributes: String[], +  filterAttributes: string[],    type: GoalType;    maxGoal: number;    current: number; diff --git a/ufund-ui/src/app/models/User.ts b/ufund-ui/src/app/models/User.ts index 46fe4a1..b640e04 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'; +export enum userType { +    HELPER, +    MANAGER +} +  export interface User { -  username: string; -  cupboard: Need[]; +    username: string; +    basket: Need[]; +    type: userType  }  | 
