pocketbase-zod-schema 0.2.0 → 0.2.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.
@@ -1553,11 +1553,8 @@ function buildFieldDefinition(fieldName, zodType) {
1553
1553
  // Default to false, can be configured later
1554
1554
  };
1555
1555
  if (fieldDef.options) {
1556
- const { min, max, pattern, ...relationSafeOptions } = fieldDef.options;
1557
- console.log("min", min);
1558
- console.log("max", max);
1559
- console.log("pattern", pattern);
1560
- fieldDef.options = Object.keys(relationSafeOptions).length > 0 ? relationSafeOptions : void 0;
1556
+ const { min: _min, max: _max, pattern: _pattern, ...relationSafeOptions } = fieldDef.options;
1557
+ fieldDef.options = Object.keys(relationSafeOptions).length ? relationSafeOptions : void 0;
1561
1558
  }
1562
1559
  }
1563
1560
  return fieldDef;