{"_id":"@aopslabs/xf-bm","_rev":"2-2064a3e3f8b61830c25488fd5a7f9988","name":"@aopslabs/xf-bm","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.0":{"name":"@aopslabs/xf-bm","version":"0.2.0","license":"SEE LICENSE IN LICENSE","_id":"@aopslabs/xf-bm@0.2.0","maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"dist":{"shasum":"667ceaab30804440290121c2b11776826b61d1a1","tarball":"https://registry.npmjs.org/@aopslabs/xf-bm/-/xf-bm-0.2.0.tgz","fileCount":18,"integrity":"sha512-BXIZKii6bOZ//bCyx6KadIVQrMX0VJ1lIvLtL3eHvGhBtdx2ZZkt5LQ18e2NwbS/we1K8lOcN3kGI5o7ZuBwzA==","signatures":[{"sig":"MEYCIQD/qMJgWf2+49kM1yWm3HEGyfWvNMdDBm+uC+xluQ50tQIhAOczte/cgs85LSHExsQSJsJkp6jKpIMtana0qgciCTZC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21692},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"build":"tsc -p tsconfig.lib.json"},"_npmUser":{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"},"repository":{"url":"https://github.com/eeemzs/xf-packages.git","type":"git"},"directories":{},"_nodeVersion":"22.18.0","dependencies":{"tslib":"^2.3.0","effect":"3.20.0","@aopslabs/xf-core":"^0.2.0","@aopslabs/xf-i18n":"^0.2.0","@aopslabs/xf-logger":"^0.2.1","@aopslabs/xf-validation":"^0.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"peerDependencies":{"zod":"4.4.3"},"_npmOperationalInternal":{"tmp":"tmp/xf-bm_0.2.0_1785857521640_0.16227131842689135","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"_id":"@aopslabs/xf-bm@0.2.1","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"},"dist":{"shasum":"1446761fd210e5a71dd642e4affb4acd734ee350","tarball":"https://registry.npmjs.org/@aopslabs/xf-bm/-/xf-bm-0.2.1.tgz","fileCount":18,"integrity":"sha512-JSWtbcW5LlyKejJbIm+QIrzdqjAOGzzrcYil3B3S4RdM8lnrcCTRzBm2pKnMmnBKwEteJGJ68Szgh/IvOKI7hg==","signatures":[{"sig":"MEQCIHSwqIhaUvMhE0ZXqu2ZSudWG3hqRL9tBiR8/6IpkANiAiBs8jLf5/nEi9pvFI0konVUEhiVrdx2gLCb3pkkUFxuRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCjUCfbpO25AOb5FKo7enj4pjpB7eWqYrBu4QCAMIiBUgIhAMHu24x3c2K3wpHYphnJxcDC2WyUIpCeaez/wOuQBEoX"}],"unpackedSize":21881},"main":"./dist/index.js","name":"@aopslabs/xf-bm","type":"module","_from":"file:/home/runner/work/_temp/release-candidates/aopslabs-xf-bm-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"license":"SEE LICENSE IN LICENSE","private":false,"scripts":{"lint":"eslint . --max-warnings=0","build":"tsc -p tsconfig.lib.json"},"version":"0.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fdcce5b1-845e-42bd-99fd-08824ed7fc5d"}},"homepage":"https://github.com/eeemzs/tsapps#readme","_resolved":"/home/runner/work/_temp/release-candidates/aopslabs-xf-bm-0.2.1.tgz","_integrity":"sha512-JSWtbcW5LlyKejJbIm+QIrzdqjAOGzzrcYil3B3S4RdM8lnrcCTRzBm2pKnMmnBKwEteJGJ68Szgh/IvOKI7hg==","repository":{"url":"git+https://github.com/eeemzs/tsapps.git","type":"git","directory":"packages/xf-packages/xf-bm"},"_npmVersion":"11.9.0","description":"Base classes and type helpers for validated, locale-aware business models in TypeScript applications.","directories":{},"maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"tslib":"^2.3.0","effect":"3.20.0","@aopslabs/xf-core":"^0.2.1","@aopslabs/xf-i18n":"^0.2.1","@aopslabs/xf-logger":"^0.2.2","@aopslabs/xf-validation":"^0.2.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.39.5","typescript":"5.9.3","@types/node":"25.3.0","@aopslabs/eslint-config":"0.0.0","@aopslabs/typescript-config":"0.0.0"},"peerDependencies":{"zod":"4.4.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xf-bm_0.2.1_1788791363164_0.7878424165348554"}}},"time":{"created":"2026-08-04T15:32:01.499Z","modified":"2026-09-07T14:29:23.435Z","0.2.0":"2026-08-04T15:32:01.770Z","0.2.1":"2026-09-07T14:29:23.246Z"},"license":"SEE LICENSE IN LICENSE","repository":{"url":"git+https://github.com/eeemzs/tsapps.git","type":"git","directory":"packages/xf-packages/xf-bm"},"maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"readme":"# @aopslabs/xf-bm\n\nBase classes and type helpers for validated, locale-aware business models in TypeScript applications.\n\n## Install\n\n```bash\nnpm install @aopslabs/xf-bm zod\n```\n\n## Usage\n\n```ts\nimport { z } from 'zod';\nimport { BmBase, type Ibm } from '@aopslabs/xf-bm';\n\ninterface Profile extends Ibm {\n  email: string;\n}\n\nclass ProfileModel extends BmBase<Profile, Record<string, never>> {\n  protected buildSchemas() {\n    return {\n      create: z.object({ email: z.string().email() })\n    };\n  }\n}\n```\n\nThe package includes common model fields, schema utilities, multilingual-field helpers, translated metadata, and structured validation results.\n\n## License\n\nPolyForm Strict License 1.0.0. See `LICENSE` and `NOTICE`.\n","readmeFilename":"README.md","description":"Base classes and type helpers for validated, locale-aware business models in TypeScript applications.","homepage":"https://github.com/eeemzs/tsapps#readme","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"}}