File size: 440 Bytes
6ecce98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
 * Interface for user authentication credentials
 */
export interface LoginCredentials {
  username: string;
  password: string;
}

/**
 * Interface for authentication response
 */
export interface AuthResponse {
  success: boolean;
  message: string;
  user?: {
    id: string;
    username: string;
    email: string;
  };
}

/**
 * Interface for error response
 */
export interface AuthError {
  message: string;
  status: number;
}