{"_id":"@dbs-portal/module-account","name":"@dbs-portal/module-account","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@dbs-portal/module-account","version":"1.0.0","description":"Account management and authentication UI module","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./components":{"import":"./dist/components.js","types":"./dist/components.d.ts"},"./services":{"import":"./dist/services.js","types":"./dist/services.d.ts"},"./types":{"import":"./dist/types.js","types":"./dist/types.d.ts"},"./hooks":{"import":"./dist/hooks.js","types":"./dist/hooks.d.ts"}},"scripts":{"build":"tsc && vite build","dev":"tsc --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","lint":"biome lint src","format":"biome format src --write","lint:fix":"biome lint src --fix","type-check":"tsc --noEmit"},"dependencies":{"@dbs-portal/core-api":"1.0.0","@dbs-portal/core-auth":"1.0.0","@dbs-portal/core-shared":"1.0.0","@dbs-portal/core-store":"1.0.0","@dbs-portal/core-ui":"1.0.0","@tanstack/react-query":"^5.0.0","@tanstack/react-router":"^1.0.0","antd":"^5.0.0","date-fns":"^3.0.0","immer":"^10.0.0","lodash-es":"^4.17.21","react":"^18.2.0","react-dom":"^18.2.0","zod":"^3.0.0","zustand":"^4.0.0"},"devDependencies":{"@dbs-portal/tool-build":"1.0.0","@dbs-portal/tool-testing":"1.0.0","@dbs-portal/tool-tsconfig":"1.0.0","@testing-library/jest-dom":"^6.6.4","@types/lodash-es":"^4.17.0","@types/react":"^18.2.0","@types/react-dom":"^18.2.0","typescript":"^5.0.0","vite":"^5.0.0","vitest":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/your-org/dbs-portal.git","directory":"packages/modules/account"},"bugs":{"url":"https://github.com/your-org/dbs-portal/issues"},"homepage":"https://github.com/your-org/dbs-portal#readme","author":{"name":"DBS Portal Team"},"license":"MIT","_id":"@dbs-portal/module-account@1.0.0","gitHead":"61a23904a481b624f3e8ed7abb6c944ecfeaca7b","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Xeq4DqeDYh7Hf6HFVAr8qs4B8HncwrejdUis0zayaTP9mRS5aDJNn03QInklpw8cqCODqCNRLDi3gelLdP/Z9w==","shasum":"7a9837e3a339297426a10c19c5c0f19077e9d323","tarball":"https://registry.npmjs.org/@dbs-portal/module-account/-/module-account-1.0.0.tgz","fileCount":128,"unpackedSize":1389018,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBUAPutPUY7XirT88zeT48Lo2T7MThbUOWiXVkpLVbLqAiEA4nfafoWlQZ9TyQGFctLnMLeZo6g4TmhNFT9/CyhcEd4="}]},"_npmUser":{"name":"longvq","email":"vqlong1604@gmail.com"},"directories":{},"maintainers":[{"name":"longvq","email":"vqlong1604@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/module-account_1.0.0_1754218656402_0.4803647704105065"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-03T10:57:36.303Z","1.0.0":"2025-08-03T10:57:36.666Z","modified":"2025-08-03T10:57:36.880Z"},"maintainers":[{"name":"longvq","email":"vqlong1604@gmail.com"}],"description":"Account management and authentication UI module","homepage":"https://github.com/your-org/dbs-portal#readme","repository":{"type":"git","url":"git+https://github.com/your-org/dbs-portal.git","directory":"packages/modules/account"},"author":{"name":"DBS Portal Team"},"bugs":{"url":"https://github.com/your-org/dbs-portal/issues"},"license":"MIT","readme":"# @dbs-portal/module-account\n\nAccount management and authentication UI module\n\n## Installation\n\n```bash\nyarn add @dbs-portal/module-account\n```\n\n## Usage\n\n```typescript\nimport { Account, createAccount } from '@dbs-portal/module-account'\n\n// Use the default instance\nconst result = await defaultAccount.process(data)\n\n// Or create a custom instance\nconst customAccount = createAccount({\n  enabled: true,\n  debug: true,\n})\n\nconst customResult = await customAccount.process(data)\n```\n\n## API Reference\n\n### Classes\n\n#### `Account`\n\nMain class for @dbs-portal/module-account functionality.\n\n**Constructor:**\n- `new Account(config?: AccountConfig)`\n\n**Methods:**\n- `getConfig(): AccountConfig` - Get current configuration\n- `process<T>(data: T): Promise<AccountResult<T>>` - Process data\n\n### Functions\n\n#### `createAccount(config?)`\n\nFactory function to create a new Account instance.\n\n## Development\n\n```bash\n# Build the package\nyarn build\n\n# Run tests\nyarn test\n\n# Type checking\nyarn type-check\n\n# Linting\nyarn lint\n```\n","readmeFilename":"README.md","_rev":"1-9c4a84b940bfddcf2c1119828a9cf55e"}