Utils to crud
npm install @smartsoft001/crud-shell-nestjsnpm i @smartsoft001/crud-shell-nestjs
forRoot(options) — Registers controllers, providers, and imports required modules with the given configuration.forRoot(options) — Registers providers and imports required modules with the given configuration.| POST / | create — Creates a new entity. Returns the new entity's ID. |
| POST /bulk | createMany — Creates multiple entities in bulk. |
| GET /:id | readById — Retrieves an entity by its ID. |
| GET / | read — Retrieves a list of entities with filtering, CSV, and XLSX export support. |
| PUT /:id | update — Updates an entity by its ID. |
| PATCH /:id | updatePartial — Partially updates an entity by its ID. |
| DELETE /:id | delete — Deletes an entity by its ID. |
| POST /attachments | uploadAttachment — Uploads an attachment for an entity. |
| GET /attachments/:id | downloadAttachment — Downloads an attachment by its ID. |
| DELETE /attachments/:id | deleteAttachment — Deletes an attachment by its ID. |
| changes (WebSocket) | handleFilter — Subscribes to changes for entities and streams updates to the client. |