@inixiative/json-rules 2.18.4 → 2.19.0
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 +25 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -428,6 +428,12 @@ type FieldMapEntry = {
|
|
|
428
428
|
kind: 'scalar' | 'object' | 'enum' | 'bridge';
|
|
429
429
|
type: string;
|
|
430
430
|
isList?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* Whether the column is NOT NULL. `toPrisma` reads this to decide if a negated
|
|
433
|
+
* operator needs an explicit `equals: null` arm (Prisma's `not`/`notIn` follow SQL
|
|
434
|
+
* three-valued logic and drop NULL rows); absent = unknown = no arm.
|
|
435
|
+
*/
|
|
436
|
+
isRequired?: boolean;
|
|
431
437
|
fromFields?: string[];
|
|
432
438
|
toFields?: string[];
|
|
433
439
|
relationName?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -428,6 +428,12 @@ type FieldMapEntry = {
|
|
|
428
428
|
kind: 'scalar' | 'object' | 'enum' | 'bridge';
|
|
429
429
|
type: string;
|
|
430
430
|
isList?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* Whether the column is NOT NULL. `toPrisma` reads this to decide if a negated
|
|
433
|
+
* operator needs an explicit `equals: null` arm (Prisma's `not`/`notIn` follow SQL
|
|
434
|
+
* three-valued logic and drop NULL rows); absent = unknown = no arm.
|
|
435
|
+
*/
|
|
436
|
+
isRequired?: boolean;
|
|
431
437
|
fromFields?: string[];
|
|
432
438
|
toFields?: string[];
|
|
433
439
|
relationName?: string;
|