Skip to content

@nestarc/soft-delete import paths ​

API reference for @nestarc/soft-delete 0.7.6. Prisma soft-delete with relation filters, cascade, bulk restore, purge, events, and optional atomic audit lifecycles.

Start here ​

Install the documented release with npm install @nestarc/[email protected]. Follow Installation for peer dependencies and application setup, then read Restore and purge for usage decisions and examples.

Choose an import path below to find its exported signatures and types. The root package contains the main application APIs; named subpaths group the additional integrations and utilities. The reference is generated from the published release, with source links pinned to its commit.

Modules ​

  • @nestarc/soft-delete — Create the Prisma soft-delete extension and register SoftDeleteModule. Includes query-scope decorators, cascade and relation-filter options, service methods, and deletion lifecycle events.
  • @nestarc/soft-delete/testing — Register TestSoftDeleteModule and use shared query-scope helpers with root imports in the same module format (CommonJS or ESM). Since 0.7.5, service tokens and context are shared and cascade configuration is honored. Use raw database delegates for deletion assertions; see the application testing guide.

Documentation site: MIT License. Check each package for its license.