Ignore:
Timestamp:
01/26/26 17:59:16 (6 months ago)
Author:
Filip Gavrilovski <filipgavrilovski28@…>
Branches:
main
Children:
484dc3f
Parents:
4022db1
Message:

modify user response dto to store other relevant user data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/src/types.ts

    r4022db1 r3727852  
    1 export interface UserResponse {
    2         username: string;
    3         role: "ADMIN" | "NONADMIN";
    4 }
    5 
    61export interface User {
    72        username: string;
    83        fullName: string;
    9         email: string;
     4        email?: string;
    105        profilePhoto?: string | null;
    116        role?: "ADMIN" | "NONADMIN";
Note: See TracChangeset for help on using the changeset viewer.