@ooneex/user
v1.2.11
Published
User identity types and interfaces defining profiles, authentication credentials, roles, and account metadata for user management systems
Maintainers
Readme
@ooneex/user
User identity types and interfaces defining profiles, authentication credentials, roles, and account metadata for user management systems.
Features
✅ User Interface - IUser with email, roles, profile fields, two-factor auth, and session/account references
✅ Session Management - ISession interface with token, refresh token, device info, location, and expiration tracking
✅ Multi-Provider Accounts - IAccount interface supporting OAuth, email, credentials, and WebAuthn authentication types
✅ Verification System - IVerification interface for email, phone, password reset, two-factor, and account activation flows
✅ Profile Update Auditing - IUserProfileUpdate interface tracking field changes, previous/new values, and approval status
✅ Account Type Enums - EAccountType, EVerificationType, and EProfileUpdateStatus enums with string literal types
✅ Zero Runtime - Pure type definitions and enums with no runtime overhead
Installation
bun add @ooneex/userLicense
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Setup
- Clone the repository
- Install dependencies:
bun install - Run tests:
bun run test - Build the project:
bun run build
Guidelines
- Write tests for new features
- Follow the existing code style
- Update documentation for API changes
- Ensure all tests pass before submitting PR
Made with ❤️ by the Ooneex team
