@inixiative/json-rules 2.18.4 → 2.19.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/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;