EasyRecon/Hunt3r

View on GitHub
frontend/src/app/core/user/user.ts

Summary

Maintainability
A
0 mins
Test Coverage

export interface User {
    id: number ;
    email: string ;
    role: string;
    created_at: string;
 }
 export interface UpdateUser {
    id: number;
    email: string;
    password: string;
    role: string;
    created_at: string;
 }

 export interface DataUser {
    data: User
 }

 export interface DataUsers {
   data: User[]
}

export interface AddUser {
   "user":{
      email: string ;
      password: string;
      password_confirm: string;
   }
}

export interface UserResponse {
   message: string;
   data:string
}