Integrate complete Candidat platform with ASP.NET chatbot service
- Added Next.js frontend for candidate interviews - Added Node.js backend with TypeScript and AI integration - Added ASP.NET Core chatbot service for specialized AI conversations - Added MySQL database with complete schema - Added Nginx reverse proxy configuration - Complete Docker Compose orchestration for all services - Environment configuration for production, development, and Cloudflare - Comprehensive documentation and setup instructions - Flattened nested folder structures for clean organization - Integrated chatbot service with fallback to direct AI calls
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
export interface User {
|
||||
id: string;
|
||||
email: string;
|
||||
password_hash: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
role: 'admin' | 'recruiter';
|
||||
company_name?: string;
|
||||
avatar_url?: string;
|
||||
is_active: boolean;
|
||||
last_login_at?: Date;
|
||||
email_verified_at?: Date;
|
||||
created_at: Date;
|
||||
updated_at: Date;
|
||||
deleted_at?: Date;
|
||||
}
|
||||
|
||||
export type LoginRequest = {
|
||||
email: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
export type RegisterRequest = {
|
||||
email: string;
|
||||
password: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
company_name?: string;
|
||||
}
|
||||
|
||||
export type CreateUserRequest = {
|
||||
email: string;
|
||||
password: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
company_name?: string;
|
||||
role?: 'admin' | 'recruiter';
|
||||
}
|
||||
|
||||
export type UpdateUserRequest = {
|
||||
first_name?: string;
|
||||
last_name?: string;
|
||||
company_name?: string;
|
||||
avatar_url?: string;
|
||||
is_active?: boolean;
|
||||
}
|
||||
|
||||
export type UserResponse = {
|
||||
id: string;
|
||||
email: string;
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
role: 'admin' | 'recruiter';
|
||||
company_name?: string;
|
||||
avatar_url?: string;
|
||||
is_active: boolean;
|
||||
last_login_at?: Date;
|
||||
email_verified_at?: Date;
|
||||
created_at: Date;
|
||||
updated_at: Date;
|
||||
}
|
||||
|
||||
export type LoginResponse = {
|
||||
token: string;
|
||||
user: UserResponse;
|
||||
}
|
||||
Reference in New Issue
Block a user