UNPKG
@casl/prisma
Version:
alpha (2.0.0-alpha.3)
latest (2.0.1)
next (2.0.0-rc)
2.0.1
2.0.0
2.0.0-rc
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.6.2
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha.2
1.0.0-alpha.1
Allows to query accessible records using Prisma client based on CASL rules
casl.js.org
stalniy/casl
@casl/prisma
/
dist
/
types
/
prisma
/
interpretPrismaQuery.d.ts
3 lines
(2 loc)
•
135 B
TypeScript
View Raw
1
2
3
import
{
Condition
,
type
Interpreter
}
from
'@ucast/core'
;
export
declare
const
interpretPrismaQuery
:
Interpreter
<
Condition
,
boolean
>;