{"_id":"@anarchitects/identity-ts","_rev":"3-f787b775d4f207c8e3bbb8a77f41f4bd","name":"@anarchitects/identity-ts","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@anarchitects/identity-ts","version":"0.0.1","keywords":["identity","profile","anarchitecture"],"license":"Apache-2.0","_id":"@anarchitects/identity-ts@0.0.1","maintainers":[{"name":"vrxj81","email":"johan@anarchitects.dev"}],"homepage":"https://github.com/anarchitects/anarchitecture-bricks-3tier/tree/main/libs/identity/ts","bugs":{"url":"https://github.com/anarchitects/anarchitecture-bricks-3tier/issues"},"dist":{"shasum":"66ae93b2b610ff9ba695d8dd38f0b7714fc8bb6b","tarball":"https://registry.npmjs.org/@anarchitects/identity-ts/-/identity-ts-0.0.1.tgz","fileCount":19,"integrity":"sha512-0hBtaluTnuBNIPBOtEXFbhTKb3gUVIbMPqR3TGO1EL8QsfVbCv2vzKkGdXufzXeurGdGoHr3wl0yqhKgKepLyQ==","signatures":[{"sig":"MEUCICBSeK3WMvf2KPwrQLdy+xOHA+mpmLnPbcQAmsuo4qUwAiEAwUZjPTuaog3s/hn8uRV/CWd4Ketccu+nX3CY1DR8dzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13084},"main":"./index.js","type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./dtos":{"types":"./dtos/index.d.ts","import":"./dtos/index.js","require":"./dtos/index.cjs"},"./models":{"types":"./models/index.d.ts","import":"./models/index.js","require":"./models/index.cjs"},"./package.json":"./package.json"},"gitHead":"7d880553c94f848401b390cb7828e7bc813d752f","_npmUser":{"name":"vrxj81","email":"johan@anarchitects.dev"},"repository":{"url":"git+https://github.com/anarchitects/anarchitecture-bricks-3tier.git","type":"git","directory":"libs/identity/ts"},"_npmVersion":"11.19.0","description":"Shared identity models and TypeBox DTO schemas for the Anarchitecture identity domain.","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@sinclair/typebox":"0.34.41"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/identity-ts_0.0.1_1788257326593_0.8815592750969656","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@anarchitects/identity-ts","version":"0.0.2","keywords":["identity","profile","anarchitecture"],"license":"Apache-2.0","_id":"@anarchitects/identity-ts@0.0.2","maintainers":[{"name":"vrxj81","email":"johan@anarchitects.dev"}],"homepage":"https://github.com/anarchitects/anarchitecture-bricks-3tier/tree/main/libs/identity/ts","bugs":{"url":"https://github.com/anarchitects/anarchitecture-bricks-3tier/issues"},"dist":{"shasum":"cb2b666e4e8865e1b099e0ebd4846b8813e0fdad","tarball":"https://registry.npmjs.org/@anarchitects/identity-ts/-/identity-ts-0.0.2.tgz","fileCount":19,"integrity":"sha512-siZJ+txR+UKOwz2UUvyHE6PcBjasdwwTXV6m2bBYLVNitaNIz8+x2Z9mPuUXhTZe5Tt9VB375cNq/c5EJ3URDg==","signatures":[{"sig":"MEYCIQCbX5eGH9OoTD2xQK/XR8hudOmvHVEEUL+6n3SiTrRAMwIhAK0UBdcos77AoD2934NKFPpAZeNHOzoI3J0UzJfhNEI9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13084},"main":"./index.js","type":"module","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./dtos":{"types":"./dtos/index.d.ts","import":"./dtos/index.js","require":"./dtos/index.cjs"},"./models":{"types":"./models/index.d.ts","import":"./models/index.js","require":"./models/index.cjs"},"./package.json":"./package.json"},"gitHead":"01c1b71ebfa5a6e42599cd00af64bf3ce99cb0a5","_npmUser":{"name":"vrxj81","email":"johan@anarchitects.dev"},"repository":{"url":"git+https://github.com/anarchitects/anarchitecture-bricks-3tier.git","type":"git","directory":"libs/identity/ts"},"_npmVersion":"11.19.0","description":"Shared identity models and TypeBox DTO schemas for the Anarchitecture identity domain.","directories":{},"_nodeVersion":"26.8.1","dependencies":{"@sinclair/typebox":"0.34.41"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/identity-ts_0.0.2_1788339997613_0.4565078762987831","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@anarchitects/identity-ts","version":"0.1.0","description":"Shared identity models and TypeBox DTO schemas for the Anarchitecture identity domain.","type":"module","main":"./index.js","types":"./index.d.ts","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/anarchitects/anarchitecture-bricks-3tier.git","directory":"libs/identity/ts"},"homepage":"https://github.com/anarchitects/anarchitecture-bricks-3tier/tree/main/libs/identity/ts","bugs":{"url":"https://github.com/anarchitects/anarchitecture-bricks-3tier/issues"},"keywords":["identity","profile","anarchitecture"],"dependencies":{"@sinclair/typebox":"0.34.41"},"exports":{".":{"types":"./index.d.ts","import":"./index.js","require":"./index.cjs"},"./dtos":{"types":"./dtos/index.d.ts","import":"./dtos/index.js","require":"./dtos/index.cjs"},"./models":{"types":"./models/index.d.ts","import":"./models/index.js","require":"./models/index.cjs"},"./package.json":"./package.json"},"publishConfig":{"access":"public"},"gitHead":"fe0603339f56fcc4ecc1156ca51f676366d72104","_id":"@anarchitects/identity-ts@0.1.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-OyJktdIH9lav8MqvSTMDqsWPt4eZjyz2ML2/3WLBhyPKhoVv+0Ylqy1Gim+D9mF2CkXsoQFnCoXRYIXyQSmHNg==","shasum":"20e6a06ae2902aa580352c0515b03f53a8103d64","tarball":"https://registry.npmjs.org/@anarchitects/identity-ts/-/identity-ts-0.1.0.tgz","fileCount":19,"unpackedSize":13084,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anarchitects%2fidentity-ts@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBbC6/eyWzjdjhn8V6M5Z8uJrz/rDLfULpR9GaQTLnkOAiAiaMVZ0QkD7wZ4ZZyNGa3uRk9NHXHgOlZFT//ULC3KOg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ccdaf7a-5356-4696-9832-d8ab5c7314b5"}},"directories":{},"maintainers":[{"name":"vrxj81","email":"johan@anarchitects.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/identity-ts_0.1.0_1788341563863_0.05376097138365887"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-01T10:08:46.356Z","modified":"2026-09-02T09:32:44.366Z","0.0.1":"2026-09-01T10:08:46.715Z","0.0.2":"2026-09-02T09:06:37.743Z","0.1.0":"2026-09-02T09:32:44.009Z"},"bugs":{"url":"https://github.com/anarchitects/anarchitecture-bricks-3tier/issues"},"license":"Apache-2.0","homepage":"https://github.com/anarchitects/anarchitecture-bricks-3tier/tree/main/libs/identity/ts","keywords":["identity","profile","anarchitecture"],"repository":{"type":"git","url":"git+https://github.com/anarchitects/anarchitecture-bricks-3tier.git","directory":"libs/identity/ts"},"description":"Shared identity models and TypeBox DTO schemas for the Anarchitecture identity domain.","maintainers":[{"name":"vrxj81","email":"johan@anarchitects.dev"}],"readme":"# @anarchitects/identity-ts\n\nShared TypeScript models and TypeBox DTO schemas for the Anarchitecture identity domain.\n\n## Developer + AI Agent Start Here\n\n- Treat this package as the canonical home for shared identity contracts and models.\n- Prefer public imports from `@anarchitects/identity-ts`, `@anarchitects/identity-ts/models`, or `@anarchitects/identity-ts/dtos`.\n- Keep framework-specific behavior in `@anarchitects/identity-angular` and `@anarchitects/identity-nest`.\n\n## Features\n\n- Canonical shared `UserProfile` model for future cross-stack use\n- TypeBox DTO and schema contracts for create/get/update profile operations\n- Clean root and secondary entry points without deep-import requirements\n- Publishable package metadata aligned with the rest of the workspace\n\n## Installation\n\n```bash\nnpm install @anarchitects/identity-ts\n# or\nyarn add @anarchitects/identity-ts\n# or\npnpm add @anarchitects/identity-ts\n```\n\n## Entry points\n\n| Import path                        | Description                                     |\n| ---------------------------------- | ----------------------------------------------- |\n| `@anarchitects/identity-ts`        | Root barrel for shared identity models and DTOs |\n| `@anarchitects/identity-ts/models` | Shared identity model definitions               |\n| `@anarchitects/identity-ts/dtos`   | Shared identity DTO schemas and types           |\n\n## Usage\n\n```ts\nimport { CreateUserProfileRequestDTO, UserProfile } from '@anarchitects/identity-ts';\n\nconst createProfile: CreateUserProfileRequestDTO = {\n  authUserId: 'auth-user-id',\n  displayName: 'Jane Doe',\n};\n\nconst profile: UserProfile = {\n  id: 'profile-id',\n  authUserId: 'auth-user-id',\n  displayName: 'Jane Doe',\n  givenName: 'Jane',\n  familyName: 'Doe',\n  avatarUrl: null,\n  locale: 'en-BE',\n  timeZone: 'Europe/Brussels',\n  createdAt: new Date('2026-05-08T12:00:00.000Z'),\n  updatedAt: new Date('2026-05-08T12:00:00.000Z'),\n};\n```\n\n## Scripts\n\n- `yarn nx run identity-ts:build`\n- `yarn nx run identity-ts:test`\n\n## Development notes\n\n- This package is the canonical source for shared identity profile contracts.\n- Persistence behavior, repositories, services, and HTTP endpoints belong to follow-up identity issues.\n\n## Contributing\n\nAdd new identity DTOs and models here first, then wire Angular and Nest consumers against the published entry points.\n\n## License\n\nLicensed under the Apache License, Version 2.0.\n","readmeFilename":"README.md"}