zenstack
zenstack copied to clipboard
Typescript toolkit on top of Prisma ORM, offering flexible and declarative Access Control Policy(Authorization/Permission) for RBAC/ABAC/PBAC/ReBAC with auto-generated type-safe APIs and frontend hook...
Reported by VT01 on discord. ```ts import { ZenStackMiddleware } from '@zenstackhq/server/express'; ``` ``` Error: SyntaxError: Named export 'ZenStackMiddleware' not found. The requested module '@zenstackhq/server/express' is a CommonJS module, which...
**Is your feature request related to a problem? Please describe.** I'm building a Next.js app and using zenstack + react-query hooks. I want to prefetch a query when hovering over...
**Is your feature request related to a problem? Please describe.** When developing complex access policies or validation a single zmodel can quickly get very chaotic. **Describe the solution you'd like**...
**Summary:** This feature request is for the addition of a password decryption service within our project's API. The purpose is to enable secure and efficient communication with external services that...
Firstly, I appreciate the work you put on this library to make prisma way more easier to work with on frontend side. I'm currently trying to refactor an existing app...
In order to DRY up the configuration, consider using the default schema location defined in `package.json` for `prisma.schema` unless `zenstack.prisma` is specified. ### Currently **package.json** ```json { "zenstack": { "schema":...
## Background Current pattern: https://zenstack.dev/blog/soft-delete But it has some limitations: - You can't call the regular `delete` method - `onDelete` referential actions don't work ## Proposed Solution The thought is...
**Is your feature request related to a problem? Please describe.** Extension of the `import` utility to enable user to import from `node_modules` folders, enabling the ability to extend from external...