UNPKG

@myfunc/prisma-transactional

Version:

Decorator that wraps all prisma queries along the whole call stack to a single transaction.

45 lines (44 loc) 1.05 kB
{ "name": "@myfunc/prisma-transactional", "version": "0.3.0", "author": "myfunc", "description": "Decorator that wraps all prisma queries along the whole call stack to a single transaction.", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/myfunc/prisma-transactional.git" }, "publishConfig": { "access": "public" }, "keywords": [ "prisma", "@prisma/client", "nest", "nestjs", "extension", "transactional", "transaction", "prisma-transactional", "prisma-transaction" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc" }, "peerDependencies": { "@prisma/client": ">=5.0.0", "nestjs-cls": "^4.3.0" }, "devDependencies": { "@prisma/client": ">=5.0.0", "@types/node": "^20.12.11", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "eslint": "^8.57.0", "eslint-plugin-local": "^4.2.2", "prisma": "latest", "typescript": "4.9.4" } }