- Added bilingual comments and metadata in `layout.tsx`, including application title and description in both English and Vietnamese. - Updated `page.tsx` to include bilingual loading messages, welcome prompts, and login instructions for improved user experience. - Enhanced `login/page.tsx` with bilingual labels and messages for form fields and error handling. - Improved `auth.api.ts` with detailed comments on authentication processes, including registration, login, logout, and token management. - Updated `auth.store.ts` to include bilingual comments for state management and authentication methods. - Enhanced API response types in `api.types.ts` with bilingual documentation for better clarity. - Improved user management routes and services in `user.controller.ts` and `user.service.ts` with bilingual comments for better maintainability.
@goodgo/types
Shared TypeScript types and interfaces used across the monorepo.
Usage
import { User, Role, ApiResponse, LoginDto } from '@goodgo/types';
const user: User = {
id: '123',
email: 'user@example.com',
role: Role.USER,
isActive: true,
createdAt: new Date(),
updatedAt: new Date(),
};