{"_id":"@crudjsx/crud-policy","_rev":"5-7d29e8148f2508bbcc76941f4ef8b24c","name":"@crudjsx/crud-policy","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.12":{"name":"@crudjsx/crud-policy","version":"1.0.12","keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"license":"MIT","_id":"@crudjsx/crud-policy@1.0.12","maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"homepage":"https://github.com/crudjsx/nestjs-crud#readme","bugs":{"url":"https://github.com/crudjsx/nestjs-crud/issues"},"dist":{"shasum":"175539fef9e3f1ac7ca292a468cbf1fdd5c4413e","tarball":"https://registry.npmjs.org/@crudjsx/crud-policy/-/crud-policy-1.0.12.tgz","fileCount":33,"integrity":"sha512-Rh2FR4C19n9ZRza6A/Cf2tH/ItHBFpEJFElFzSdzQIAGmbC7EmbdFpM7BPtAsGZdsZzpK4mh/KvapuP/DrLa5A==","signatures":[{"sig":"MEUCIB3Pad2G45Q+cIA2GBDz553FEgN5fe/Pna+qx8xXEcv6AiEAxLg73X9fYEvmBeFB+x43rWsr4z4ksXGfCCIJEWIXoOA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65674},"main":"lib/index.js","gitHead":"6580d233161696e24a686bc27b05a1175bf1cb91","scripts":{"build":"npx tsc -b"},"typings":"lib/index.d.ts","_npmUser":{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"},"repository":{"url":"git+https://github.com/crudjsx/nestjs-crud.git","type":"git"},"_npmVersion":"lerna/7.1.1/node@v22.14.0+x64 (win32)","description":"NestJs CRUD for RESTful APIs - policy","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@crudjsx/crud":"^1.0.12"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crud-policy_1.0.12_1761715704082_0.44203645047794815","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@crudjsx/crud-policy","version":"1.0.13","keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"license":"MIT","_id":"@crudjsx/crud-policy@1.0.13","maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"bugs":{"url":"https://github.com/crudjsx/nestjs-crud/issues"},"dist":{"shasum":"5e4cc91edd0f374cafede5d7f5dcf2c4a591d85f","tarball":"https://registry.npmjs.org/@crudjsx/crud-policy/-/crud-policy-1.0.13.tgz","fileCount":33,"integrity":"sha512-DFE5AvggdWOIpjQzZMIaPks8fP7zsE5Ghma8jVhc45+PzLgofVZXkASa1RVHjfjmTYIn416W8a+q/Dlugo0TFw==","signatures":[{"sig":"MEUCIDqvC6/tz8yqIuaoMJ90BRLvLpBrBbaWm1rD471qMCAUAiEAr6O1ZzJ9vja77ZfJRurE9wg40371lpEBJVMteHkRMYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65674},"main":"lib/index.js","gitHead":"6580d233161696e24a686bc27b05a1175bf1cb91","scripts":{"build":"npx tsc -b"},"typings":"lib/index.d.ts","_npmUser":{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"},"repository":{"url":"https://github.com/crudjsx/nestjs-crud","type":"git"},"_npmVersion":"lerna/8.2.4/node@v22.14.0+x64 (win32)","description":"NestJs CRUD for RESTful APIs - policy","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@crudjsx/crud":"^1.0.13"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crud-policy_1.0.13_1761718143004_0.6257844380672521","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"@crudjsx/crud-policy","version":"1.0.14","keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"license":"MIT","_id":"@crudjsx/crud-policy@1.0.14","maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"homepage":"https://github.com/crudjsx/nestjs-crud#readme","bugs":{"url":"https://github.com/crudjsx/nestjs-crud/issues"},"dist":{"shasum":"1544562965b72998fbe74d50b9a5ce12568ce59b","tarball":"https://registry.npmjs.org/@crudjsx/crud-policy/-/crud-policy-1.0.14.tgz","fileCount":33,"integrity":"sha512-WIwJqJJ2u6oA/sMiebPjpfxm3wcNQokr+IZRFooT50M37L+SZQkVQlpaVyJv3mxE1h+FmjwucwKNJMfovyxJXQ==","signatures":[{"sig":"MEUCIHSev8Y3zmwlLwhqWFm+JkQ1JpyBLbHumL3lADKHXRkdAiEAr1ugrdzZuWEUBdB+xkf2LFfiXJy51p5rLznK69cD770=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65674},"main":"lib/index.js","gitHead":"3bbd6c6976ade616104434b6b81e003e6f8ed3a5","scripts":{"build":"npx tsc -b"},"typings":"lib/index.d.ts","_npmUser":{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"},"repository":{"url":"git+https://github.com/crudjsx/nestjs-crud.git","type":"git"},"_npmVersion":"lerna/9.0.0/node@v22.14.0+x64 (win32)","description":"NestJs CRUD for RESTful APIs - policy","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@crudjsx/crud":"^1.0.14"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crud-policy_1.0.14_1761718422196_0.3246048479832133","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"@crudjsx/crud-policy","version":"1.0.15","keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"license":"MIT","_id":"@crudjsx/crud-policy@1.0.15","maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"homepage":"https://github.com/crudjsx/nestjs-crud#readme","bugs":{"url":"https://github.com/crudjsx/nestjs-crud/issues"},"dist":{"shasum":"6c206452b4a402fc4df48b989a5bb6404055d953","tarball":"https://registry.npmjs.org/@crudjsx/crud-policy/-/crud-policy-1.0.15.tgz","fileCount":33,"integrity":"sha512-3gJuP8phoqFzBvFn8RAdsJFFHhFpThKI+BBb8yPDePD5z2KyjlMyErr5aJku1swC1iSq9BUhlbJYKI3PstZU7w==","signatures":[{"sig":"MEUCIQCdkdUUVZeXoR21QSHU5O75Tj2laEuxdM6NmS8PwjpjugIgdAcVlZ306WCMu8GntFlcgSRDXWjAdbnux9n/zEZ4hcE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65674},"main":"lib/index.js","gitHead":"8cd20f03d2a7542d2feec51ee23f34e787dfbd50","scripts":{"build":"npx tsc -b"},"typings":"lib/index.d.ts","_npmUser":{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"},"repository":{"url":"git+https://github.com/crudjsx/nestjs-crud.git","type":"git"},"_npmVersion":"lerna/9.0.0/node@v22.14.0+x64 (win32)","description":"NestJs CRUD for RESTful APIs - policy","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@crudjsx/crud":"^1.0.15"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/crud-policy_1.0.15_1761901353293_0.21934805136613478","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@crudjsx/crud-policy","description":"NestJs CRUD for RESTful APIs - policy","version":"2.0.2","license":"MIT","main":"lib/index.js","typings":"lib/index.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"https://gitee.com/crudjsx/nestjs-crud"},"bugs":{"url":"https://gitee.com/crudjsx/nestjs-crud/issues"},"keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"dependencies":{"@crudjsx/crud":"^2.0.2"},"scripts":{"build":"npx tsc -b"},"gitHead":"1015014d3dab7ede3ee49b345142b3ee94479915","_id":"@crudjsx/crud-policy@2.0.2","_nodeVersion":"22.14.0","_npmVersion":"lerna/9.0.0/node@v22.14.0+x64 (win32)","dist":{"integrity":"sha512-DmXmzMNpRdXTtg8i7z6ZHiARTo/ZlZkWklvg+tiXTds8eIl0ostW6n1bEPYxz1HcSTgyq4i+mjq3AqADdxzHBw==","shasum":"3f71df159e1dc830cdc266672276ac92fde4c59e","tarball":"https://registry.npmjs.org/@crudjsx/crud-policy/-/crud-policy-2.0.2.tgz","fileCount":33,"unpackedSize":65668,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAVeJ1b/oQlaH7RTRKluvH7P7eaDxunmjPkqK4Qm5XdeAiAn2fMpcezWTJFm0wqYcEFxzLQiBMscztszVA+73AzFAw=="}]},"_npmUser":{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"},"directories":{},"maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crud-policy_2.0.2_1772617049290_0.2908301716634909"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-29T05:28:23.998Z","modified":"2026-03-04T09:37:29.560Z","1.0.12":"2025-10-29T05:28:24.270Z","1.0.13":"2025-10-29T06:09:03.186Z","1.0.14":"2025-10-29T06:13:42.398Z","1.0.15":"2025-10-31T09:02:33.469Z","2.0.2":"2026-03-04T09:37:29.424Z"},"bugs":{"url":"https://gitee.com/crudjsx/nestjs-crud/issues"},"author":{"name":"rongyao","email":"zbrongyaozb@qq.com"},"license":"MIT","keywords":["typescript","typeorm","nest","nestjs","rest","restful","api","crud","crud-generator","policies","authorization"],"repository":{"type":"git","url":"https://gitee.com/crudjsx/nestjs-crud"},"description":"NestJs CRUD for RESTful APIs - policy","maintainers":[{"name":"zbrongyaozb","email":"zbrongyaozb@qq.com"}],"readme":"<div align=\"center\">\n  <h1>CRUD (@crudjsx/crud)</h1>\n</div>\n<div align=\"center\">\n  <strong>for RESTful APIs built with NestJs</strong>\n</div>\n<br/>\n<div align=\"center\">\n  <img src=\"https://gravatar.com/avatar/c27e8ebbf92f687180aa0f13dab9a0b1?size=256\" alt=\"Logo crudjsx\" style=\"border-radius:100%\"/>\n</div>\n\n<br />\n\n<div align=\"center\">\n  <a href=\"https://gitee.com/crudjsx/nestjs-crud/blob/master/LICENSE\">\n    <img src=\"https://img.shields.io/github/license/crudjsx/nestjs-crud.svg\" alt=\"License\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@crudjsx/crud\">\n    <img src=\"https://img.shields.io/npm/v/@crudjsx/crud.svg\" alt=\"npm version\" />\n  </a>\n  <a href=\"https://www.npmjs.com/org/crudjsx\">\n    <img src=\"https://img.shields.io/npm/dm/@crudjsx/crud.svg\" alt=\"npm downloads\" />\n  </a>\n  <a href=\"https://renovatebot.com/\">\n    <img src=\"https://img.shields.io/badge/renovate-enabled-brightgreen.svg\" alt=\"Renovate\" />\n  </a>\n  <a href=\"http://makeapullrequest.com\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\" alt=\"PRs welcome\" />\n  </a>\n</div>\n\n<div align=\"center\">\n  <sub>Built by\n  <a href=\"https://twitter.com/MichaelYali\">@MichaelYali</a> and\n  <a href=\"https://crudjsx.nl\">crudjsx</a> and\n  <a href=\"https://gitee.com/crudjsx/nestjs-crud/graphs/contributors\">\n    Contributors\n  </a>\n</div>\n\n<br />\n\nWe believe that everyone who's working with NestJs and building some RESTful services and especially some CRUD functionality will find `@crudjsx/crud` microframework very useful.\n\n## Features\n\n<img align=\"right\" src=\"https://raw.githubusercontent.com/gid-oss/dataui-nestjs-crud/master/img/crud-usage2.png\" alt=\"CRUD usage\" />\n\n- Super easy to install and start using the full-featured controllers and services :point_right:\n\n- DB and service agnostic extendable CRUD controllers\n\n- Reach query parsing with filtering, pagination, sorting, relations, nested relations, cache, etc.\n\n- Framework agnostic package with query builder for a frontend usage\n\n- Query, path params and DTOs validation included\n\n- Overriding controller methods with ease\n\n- Tiny config (including globally)\n\n- Additional helper decorators\n\n- Swagger documentation\n\n## Install\n\n```shell\nnpm i @crudjsx/crud class-transformer class-validator\n```\n\n## Packages\n\n- [**@crudjsx/crud**](https://www.npmjs.com/package/@crudjsx/crud) - core package which provides `@Crud()` decorator for endpoints generation, global configuration, validation, helper decorators ([docs](https://gid-oss.github.io/dataui-nestjs-crud/controllers/#description))\n- [**@crudjsx/crud-request**](https://www.npmjs.com/package/@crudjsx/crud-request) - request builder/parser package which provides `RequestQueryBuilder` class for a frontend usage and `RequestQueryParser` that is being used internally for handling and validating query/path params on a backend side ([docs](https://gid-oss.github.io/dataui-nestjs-crud/requests/#frontend-usage))\n- [**@crudjsx/crud-typeorm**](https://www.npmjs.com/package/@crudjsx/crud-typeorm) - TypeORM package which provides base `TypeOrmCrudService` with methods for CRUD database operations ([docs](https://gid-oss.github.io/dataui-nestjs-crud/service-typeorm/))\n\n## Documentation\n\n- [General Information](https://gid-oss.github.io/dataui-nestjs-crud/)\n- [CRUD Controllers](https://gid-oss.github.io/dataui-nestjs-crud/controllers/#description)\n- [CRUD ORM Services](https://gid-oss.github.io/dataui-nestjs-crud/services/)\n- [Handling Requests](https://gid-oss.github.io/dataui-nestjs-crud/requests/#description)\n\n## Support\n\nAny support is welcome. At least you can give us a star.\n\n## Contributors\n\n### Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\n### Financial Contributors\n\n#### Organizations\n\nCurrently this project is sponsored and maintained by N4IT. Get in touch if you want to become a sponsor.\n\n## License\n\n[GPL-3.0](LICENSE)","readmeFilename":"README.md"}