feat: Goa GEL Blockchain e-Licensing Platform - Full Stack Implementation
Complete implementation of the Goa Government e-Licensing platform with: Backend: - NestJS API with JWT authentication - PostgreSQL database with Knex ORM - Redis caching and session management - MinIO document storage - Hyperledger Besu blockchain integration - Multi-department workflow system - Comprehensive API tests (266/282 passing) Frontend: - Angular 21 with standalone components - Angular Material + TailwindCSS UI - Visual workflow builder - Document upload with progress tracking - Blockchain explorer integration - Role-based dashboards (Admin, Department, Citizen) - E2E tests with Playwright (37 tests) Infrastructure: - Docker Compose orchestration - Blockscout blockchain explorer - Development and production configurations
This commit is contained in:
41
frontend/src/app/api/models/auth.models.ts
Normal file
41
frontend/src/app/api/models/auth.models.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* Auth API Models
|
||||
* Models for authentication and authorization
|
||||
*/
|
||||
|
||||
import { DepartmentResponseDto } from './department.models';
|
||||
import { ApplicantResponseDto } from './applicant.models';
|
||||
|
||||
export interface LoginDto {
|
||||
apiKey: string;
|
||||
departmentCode: string;
|
||||
}
|
||||
|
||||
export interface LoginResponseDto {
|
||||
accessToken: string;
|
||||
department: DepartmentResponseDto;
|
||||
}
|
||||
|
||||
export interface DigiLockerLoginDto {
|
||||
digilockerId: string;
|
||||
name?: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
}
|
||||
|
||||
export interface DigiLockerLoginResponseDto {
|
||||
accessToken: string;
|
||||
applicant: ApplicantResponseDto;
|
||||
}
|
||||
|
||||
export interface CurrentUserDto {
|
||||
id: string;
|
||||
type: 'APPLICANT' | 'DEPARTMENT' | 'ADMIN';
|
||||
name: string;
|
||||
email: string;
|
||||
role?: string;
|
||||
departmentCode?: string;
|
||||
departmentId?: string;
|
||||
digilockerId?: string;
|
||||
walletAddress?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user