@inixiative/json-rules 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +11 -6
package/README.md
CHANGED
|
@@ -601,8 +601,8 @@ its base lens. `toSql` takes it the same way. Passing both throws.
|
|
|
601
601
|
|
|
602
602
|
```ts
|
|
603
603
|
const plan = toPrisma(rule, { lens: narrowing, now });
|
|
604
|
-
//
|
|
605
|
-
//
|
|
604
|
+
// Gated by the lens, narrowed by it with each bare value `path` read as your `context` (narrowRule
|
|
605
|
+
// alone would resolve it as a column), then compiled against the base lens's map and model.
|
|
606
606
|
const where = await executePrismaPlan(plan, prisma);
|
|
607
607
|
```
|
|
608
608
|
|