Implemented a Material You (Material 3) client for the bonch-open-api. - Added API client with axios - Added Zustand store for API config and user data - Added Login and Profile pages - Set up routing with react-router-dom - Added global styles with Material 3 tokens Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
273 B
TypeScript
18 lines
273 B
TypeScript
export interface Profile {
|
|
fullName: string;
|
|
group?: string;
|
|
faculty?: string;
|
|
studentId?: string;
|
|
email?: string;
|
|
raw: Record<string, string>;
|
|
}
|
|
|
|
export interface ApiResponse<T> {
|
|
data: T;
|
|
}
|
|
|
|
export interface ApiError {
|
|
error: string;
|
|
message: string;
|
|
}
|