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.
@@ -1315,11 +1315,8 @@ function buildFieldDefinition(fieldName, zodType) {
1315
1315
  // Default to false, can be configured later
1316
1316
  };
1317
1317
  if (fieldDef.options) {
1318
- const { min, max, pattern, ...relationSafeOptions } = fieldDef.options;
1319
- console.log("min", min);
1320
- console.log("max", max);
1321
- console.log("pattern", pattern);
1322
- fieldDef.options = Object.keys(relationSafeOptions).length > 0 ? relationSafeOptions : void 0;
1318
+ const { min: _min, max: _max, pattern: _pattern, ...relationSafeOptions } = fieldDef.options;
1319
+ fieldDef.options = Object.keys(relationSafeOptions).length ? relationSafeOptions : void 0;
1323
1320
  }
1324
1321
  }
1325
1322
  return fieldDef;