diff options
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 } |