src/app/User.ts
Properties |
_id |
_id:
|
Type : string
|
password |
password:
|
Type : string
|
role |
role:
|
Type : string
|
username |
username:
|
Type : string
|
export interface User {
_id: string;
username: string;
password: string;
role: string; // Accepts any string value
}